Bug 783476 - [abrt] telepathy-butterfly-0.5.15-3.fc16: text.py:169:_signal_text_received:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 8: ordinal not in range(128)
Summary: [abrt] telepathy-butterfly-0.5.15-3.fc16: text.py:169:_signal_text_received:U...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: telepathy-butterfly
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Pepple
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b1d412dda36c12de9ec5dcb27a0...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-20 15:07 UTC by Alex Villacís Lasso
Modified: 2013-02-13 09:44 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-13 09:44:36 UTC
Type: ---


Attachments (Terms of Use)
Patch that fixes the problem for me (535 bytes, patch)
2012-02-15 23:17 UTC, Alex Villacís Lasso
no flags Details | Diff

Description Alex Villacís Lasso 2012-01-20 15:07:16 UTC
libreport version: 2.0.8
abrt_version:   2.0.7
cmdline:        /usr/bin/python /usr/libexec/telepathy-butterfly
comment:        Login into desktop with pending message from MSN
executable:     /usr/libexec/telepathy-butterfly
kernel:         3.2.0
reason:         text.py:169:_signal_text_received:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 8: ordinal not in range(128)
time:           vie 20 ene 2012 10:06:01 ECT
uid:            1000
username:       alex

backtrace:
:text.py:169:_signal_text_received:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 8: ordinal not in range(128)
:
:Traceback (most recent call last):
:  File "/usr/lib/python2.7/site-packages/papyon/client.py", line 531, in event
:    self._dispatch(method_name, *args[:-1])
:  File "/usr/lib/python2.7/site-packages/papyon/event/__init__.py", line 44, in _dispatch
:    if event_handler._dispatch_event(name, *args):
:  File "/usr/lib/python2.7/site-packages/papyon/event/__init__.py", line 65, in _dispatch_event
:    handler(*params)
:  File "/usr/lib/python2.7/site-packages/butterfly/connection.py", line 480, in on_oim_messages_fetched
:    channel.offline_message_received(message)
:  File "/usr/lib/python2.7/site-packages/butterfly/channel/im.py", line 194, in offline_message_received
:    self._signal_text_received(id, timestamp, handle, type, 0, message.display_name, text)
:  File "/usr/lib/python2.7/site-packages/butterfly/channel/text.py", line 169, in _signal_text_received
:    dbus.String('content'): dbus.String(text)
:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 8: ordinal not in range(128)
:
:Local variables in innermost frame:
:sender: <butterfly.handle.ButterflyContactHandle object at 0x20f1c50>
:text: 'hasta ma\xc3\xb1ana'
:self: <butterfly.channel.im.ButterflyImChannel at /org/freedesktop/Telepathy/Connection/butterfly/msn/alexvillacislasso_40hotmail_2ecom/TextChannel1 at 0x1fcf850>
:sender_nick: u'gamc357'
:headers: dbus.Dictionary({dbus.String(u'pending-message-id'): dbus.UInt32(0L), dbus.String(u'message-received'): dbus.UInt64(1327038624L), dbus.String(u'sender-nickname'): dbus.String(u'gamc357'), dbus.String(u'message-type'): dbus.UInt32(0L), dbus.String(u'message-sender'): dbus.UInt32(29L)}, signature=dbus.Signature('sv'))
:flags: 0
:timestamp: 1327038624.0
:type: 0
:id: 0

Comment 1 Alex Villacís Lasso 2012-02-15 23:14:54 UTC
I believe these are the steps to reproduce:

1) have a Hotmail account for MSN chat
2) configure your Hotmail account, connect to it to check that it works
3) log out of gnome session, so that MSN chat is disconnected
3) while disconnected, have some other MSN account send a message that includes characters beyond ASCII 128 (such as accents or non-Latin text)
4) log into gnome session and set your online status as Active

Expected: no crash
Actual results: crash seen above

Comment 2 Alex Villacís Lasso 2012-02-15 23:17:52 UTC
Created attachment 562351 [details]
Patch that fixes the problem for me

Change directory to /usr/lib/python2.7/site-packages/butterfly/channel
Apply patch to text.py
rm -f text.pyc text.pyo
python text.py && python -O text.py

Comment 3 Fedora End Of Life 2013-01-16 10:50:10 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Fedora End Of Life 2013-02-13 09:44:38 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.