Closed ghost closed 6 years ago
Did you get an answer...? I have the same issue and it would be helpful if you could share your answer.
Hey, for me it was some issue with the variables that were passed to render_template
var1 = ...
var2 = ...
return render_template('your_page.html', var1=var1, var2=var2)
check your variables or try to skip them and see if it works then
No variables, I'm trying to access index.html.
I'll open a new issue.
I have the same issue. Was trying to set up sqlite database with functions to insert data. Fiddling around with it, even dropping the database entirely. Now I can’t even access index.html. Seems to be some sort of issue with the password. No variables at all.
I am getting an error with Python v3.7.1, which I did not get with v3.5.2:
AttributeError: 'NoneType' object has no attribute 'password'
Here is the complete traceback: