Issue #4283 resolved

debug=True on bitbucketcards.com

Jakub Zalewski
created an issue

{{{

!python

KeyError

KeyError: 'oauth_token_secret' Traceback (most recent call last)

File "/app/lib/python2.7/site-packages/flask/app.py", line 1306, in __call__

return self.wsgi_app(environ, start_response)

File "/app/lib/python2.7/site-packages/flask/app.py", line 1294, in wsgi_app

response = self.make_response(self.handle_exception(e))

File "/app/lib/python2.7/site-packages/flask/app.py", line 1292, in wsgi_app

response = self.full_dispatch_request()

File "/app/lib/python2.7/site-packages/flask/app.py", line 1062, in full_dispatch_request

rv = self.handle_user_exception(e)

File "/app/lib/python2.7/site-packages/flask/app.py", line 1060, in full_dispatch_request

rv = self.dispatch_request()

File "/app/lib/python2.7/site-packages/flask/app.py", line 1047, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)

File "/app/web.py", line 367, in do_authenticate

client = requests.session(hooks={'pre_request': OAuthHook(access_token = oauth_token, access_token_secret = session['oauth_token_secret'], header_auth=True)})

File "/app/lib/python2.7/site-packages/werkzeug/local.py", line 363, in <lambda>

__getitem__ = lambda x, i: x._get_current_object()[i]

KeyError: 'oauth_token_secret'

}}}

This error was raised then I had cookies off.

Comments (1)

  1. Log in to comment