Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traceback #1

Closed
a-malinov opened this issue Oct 19, 2016 · 1 comment
Closed

Traceback #1

a-malinov opened this issue Oct 19, 2016 · 1 comment

Comments

@a-malinov
Copy link

Traceback (most recent call last):
File "/root/landing/lib/python2.7/site-packages/flask/app.py", line 2000, in call
return self.wsgi_app(environ, start_response)
File "/root/landing/lib/python2.7/site-packages/flask/app.py", line 1991, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/root/landing/lib/python2.7/site-packages/flask/app.py", line 1567, in handle_exception
reraise(exc_type, exc_value, tb)
File "/root/landing/lib/python2.7/site-packages/flask/app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "/root/landing/lib/python2.7/site-packages/flask/app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/landing/lib/python2.7/site-packages/flask/app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/root/landing/lib/python2.7/site-packages/flask/app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "/root/landing/lib/python2.7/site-packages/flask_debugtoolbar/init.py", line 125, in dispatch_request
return view_func(**req.view_args)
File "/root/landing/project/main/views.py", line 41, in index
return render_template('main/index.html', form=form)
File "/root/landing/lib/python2.7/site-packages/flask/templating.py", line 134, in render_template
context, ctx.app)
File "/root/landing/lib/python2.7/site-packages/flask/templating.py", line 116, in _render
rv = template.render(context)
File "/root/landing/lib/python2.7/site-packages/jinja2/environment.py", line 989, in render
return self.environment.handle_exception(exc_info, True)
File "/root/landing/lib/python2.7/site-packages/jinja2/environment.py", line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File "/root/landing/project/templates/main/index.html", line 1, in top-level template code
{% extends "_base.html" %}
File "/root/landing/project/templates/_base.html", line 17, in top-level template code
{% include "navigation.html" %}
File "/root/landing/project/templates/navigation.html", line 17, in top-level template code
{% if current_user.is_authenticated() %}
AttributeError: 'bool' object has no attribute 'call'

@mjhea0
Copy link
Owner

mjhea0 commented Oct 20, 2016

the fix is in this thread -> lingthio/Flask-User-starter-app#9. if you do fix it can you please submit a pr! 👍

@mjhea0 mjhea0 closed this as completed Oct 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants