Forums

Error log doesn't show current error.

Hi,

I got an 500 internal error on my web app, but after I check my error log file https://www.pythonanywhere.com/user/ac78/files/var/log/ac78.pythonanywhere.com.error.log the output is something like this

2018-05-18 17:02:59,903: Error running WSGI application 2018-05-18 17:02:59,905: File "/var/www/ac78_pythonanywhere_com_wsgi.py", line 17 2018-05-18 17:02:59,905: 2018-05-18 17:02:59,905: application.run() 2018-05-18 17:02:59,905: 2018-05-18 17:02:59,905: ^ 2018-05-18 17:02:59,905: 2018-05-18 17:02:59,905: IndentationError: unexpected indent 2018-05-18 17:02:59,905: ******* 2018-05-18 17:02:59,906: If you're seeing an import error and don't know why, 2018-05-18 17:02:59,906: we have a dedicated help page to help you debug: 2018-05-18 17:02:59,906: https://help.pythonanywhere.com/pages/DebuggingImportError/ 2018-05-18 17:02:59,906: ******* 2018-05-18 17:03:22,369: Error running WSGI application 2018-05-18 17:03:22,369: File "/var/www/ac78_pythonanywhere_com_wsgi.py", line 17 2018-05-18 17:03:22,369: 2018-05-18 17:03:22,369: application.run() 2018-05-18 17:03:22,370: 2018-05-18 17:03:22,370: ^ 2018-05-18 17:03:22,370: 2018-05-18 17:03:22,370: IndentationError: unexpected indent 2018-05-18 17:03:22,370: ******* 2018-05-18 17:03:22,370: If you're seeing an import error and don't know why, 2018-05-18 17:03:22,370: we have a dedicated help page to help you debug: 2018-05-18 17:03:22,370: https://help.pythonanywhere.com/pages/DebuggingImportError/ 2018-05-18 17:03:22,371: *******

it doesn't show any current error related to my error (500 internal error) instead of weird output.

Thanks.

Sorry about that! We did some system maintenance last night -- it was finished at 00:20, about seven hours before your post, but it looks like there were some logging problems afterwards that we didn't pick up on. Everything should be OK as of 09:30 UTC (about three hours ago). The error you've posted above is from a few days ago -- hopefully the new, correct error message will be showing now.