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?).
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?).