Skip to content

Instantly share code, notes, and snippets.

@0xjac
Created May 13, 2015
Embed
What would you like to do?
Traceback (most recent call last):
File "/home/jd/.virtualenvs/indico-mobile/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "/home/jd/.virtualenvs/indico-mobile/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/home/jd/.virtualenvs/indico-mobile/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/jd/.virtualenvs/indico-mobile/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/home/jd/.virtualenvs/indico-mobile/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/jd/.virtualenvs/indico-mobile/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/jd/.virtualenvs/indico-mobile/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/home/jd/.virtualenvs/indico-mobile/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/jd/Documents/code/indico-mobile/indicomobile/views/authentication.py", line 41, in oauth_authorized
response = indico.authorized_response()
File "/home/jd/.virtualenvs/indico-mobile/lib/python2.7/site-packages/flask_oauthlib/contrib/client/application.py", line 197, in authorized_response
response = oauth.parse_authorization_response(request.url)
File "/home/jd/.virtualenvs/indico-mobile/lib/python2.7/site-packages/requests_oauthlib/oauth1_session.py", line 321, in parse_authorization_response
self._populate_attributes(token)
File "/home/jd/.virtualenvs/indico-mobile/lib/python2.7/site-packages/requests_oauthlib/oauth1_session.py", line 330, in _populate_attributes
token,
TokenMissing: Response does not contain a token: {u'oauth_verifier': u'dAcEEenXlLp0RwmdQ1tfdcN5eh6ocUqwDDLv0xxR', u'next': u'http://localhost:5000/'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment