Forums

Flask Error code: Unhandled Exception

Recently purchased a website built in Python & Flask from someone. They had it hosted here on PythonAnywhere. Figured I would stay with them, so I purchased hosting and started setting up. He sent me all the files and database. Everything is exactly the same. However, Loading the website gives this: https://snap.me/xLhqa9

Only thing is, The error logs (Every one of them) is ALWAYS blank! All consoles show no errors either.

hi- that is because the log files were still linked to the old account. We have reset this for you, so you should be seeing your logs now!

Hi, I have the same problem, how can I solve it?

Which problem exactly? Is your error log empty?

when I run my code it gives the same error Error code: UnhandledException, but this error only exists here on PythonAnywhere

What does it say in your error log? There's a link on the "Web" page, and the most recent error will be at the bottom of the file.