Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AttributeError
- AttributeError: '_QueryProxy' object has no attribute 'paginate'
- Traceback (most recent call last)
- File "C:\Users\Dwayne Boothe\Documents\Projects\Tutorials\Python\microblog\flask\lib\site-packages\flask\app.py", line 1701, in __call__
- return self.wsgi_app(environ, start_response)
- File "C:\Users\Dwayne Boothe\Documents\Projects\Tutorials\Python\microblog\flask\lib\site-packages\flask\app.py", line 1689, in wsgi_app
- response = self.make_response(self.handle_exception(e))
- File "C:\Users\Dwayne Boothe\Documents\Projects\Tutorials\Python\microblog\flask\lib\site-packages\flask\app.py", line 1687, in wsgi_app
- response = self.full_dispatch_request()
- File "C:\Users\Dwayne Boothe\Documents\Projects\Tutorials\Python\microblog\flask\lib\site-packages\flask\app.py", line 1360, in full_dispatch_request
- rv = self.handle_user_exception(e)
- File "C:\Users\Dwayne Boothe\Documents\Projects\Tutorials\Python\microblog\flask\lib\site-packages\flask\app.py", line 1358, in full_dispatch_request
- rv = self.dispatch_request()
- File "C:\Users\Dwayne Boothe\Documents\Projects\Tutorials\Python\microblog\flask\lib\site-packages\flask\app.py", line 1344, in dispatch_request
- return self.view_functions[rule.endpoint](**req.view_args)
- File "C:\Users\Dwayne Boothe\Documents\Projects\Tutorials\Python\microblog\flask\lib\site-packages\flask_login.py", line 663, in decorated_view
- return func(*args, **kwargs)
- File "C:\Users\Dwayne Boothe\Documents\Projects\Tutorials\Python\microblog\app\views.py", line 22, in index
- posts = g.user.followed_posts().paginate(page, POSTS_PER_PAGE, False)
- AttributeError: '_QueryProxy' object has no attribute 'paginate'
- The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
- To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.
- You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:
- dump() shows all variables in the frame
- dump(obj) dumps all that's known about the object
- Brought to you by DON'T PANIC, your friendly Werkzeug powered traceback interpreter.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement