Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created October 21, 2013 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmcw/7090160 to your computer and use it in GitHub Desktop.
Save tmcw/7090160 to your computer and use it in GitHub Desktop.
URL: http://tasks.openstreetmap.us/oauth_callback?oauth_token=Cw1nb7v7ufIcFZrdKZwpNYJaQtFwpxBmu7dAsKT3&oauth_verifier=g3Dm9wlDn1stkBlfkK7I
File '/home/iandees/.virtualenvs/osmtaskingmanager/local/lib/python2.7/site-packages/WebError-0.10.3-py2.7.egg/weberror/errormiddleware.py', line 242 in next
return self.app_iterator.next()
File '/home/iandees/.virtualenvs/osmtaskingmanager/local/lib/python2.7/site-packages/repoze.tm2-2.0-py2.7.egg/repoze/tm/__init__.py', line 58 in __call__
reraise(type_, value, tb)
File '/home/iandees/.virtualenvs/osmtaskingmanager/local/lib/python2.7/site-packages/repoze.tm2-2.0-py2.7.egg/repoze/tm/__init__.py', line 51 in __call__
for chunk in self.application(environ, save_status_and_headers):
File '/home/iandees/.virtualenvs/osmtaskingmanager/local/lib/python2.7/site-packages/pyramid-1.4.3-py2.7.egg/pyramid/router.py', line 251 in __call__
response = self.invoke_subrequest(request, use_tweens=True)
File '/home/iandees/.virtualenvs/osmtaskingmanager/local/lib/python2.7/site-packages/pyramid-1.4.3-py2.7.egg/pyramid/router.py', line 227 in invoke_subrequest
response = handle_request(request)
File '/home/iandees/.virtualenvs/osmtaskingmanager/local/lib/python2.7/site-packages/pyramid-1.4.3-py2.7.egg/pyramid/tweens.py', line 21 in excview_tween
response = handler(request)
File '/home/iandees/.virtualenvs/osmtaskingmanager/local/lib/python2.7/site-packages/pyramid-1.4.3-py2.7.egg/pyramid/router.py', line 161 in handle_request
response = view_callable(context, request)
File '/home/iandees/.virtualenvs/osmtaskingmanager/local/lib/python2.7/site-packages/pyramid-1.4.3-py2.7.egg/pyramid/config/views.py', line 377 in viewresult_to_response
result = view(context, request)
File '/home/iandees/.virtualenvs/osmtaskingmanager/local/lib/python2.7/site-packages/pyramid-1.4.3-py2.7.egg/pyramid/config/views.py', line 493 in _requestonly_view
response = view(request)
File '/var/www/tasks.openstreetmap.us/OSMTM/views/views.py', line 77 in oauth_callback
if request.params.get('oauth_token') != request_token['oauth_token']:
TypeError: 'NoneType' object has no attribute '__getitem__'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment