@Foppe
That solution doesn't work for me. First it failed because the
HTMLParser constructor doesn't take arguments, so it should be p =
HTMLParser.HTMLParser(). But when I changed it to that I got the
following error message:
Gwibber Dispatcher: ERROR <twitter:receive> Operation failed
Gwibber Dispatcher: DEBUG Traceback:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/gwibber/microblog/dispatcher.py", line
75, in perform_operation
message_data = PROTOCOLS[account["protocol"]].Client(account)(opname,
**args)
File "/usr/lib/python2.6/dist-packages/gwibber/microblog/twitter.py", line
146, in __call__
return getattr(self, opname)(**args)
File "/usr/lib/python2.6/dist-packages/gwibber/microblog/twitter.py", line
149, 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
137, 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
80, in _message
m = self._common(data)
File "/usr/lib/python2.6/dist-packages/gwibber/microblog/twitter.py", line
66, in _common
m["text"] = unescape(data["text"])
File "/usr/lib/python2.6/dist-packages/gwibber/microblog/twitter.py", line
52, in unescape
p.save_bgn()
AttributeError: HTMLParser instance has no attribute 'save_bgn'
It appears that HTMLParser.HTMLParser is not compatible with
htmllib.HTMLParser. You say it works on your system, how is that
possible? Did you make more changes to twitter.py?
--
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe1 in position 0:
unexpected end of data
https://bugs.launchpad.net/bugs/605543
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs