Skip to content

Instantly share code, notes, and snippets.

@guyjacks
Created May 19, 2015 18:11
Show Gist options
  • Save guyjacks/06aa7ef5894147d8a145 to your computer and use it in GitHub Desktop.
Save guyjacks/06aa7ef5894147d8a145 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/Users/guyjacks/projects/venv/theatertilt/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "/Users/guyjacks/projects/venv/theatertilt/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/Users/guyjacks/projects/venv/theatertilt/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/Users/guyjacks/projects/venv/theatertilt/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/Users/guyjacks/projects/venv/theatertilt/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/guyjacks/projects/venv/theatertilt/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/Users/guyjacks/projects/venv/theatertilt/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/guyjacks/projects/venv/theatertilt/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/Users/guyjacks/projects/theatertilt/theatertilt/views.py", line 110, in test
result = User.query.filter_by(email='nate@test.com').id()
AttributeError: 'Query' object has no attribute 'id'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment