Comment 2 for bug 528759

Revision history for this message
Eric Casteleijn (thisfred) wrote :

The errors in the logs:

  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 751, in _inlineCallbacks
    result = g.send(result)
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/dbus_interface.py", line 1083, in connect
    access_token = self.main.get_access_token()
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/main.py", line 299, in get_access_token
    return self.oauth_client.get_access_token()
  File "/usr/lib/python2.6/dist-packages/ubuntuone/syncdaemon/main.py", line 337, in get_access_token
    return oauth.OAuthToken.from_string(items[0].secret)
  File "/usr/lib/python2.6/dist-packages/oauth/oauth.py", line 142, in from_string
    key = params['oauth_token'][0]
exceptions.KeyError: 'oauth_token'

point to a bug in oauth.py, or the way the syncdaemon calls oauth.py, i.e. with params that don't have the 'oauth_token' key.