Bug 27555

Summary: telepathy-butterfly crashed with KeyError in add_text_capabilities()
Product: Telepathy Reporter: Sebastien Bacher <seb128>
Component: butterflyAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium Keywords: patch
Version: unspecified   
Hardware: Other   
OS: All   
URL: http://git.collabora.co.uk/?p=user/jonny/telepathy-butterfly.git;a=shortlog;h=refs/heads/27555
Whiteboard: review+
i915 platform: i915 features:

Description Sebastien Bacher 2010-04-09 06:29:56 UTC
the bug has been opened on https://bugs.launchpad.net/ubuntu/+source/telepathy-butterfly/+bug/559130 and has one duplicate, both using 0.5.8, did it start with the new version?

"Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/butterfly/util/decorator.py", line 87, in async_function
    func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/butterfly/capabilities.py", line 248, in _populate_capabilities
    self.add_text_capabilities(handles)
  File "/usr/lib/python2.6/dist-packages/butterfly/capabilities.py", line 164, in add_text_capabilities
    old_gen, old_spec = self._caps[handle][ctype]
KeyError: 'org.freedesktop.Telepathy.Channel.Type.Text'"
Comment 2 Jonny Lamb 2010-04-09 08:08:23 UTC
My branch should avoid this.
Comment 3 Olivier Le Thanh Duong 2010-04-09 11:04:32 UTC
hum strange I wonder in which case this happens since it's usually the first capability we add for the contacts.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.