Bug 27561

Summary: telepathy-butterfly crashed with NameError in on_addressbook_contact_added()
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    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Sebastien Bacher 2010-04-09 06:53:36 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/telepathy-butterfly/+bug/546049

"telepathy-butterfly 0.5.6-1

I have made a new "user@live.dk" mail and then I have ask a girl to add me to her messenger.
But when I recived her request in my Ubuntu (beta edition) there are 100% updatet...then Empathy crash in the same second that I get her request from her live messengee.. Her mail is a @hotmail.com mail adress...

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/papyon/client.py", line 446, in event
    self._dispatch(method_name, *event_args)
  File "/usr/lib/pymodules/python2.6/papyon/event/__init__.py", line 44, in _dispatch
    if event_handler._dispatch_event(name, *args):
  File "/usr/lib/pymodules/python2.6/papyon/event/__init__.py", line 65, in _dispatch_event
    handler(*params)
  File "/usr/lib/python2.6/dist-packages/butterfly/capabilities.py", line 63, in on_addressbook_contact_added
    if contact.is_member(Membership.FORWARD):
NameError: global name 'Membership' is not defined


http://launchpadlibrarian.net/41840603/butterfly.log
Log file from this crash

And I forgot to tell that I newer get a chance for to add her to my messenger after this crash.

http://launchpadlibrarian.net/41840641/Empathy.log
Log file from this crash

http://launchpadlibrarian.net/41840692/mission-control.log
mission-control.log

http://launchpadlibrarian.net/41840696/Salut.log
Salut.log

http://launchpadlibrarian.net/41840707/butterfly.log
Butterfly.log

http://launchpadlibrarian.net/41840818/Empathy.log
Empathy.log
..."
Comment 1 Jonny Lamb 2010-04-09 08:31:48 UTC
A typo that was fixed in 3f951cb9 and first released in 0.5.7.

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.