Bug 27555 - telepathy-butterfly crashed with KeyError in add_text_capabilities()
Summary: telepathy-butterfly crashed with KeyError in add_text_capabilities()
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: butterfly (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL: http://git.collabora.co.uk/?p=user/jo...
Whiteboard: review+
Keywords: patch
Depends on:
Blocks:
 
Reported: 2010-04-09 06:29 UTC by Sebastien Bacher
Modified: 2010-04-09 11:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.