Comment 7 for bug 532952

Revision history for this message
Daniel Wiberg (dannew) wrote :

OK, gwibber-service -d didn't give me anything, but there is some info in ~/.cache/gwibber/gwibber.log, it's definitely the same error.

2010-03-09 09:35:31,206 - Gwibber Dispatcher - ERROR - <twitter:receive> Operation failed
2010-03-09 09:35:31,207 - Gwibber Dispatcher - DEBUG - Traceback:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/dispatcher.py", line 54, in perform_operation
    message_data = PROTOCOLS[account["protocol"]].Client(account)(opname, **args)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/twitter.py", line 139, in __call__
    return getattr(self, opname)(**args)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/twitter.py", line 142, in receive
    return self._get("statuses/home_timeline.json", count=count, since_id=since)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/twitter.py", line 130, in _get
    if parse: return [getattr(self, "_%s" % parse)(m) for m in data]
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/twitter.py", line 77, in _message
    m = self._common(data)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/twitter.py", line 63, in _common
    m["text"] = unescape(data["text"])
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/twitter.py", line 50, in unescape
    p.feed(s)
  File "/usr/lib/python2.6/sgmllib.py", line 104, in feed
    self.goahead(0)
  File "/usr/lib/python2.6/sgmllib.py", line 193, in goahead
    self.handle_entityref(name)
  File "/usr/lib/python2.6/sgmllib.py", line 436, in handle_entityref
    self.handle_data(replacement)
  File "/usr/lib/python2.6/htmllib.py", line 65, in handle_data
    self.savedata = self.savedata + data
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa0 in position 0: unexpected code byte