Bug 29764

Summary: telepathy-butterfly crashed with NotImplementedError in __init__()
Product: Telepathy Reporter: Pedro Villavicencio <pvillavi>
Component: papyonAssignee: Louis-Francis Ratté-Boulianne <lfrb>
Status: NEW --- QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Pedro Villavicencio 2010-08-23 12:31:09 UTC
this report has been filed here:

https://bugs.launchpad.net/ubuntu/+source/telepathy-butterfly/+bug/617563

after starting empathy i got this crash report:

"Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/papyon/msnp/base.py", line 107, in _dispatch_command
    handler(command)
  File "/usr/lib/pymodules/python2.6/papyon/msnp/notification.py", line 453, in _handle_NLN
    urllib.unquote(command.arguments[idx]))
  File "/usr/lib/pymodules/python2.6/papyon/p2p.py", line 204, in parse
    result = MSNObject(creator, size, type, location, friendly, shad, shac)
  File "/usr/lib/pymodules/python2.6/papyon/p2p.py", line 133, in __init__
    raise NotImplementedError
NotImplementedError"
Comment 1 Louis-Francis Ratté-Boulianne 2010-08-23 12:42:48 UTC
(In reply to comment #0)

Is it possible to get the log before the crash (Help->Debug in the contact list window, and then select Butterfly in the combo box). This bug seems to be triggered by a contact advertising an empty display picture.

Does the bug happen every time ? Only when a specific contact is connected ?
Comment 2 Pedro Villavicencio 2010-08-23 13:27:50 UTC
Thanks for replying Louis-Francis, the debug log is attached to : https://bugs.launchpad.net/ubuntu/+source/telepathy-butterfly/+bug/617563/+attachment/1513926/+files/telepathy-debug.txt . I can replicate it by closing and reopening empathy, so yes it's probably related to that particular contact :usuario@hotmail.com bash's I've replaced his hotmail username by usuario though. Thanks again.
Comment 3 Louis-Francis Ratté-Boulianne 2010-08-23 13:53:52 UTC
Could you ask your friend what client he (she) is using ? I think the SHAD1 argument of the display picture is incorrectly encoded. Is that Kopete ? Jonny Lamb recently committed a patch to be more robust about that, but it seems there are still some cases we don't handle correctly.

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.