[fortune] decoding error

Bug #374027 reported by Stefano Rivera
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ibid
Fix Released
Low
Stefano Rivera

Bug Description

2009/05/09 11:23:27 <Anarchy> dazzle fortune
2009/05/09 11:23:27 <Dazzle> Anarchy: That didn't go down very well. Burp.

2009-05-09 11:23:27,292 ERROR core.dispatcher: Exception occured in Fortune processor of info plugin
Traceback (most recent call last):
  File "/home/dazzle/ibid/dazzle/ibid/core.py", line 23, in _process
    processor.process(event)
  File "/home/dazzle/ibid/dazzle/ibid/plugins/__init__.py", line 55, in process
    method(event, *match.groups())
  File "/home/dazzle/ibid/dazzle/ibid/plugins/info.py", line 29, in handler
    fortune = self.remote_fortune()
  File "/home/dazzle/ibid/dazzle/ibid/plugins/info.py", line 40, in remote_fortune
    output = unicode_output(output.strip())
  File "/home/dazzle/ibid/dazzle/ibid/utils.py", line 123, in unicode_output
    return unicode(output, encoding, errors)
  File "/usr/lib/python2.5/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 10-12: invalid data

Changed in ibid:
assignee: nobody → Stefano Rivera (stefanor)
status: New → In Progress
Changed in ibid:
status: In Progress → 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.