Hello Ken!

>From what i understand from this post:

http://boredzo.org/blog/archives/2008-06-16/what-to-do-if-python-
says-%E2%80%9Ccharacter-mapping-must-return-integer-none-or-
unicode%E2%80%9D

the problem is in the input given to the hmac library:

key.translate(trans_5C)

It seams like gwibber stores its account information in unicode format
and the hmac library does not accept unicode characters. A quick and
dirty fix to the error you posted should be encoding the unicode strings
into ASCII text. I have attached a bzr diff to your branch that does
this.

There is no doubt a better solution to this error (maybe storing account
information as ascii instead of unicode?).

** Patch added: "encode access_token and secret_token to ascii text"
   
https://bugs.launchpad.net/ubuntu/+source/gwibber/+bug/626023/+attachment/1905366/+files/gwibber.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/626023

Title:
  Gwibber does not display any messages for Google-Buzz

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to