I am still getting errors and can't get messages, but I have never actually gotten Buzz to work with gwibber from my gmail account. Can someone look at the branch and verify it works for them and perhaps help figure out why it isn't working for me? Here are the errors I am getting:
Gwibber Dispatcher: DEBUG <buzz:receive> Performing operation
Gwibber Dispatcher: ERROR <buzz:receive> Operation failed
Gwibber Dispatcher: DEBUG Traceback:
Traceback (most recent call last):
File "/home/ken/src/gwibber/gwibber-vacuum/gwibber/microblog/dispatcher.py", line 53, in perform_operation
message_data = PROTOCOLS[account["service"]].Client(account)(opname, **args)
File "/home/ken/src/gwibber/gwibber-vacuum/gwibber/microblog/plugins/buzz/__init__.py", line 133, in __call__
return getattr(self, opname)(**args)
File "/home/ken/src/gwibber/gwibber-vacuum/gwibber/microblog/plugins/buzz/__init__.py", line 136, in receive
return self._get("activities/@me/@consumption")
File "/home/ken/src/gwibber/gwibber-vacuum/gwibber/microblog/plugins/buzz/__init__.py", line 121, in _get
request.sign_request(self.sigmethod, self.consumer, self.token)
File "/usr/lib/python2.7/dist-packages/oauth/oauth.py", line 259, in sign_request
self.build_signature(signature_method, consumer, token))
File "/usr/lib/python2.7/dist-packages/oauth/oauth.py", line 263, in build_signature
return signature_method.build_signature(self, consumer, token)
File "/usr/lib/python2.7/dist-packages/oauth/oauth.py", line 642, in build_signature
digest = self._build_digest(oauth_request, consumer, token)
File "/usr/lib/python2.7/dist-packages/oauth/oauth.py", line 637, in _build_digest
hashed = hmac.new(key, raw, sha)
File "/usr/lib/python2.7/hmac.py", line 133, in new
return HMAC(key, msg, digestmod)
File "/usr/lib/python2.7/hmac.py", line 72, in __init__
self.outer.update(key.translate(trans_5C))
TypeError: character mapping must return integer, None or unicode
Thanks for the patch!
I've ported the patch in comment #29 to trunk and push my bzr branch to lp:~ken-vandine/gwibber/lp_626023
I am still getting errors and can't get messages, but I have never actually gotten Buzz to work with gwibber from my gmail account. Can someone look at the branch and verify it works for them and perhaps help figure out why it isn't working for me? Here are the errors I am getting:
Gwibber Dispatcher: DEBUG <buzz:receive> Performing operation ken/src/ gwibber/ gwibber- vacuum/ gwibber/ microblog/ dispatcher. py", line 53, in perform_operation account[ "service" ]].Client( account) (opname, **args) ken/src/ gwibber/ gwibber- vacuum/ gwibber/ microblog/ plugins/ buzz/__ init__. py", line 133, in __call__ ken/src/ gwibber/ gwibber- vacuum/ gwibber/ microblog/ plugins/ buzz/__ init__. py", line 136, in receive "activities/ @me/@consumptio n") ken/src/ gwibber/ gwibber- vacuum/ gwibber/ microblog/ plugins/ buzz/__ init__. py", line 121, in _get sign_request( self.sigmethod, self.consumer, self.token) python2. 7/dist- packages/ oauth/oauth. py", line 259, in sign_request build_signature (signature_ method, consumer, token)) python2. 7/dist- packages/ oauth/oauth. py", line 263, in build_signature method. build_signature (self, consumer, token) python2. 7/dist- packages/ oauth/oauth. py", line 642, in build_signature digest( oauth_request, consumer, token) python2. 7/dist- packages/ oauth/oauth. py", line 637, in _build_digest python2. 7/hmac. py", line 133, in new python2. 7/hmac. py", line 72, in __init__ outer.update( key.translate( trans_5C) )
Gwibber Dispatcher: ERROR <buzz:receive> Operation failed
Gwibber Dispatcher: DEBUG Traceback:
Traceback (most recent call last):
File "/home/
message_data = PROTOCOLS[
File "/home/
return getattr(self, opname)(**args)
File "/home/
return self._get(
File "/home/
request.
File "/usr/lib/
self.
File "/usr/lib/
return signature_
File "/usr/lib/
digest = self._build_
File "/usr/lib/
hashed = hmac.new(key, raw, sha)
File "/usr/lib/
return HMAC(key, msg, digestmod)
File "/usr/lib/
self.
TypeError: character mapping must return integer, None or unicode