Bug 28934 - telepathy-butterfly crashed with UnicodeDecodeError in _signal_text_received()
Summary: telepathy-butterfly crashed with UnicodeDecodeError in _signal_text_received()
Status: RESOLVED FIXED
Alias: None
Product: papyon
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Louis-Francis Ratté-Boulianne
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-06 13:42 UTC by Pedro Villavicencio
Modified: 2010-08-23 12:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Pedro Villavicencio 2010-07-06 13:42:19 UTC
the report was filed here:

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

"Apport keeps raising warnings about this crash over and over again during an MSN conversation with Empathy on Maverick"

telepathy-butterfly log said:

"papyon/papyon.protocol.switchboard-INFO: 06/07/10 12:39:07.947190: Disconnected
papyon/papyon.transport-DEBUG: 06/07/10 12:39:24.689409: >>> PNG
papyon/papyon.transport-DEBUG: 06/07/10 12:39:24.843189: <<< QNG 42
papyon/papyon.transport-DEBUG: 06/07/10 12:39:42.766274: <<< NLN NLN username@hotmail.com 1 Lete..System%20Failure!!!%20DEJA_Vu-->%20%20Mess%20with%20the%20Best;%20Die%20Like%20the%20Rest!“ 2789003580 %3cmsnobj%20Creator%3d%22username%40hotmail.com%22%20Type%3d%223%22%20SHA1D%3d%220ms5pw%2fbntRiY8jAXZAu%2bf44Ufc%3d%22%20Size%3d%222674%22%20Location%3d%220%22%20Friendly%3d%22MgAwADcANwA1AF8AMQA0ADAAMQA1ADAANwAzADkANwAzADcANwBfADEAMgAyADMAMAA3ADkAMQA5ADQAXwAzADEAMQA3ADYAMAA1ADgAXwAAAA%3d%3d%22%2f%3e
butterfly/presence-INFO: 06/07/10 12:39:42.766985: Contact <ButterflyContactHandle id=35 name='username@hotmail.com'> presence changed to 'NLN'
papyon/papyon.transport-DEBUG: 06/07/10 12:39:42.767514: <<< UBX username@hotmail.com 1 1033
	[payload]
butterfly/presence-INFO: 06/07/10 12:39:42.768047: Contact <ButterflyContactHandle id=35 name='username@hotmail.com'> presence changed to 'NLN'
butterfly/aliasing-INFO: 06/07/10 12:39:42.768312: Contact <ButterflyContactHandle id=35 name='username@hotmail.com'> alias changed to 'Lete..System Failure!!! DEJA_Vu-->  Mess with the Best; Die Like the Rest!“'
stderr-ERROR: 06/07/10 12:46:01.422: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 74: ordinal not in range(128)
papyon/papyon.transport-DEBUG: 06/07/10 12:46:09.852227: <<< MSG username@hotmail.com Lete..System%20Failure!!!%20DEJA_Vu-->%20%20Mess%20with%20the%20Best;%20Die%20Like%20the%20Rest!“ 118
	TypingUser: 'username@hotmail.com'\r\n
	Content-Type: 'text/x-msmsgscontrol'\r\n
	MIME-Version: '1.0'\r\n
	\r\n
	\r\n
butterfly/textchannel-INFO: 06/07/10 12:46:09.852816: User <ButterflyContactHandle id=35 name='username@hotmail.com'> is typing
papyon/papyon.transport-DEBUG: 06/07/10 12:46:11.731398: <<< MSG username@hotmail.com Lete..System%20Failure!!!%20DEJA_Vu-->%20%20Mess%20with%20the%20Best;%20Die%20Like%20the%20Rest!“ 162
	X-MMS-IM-Format: 'FN=Times%20New%20Roman; EF=; CO=0; CS=0; PF=12'\r\n
	Content-Type: 'text/plain; charset=UTF-8'\r\n
	MIME-Version: '1.0'\r\n
	\r\n
	tengo hambre
