Currently, when running without credentials, it fails with this traceback:
Unhandled error in Deferred:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 388, in errback
self._startRunCallbacks(fail)
File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 455, in _startRunCallbacks
self._runCallbacks()
File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 1076, in
gotResult
_inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 1018, in
_inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "C:\Python27\lib\site-packages\twisted\python\failure.py", line 349, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "C:\Users\ROBERTO\canonical\no-credentials\ubuntuone\controlpanel\gui\qt\controlpanel.py", line 78, in load
info = yield self.backend.account_info()
File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 1018, in
_inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "C:\Python27\lib\site-packages\twisted\python\failure.py", line 349, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "C:\Users\ROBERTO\canonical\no-credentials\ubuntuone\controlpanel\backend.py", line 98, in inner
result = yield f(*args, **kwargs)
File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 1018, in
_inlineCallbacks
result = result.throwExceptionIntoGenerator(g)
File "C:\Python27\lib\site-packages\twisted\python\failure.py", line 349, in throwExceptionIntoGenerator
return g.throw(self.type, self.value, self.tb)
File "C:\Users\ROBERTO\canonical\no-credentials\ubuntuone\controlpanel\backend.py", line 317, in account_info
account_info = yield self.wc.call_api(ACCOUNT_API)
File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 542, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "C:\Users\ROBERTO\canonical\no-credentials\ubuntuone\controlpanel\web_client\txwebclient.py", line 64, in _call_api_with_creds
add_oauth_headers(headers.__setitem__, method, url, credentials)
File "C:\Users\ROBERTO\canonical\no-credentials\ubuntuone\controlpanel\web_client\__init__.py", line 54, in add_oauth_headers
headers = build_oauth_headers(method, url, credentials)
File "C:\Users\ROBERTO\canonical\no-credentials\ubuntuone\controlpanel\web_client\__init__.py", line 38, in build_oauth_headers
consumer = oauth.OAuthConsumer(credentials["consumer_key"],
exceptions.KeyError: 'consumer_key'
Currently, when running without credentials, it fails with this traceback:
Unhandled error in Deferred: lib\site- packages\ twisted\ internet\ defer.py" , line 388, in errback _startRunCallba cks(fail) lib\site- packages\ twisted\ internet\ defer.py" , line 455, in _startRunCallbacks _runCallbacks( ) lib\site- packages\ twisted\ internet\ defer.py" , line 542, in _runCallbacks current. result, *args, **kw) lib\site- packages\ twisted\ internet\ defer.py" , line 1076, in backs(r, g, deferred) lib\site- packages\ twisted\ internet\ defer.py" , line 1018, in throwExceptionI ntoGenerator( g) lib\site- packages\ twisted\ python\ failure. py", line 349, in throwExceptionI ntoGenerator ROBERTO\ canonical\ no-credentials\ ubuntuone\ controlpanel\ gui\qt\ controlpanel. py", line 78, in load account_ info() lib\site- packages\ twisted\ internet\ defer.py" , line 1018, in throwExceptionI ntoGenerator( g) lib\site- packages\ twisted\ python\ failure. py", line 349, in throwExceptionI ntoGenerator ROBERTO\ canonical\ no-credentials\ ubuntuone\ controlpanel\ backend. py", line 98, in inner lib\site- packages\ twisted\ internet\ defer.py" , line 1018, in throwExceptionI ntoGenerator( g) lib\site- packages\ twisted\ python\ failure. py", line 349, in throwExceptionI ntoGenerator ROBERTO\ canonical\ no-credentials\ ubuntuone\ controlpanel\ backend. py", line 317, in account_info call_api( ACCOUNT_ API) lib\site- packages\ twisted\ internet\ defer.py" , line 542, in _runCallbacks current. result, *args, **kw) ROBERTO\ canonical\ no-credentials\ ubuntuone\ controlpanel\ web_client\ txwebclient. py", line 64, in _call_api_ with_creds oauth_headers( headers. __setitem_ _, method, url, credentials) ROBERTO\ canonical\ no-credentials\ ubuntuone\ controlpanel\ web_client\ __init_ _.py", line 54, in add_oauth_headers headers( method, url, credentials) ROBERTO\ canonical\ no-credentials\ ubuntuone\ controlpanel\ web_client\ __init_ _.py", line 38, in build_oauth_headers umer(credential s["consumer_ key"], KeyError: 'consumer_key'
Traceback (most recent call last):
File "C:\Python27\
self.
File "C:\Python27\
self.
File "C:\Python27\
current.result = callback(
File "C:\Python27\
gotResult
_inlineCall
--- <exception caught here> ---
File "C:\Python27\
_inlineCallbacks
result = result.
File "C:\Python27\
return g.throw(self.type, self.value, self.tb)
File "C:\Users\
info = yield self.backend.
File "C:\Python27\
_inlineCallbacks
result = result.
File "C:\Python27\
return g.throw(self.type, self.value, self.tb)
File "C:\Users\
result = yield f(*args, **kwargs)
File "C:\Python27\
_inlineCallbacks
result = result.
File "C:\Python27\
return g.throw(self.type, self.value, self.tb)
File "C:\Users\
account_info = yield self.wc.
File "C:\Python27\
current.result = callback(
File "C:\Users\
add_
File "C:\Users\
headers = build_oauth_
File "C:\Users\
consumer = oauth.OAuthCons
exceptions.