Comment 34 for bug 626023

Revision history for this message
Ken VanDine (ken-vandine) wrote :

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
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