I've seen this same question in the forum a few times but nothing clear in terms of a solution? I just started using PythonAnywhere and trying to debug when the error log isn't updated for hours is a real pain the butt. Any solution available?
I've seen this same question in the forum a few times but nothing clear in terms of a solution? I just started using PythonAnywhere and trying to debug when the error log isn't updated for hours is a real pain the butt. Any solution available?
We need more details to help you. Could you describe what you are doing and what you expect?
I have a python app using flask to generate map projections and great circle paths on those projections. The output is a .png file which is supposed to get written to the home directory, but it's not. So I look at the error log to get some information as to where this is going wrong. I then see as a regular pattern that the last record in the error log is several hours old. I then give up and take the dog for walk... Run the app again and check the log... Still no updates. I then give up again and cook dinner... After dinner, washing up, etc... I run the app again and check the error log... Still not up-to-date. I got to bed and sleep... Next morning, I notice the last record in the error log is now more up-to-date... so I run the App but no new records are observed in the error log and the Groundhog Day begins again.
Ok, I found the issue. It was to do with a bug in my python code such that a POST wasn't being executed and I suppose therefore that it never got far enough in the scheme of things for errors to be posted to the error log.
Glad to hear that you found it!
I have problem with a Flask app, the errorlog dos'nt update
We need more details to help you.
Reoccurring theme.
When is the promised fix going to be put into place?
@obxjack could you be more specific to which promised fix you're referring to?
Hi I am deploying my fast api on PythonAnywhere, but the error log is not updated since it has been more than 3 hours now How much time will it take to update?
Do you expect any errors there?
Hi, I am deploying my fast api on PythonAnywhere, but the error log was last updated yesterday. It was showing an error 2025-08-03 16:33:30,379: Exception on /pdf-to-excel [POST] NameError: name 'zipfile' is not defined
After that, I import the zipfile into my.py file and reload it again and again, then I shut down my laptop and now open it after 24 hours, but still the error log is not updated. And my file is not working on Postman (is this a delay in updating of error causing the file not to work on Postman. Once it updates, it will work on Postman too. please i have to submit this project to my client, and i have very less days left to reach the deadline.
Hi, I am deploying my fast api on PythonAnywhere, but the error log was last updated yesterday. It was showing an error 2025-08-03 16:33:30,379: Exception on /pdf-to-excel [POST] NameError: name 'zipfile' is not defined
After that, I import the zipfile into my.py file and reload it again and again, then I shut down my laptop and now open it after 24 hours, but still the error log is not updated. And my file is not working on Postman (is this a delay in updating of error causing the file not to work on Postman. Once it updates, it will work on Postman too. please i have to submit this project to my client, and i have very less days left to reach the deadline.
If you have fixed it so that it no longer raises that exception, then it will not log it anymore.
Which means I have no more errors to show in the error log, right? But why am I still facing issues when I am testing it on Postman
There is no way for us to tell, since you have not told us anything about what "problems" you are facing when testing with postman.