butterfly/textchannel-INFO: 06/07/10 12:46:11.732040: User <ButterflyContactHandle id=35 name='username@hotmail.com'> sent a message
stderr-ERROR: 06/07/10 12:46:11.735229: Traceback (most recent call last):
stderr-ERROR: 06/07/10 12:46:11.735343:   File "/usr/lib/pymodules/python2.6/papyon/switchboard_manager.py", line 348, in _sb_message_received
stderr-ERROR: 06/07/10 12:46:11.735490:     handler._on_message_received(message)
stderr-ERROR: 06/07/10 12:46:11.735554:   File "/usr/lib/pymodules/python2.6/papyon/conversation.py", line 362, in _on_message_received
stderr-ERROR: 06/07/10 12:46:11.735687:     self._dispatch("on_conversation_message_received", sender, msg)
stderr-ERROR: 06/07/10 12:46:11.735750:   File "/usr/lib/pymodules/python2.6/papyon/event/__init__.py", line 44, in _dispatch
stderr-ERROR: 06/07/10 12:46:11.735831:     if event_handler._dispatch_event(name, *args):
stderr-ERROR: 06/07/10 12:46:11.735893:   File "/usr/lib/pymodules/python2.6/papyon/event/__init__.py", line 65, in _dispatch_event
stderr-ERROR: 06/07/10 12:46:11.735972:     handler(*params)
stderr-ERROR: 06/07/10 12:46:11.736035:   File "/usr/lib/python2.6/dist-packages/butterfly/channel/text.py", line 295, in on_conversation_message_received
stderr-ERROR: 06/07/10 12:46:11.736207:     self._signal_text_received(id, timestamp, handle, type, 0, message.display_name, content)
stderr-ERROR: 06/07/10 12:46:11.736272:   File "/usr/lib/python2.6/dist-packages/butterfly/channel/text.py", line 167, in _signal_text_received
stderr-ERROR: 06/07/10 12:46:11.736370:     headers[dbus.String('sender-nickname')] = dbus.String(sender_nick)
stderr-ERROR: 06/07/10 12:46:11.736444: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 74: ordinal not in range(128)
papyon/papyon.transport-DEBUG: 06/07/10 12:46:12.156076: >>> PNG
papyon/papyon.transport-DEBUG: 06/07/10 12:46:12.313375: <<< QNG 43
papyon/papyon.transport-DEBUG: 06/07/10 12:46:17.64171: <<< MSG username@hotmail.com Lete..System%20Failure!!!%20DEJA_Vu-->%20%20Mess%20with%20the%20Best;%20Die%20Like%20the%20Rest!“ 118
	TypingUser: 'username@hotmail.com'\r\n
	Content-Type: 'text/x-msmsgscontrol'\r\n
	MIME-Version: '1.0'\r\n
	\r\n
	\r\n
butterfly/textchannel-INFO: 06/07/10 12:46:17.64721: User <ButterflyContactHandle id=35 name='username@hotmail.com'> is typing
papyon/papyon.transport-DEBUG: 06/07/10 12:46:18.804887: <<< MSG username@hotmail.com Lete..System%20Failure!!!%20DEJA_Vu-->%20%20Mess%20with%20the%20Best;%20Die%20Like%20the%20Rest!“ 157
	X-MMS-IM-Format: 'FN=Times%20New%20Roman; EF=; CO=0; CS=0; PF=12'\r\n
	Content-Type: 'text/plain; charset=UTF-8'\r\n
	MIME-Version: '1.0'\r\n
	\r\n
	tambien
butterfly/textchannel-INFO: 06/07/10 12:46:18.805529: User <ButterflyContactHandle id=35 name='username@hotmail.com'> sent a message
stderr-ERROR: 06/07/10 12:46:18.808697: Traceback (most recent call last):
stderr-ERROR: 06/07/10 12:46:18.808824:   File "/usr/lib/pymodules/python2.6/papyon/switchboard_manager.py", line 348, in _sb_message_received
stderr-ERROR: 06/07/10 12:46:18.808967:     handler._on_message_received(message)
stderr-ERROR: 06/07/10 12:46:18.809031:   File "/usr/lib/pymodules/python2.6/papyon/conversation.py", line 362, in _on_message_received
stderr-ERROR: 06/07/10 12:46:18.811625:     self._dispatch("on_conversation_message_received", sender, msg)
stderr-ERROR: 06/07/10 12:46:18.811949:   File "/usr/lib/pymodules/python2.6/papyon/event/__init__.py", line 44, in _dispatch
stderr-ERROR: 06/07/10 12:46:18.812247:     if event_handler._dispatch_event(name, *args):
stderr-ERROR: 06/07/10 12:46:18.812541:   File "/usr/lib/pymodules/python2.6/papyon/event/__init__.py", line 65, in _dispatch_event
stderr-ERROR: 06/07/10 12:46:18.812849:     handler(*params)
stderr-ERROR: 06/07/10 12:46:18.813381:   File "/usr/lib/python2.6/dist-packages/butterfly/channel/text.py", line 295, in on_conversation_message_received
stderr-ERROR: 06/07/10 12:46:18.813791:     self._signal_text_received(id, timestamp, handle, type, 0, message.display_name, content)
stderr-ERROR: 06/07/10 12:46:18.814096:   File "/usr/lib/python2.6/dist-packages/butterfly/channel/text.py", line 167, in _signal_text_received
stderr-ERROR: 06/07/10 12:46:18.814421:     headers[dbus.String('sender-nickname')] = dbus.String(sender_nick)
stderr-ERROR: 06/07/10 12:46:18.814724: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 74: ordinal not in range(128)
"
Comment 1 Louis-Francis Ratté-Boulianne 2010-08-23 12:11:27 UTC
Fixed in git master


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.