Forums

error because of a line i didn't wrote

Hello, As error i get :

2021-07-14 15:26:36,166: File "/home/Prcha/iseum/flask_app.py", line 12, in <module> 2021-07-14 15:26:36,166: from flaskblog import create_app

but i didn't wrote any line 12. I am trying blueprint

In my fille File "/home/P rcha/iseum/flask_app.py" I just wrote :

from site import create_app

app = create_app()

if __name__ == '__main__':
    app.run(debug=True)

Thank you

it could be from an old traceback? are you reading the most recent error message?

yes. The message in www.iseum.fr.error.log is still the same.

If that is still happening, then you need to reload your web app from your web app configuration page. Also, make sure that the flask_app.py file that is being used by your web app is that one and not a different one.

Sorry, i think a hunderstand. The old message are on kept in memory at the same place. Thank you

No problem. Glad to help.