probability command raises UnicodeDecodeError exception

Bug #576161 reported by Clóvis Fabrício
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
infobat
Fix Released
Undecided
Clóvis Fabrício

Bug Description

2010-05-05 21:57:48-0300 [-] FROM 1: 2010-05-05 21:57:48-0300 [-] Unhandled Error
2010-05-05 21:57:48-0300 [-] FROM 1: Traceback (most recent call last):
2010-05-05 21:57:48-0300 [-] FROM 1: File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 371, in _runCallbacks
2010-05-05 21:57:48-0300 [-] FROM 1: self.result = callback(self.result, *args, **kw)
2010-05-05 21:57:48-0300 [-] FROM 1: File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 879, in gotResult
2010-05-05 21:57:48-0300 [-] FROM 1: _inlineCallbacks(r, g, deferred)
2010-05-05 21:57:48-0300 [-] FROM 1: File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 823, in _inlineCallbacks
2010-05-05 21:57:48-0300 [-] FROM 1: result = g.send(result)
2010-05-05 21:57:48-0300 [-] FROM 1: File "/usr/local/lib/python2.6/dist-packages/ampirc.py", line 383, in handleCommand
2010-05-05 21:57:48-0300 [-] FROM 1: proto.handleCommand(cmd, prefix, params)
2010-05-05 21:57:48-0300 [-] FROM 1: --- <exception caught here> ---
2010-05-05 21:57:48-0300 [-] FROM 1: File "/usr/lib/python2.6/dist-packages/twisted/words/protocols/irc.py", line 2331, in handleCommand
2010-05-05 21:57:48-0300 [-] FROM 1: method(prefix, params)
2010-05-05 21:57:48-0300 [-] FROM 1: File "/usr/lib/python2.6/dist-packages/twisted/words/protocols/irc.py", line 1815, in irc_PRIVMSG
2010-05-05 21:57:48-0300 [-] FROM 1: self.privmsg(user, channel, message)
2010-05-05 21:57:48-0300 [-] FROM 1: File "infobat/irc.py", line 265, in privmsg
2010-05-05 21:57:48-0300 [-] FROM 1: command_func(target, channel_obj, *s_command[1:])
2010-05-05 21:57:48-0300 [-] FROM 1: File "infobat/irc.py", line 534, in infobat_probability
2010-05-05 21:57:48-0300 [-] FROM 1: min(probabilities) * 100, max(probabilities) * 100)
2010-05-05 21:57:48-0300 [-] FROM 1: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 27: ordinal not in range(128)

Revision history for this message
Clóvis Fabrício (nosklo) wrote :

Hm, I can't create bug reports on branches. Good to know.

Changed in infobat:
assignee: nobody → Clóvis Fabrício (nosklo)
status: New → In Progress
tags: added: branch
Revision history for this message
Clóvis Fabrício (nosklo) wrote :

I can't close it either - AAaaagh

Revision history for this message
Clóvis Fabrício (nosklo) wrote :

This bug only affects the gettext-translations-1 branch which hasn't been merged yet. The bug has been fixed already, and the fix is already commited to the branch, but I can't close the bug or associate it with the branch.

tags: added: translations
removed: branch easy
tags: added: gettext
removed: translations
Changed in infobat:
status: In Progress → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.