Skip to content

Instantly share code, notes, and snippets.

@cocoatomo
Created April 5, 2012 12:55
Show Gist options
  • Save cocoatomo/2310864 to your computer and use it in GitHub Desktop.
Save cocoatomo/2310864 to your computer and use it in GitHub Desktop.
127.0.0.1 - - [05/Apr/2012 21:54:14] "GET /download HTTP/1.1" 500 -
Traceback (most recent call last):
File "/Users/kinebuchi/.virtualenvs/worktime/lib/python2.7/site-packages/flask/app.py", line 1518, in __call__
return self.wsgi_app(environ, start_response)
File "/Users/kinebuchi/.virtualenvs/worktime/lib/python2.7/site-packages/flask/app.py", line 1506, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/Users/kinebuchi/.virtualenvs/worktime/lib/python2.7/site-packages/flask/app.py", line 1504, in wsgi_app
response = self.full_dispatch_request()
File "/Users/kinebuchi/.virtualenvs/worktime/lib/python2.7/site-packages/flask/app.py", line 1264, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/kinebuchi/.virtualenvs/worktime/lib/python2.7/site-packages/flask/app.py", line 1160, in handle_user_exception
handlers = self.error_handler_spec.get(request.blueprint)
File "/Users/kinebuchi/.virtualenvs/worktime/lib/python2.7/site-packages/werkzeug/local.py", line 336, in __getattr__
return getattr(self._get_current_object(), name)
File "/Users/kinebuchi/.virtualenvs/worktime/lib/python2.7/site-packages/werkzeug/local.py", line 295, in _get_current_object
return self.__local()
File "/Users/kinebuchi/.virtualenvs/worktime/lib/python2.7/site-packages/flask/globals.py", line 19, in _lookup_object
raise RuntimeError('working outside of request context')
RuntimeError: working outside of request context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment