Forums

Always on task doesn't work correctly

I have a telegram bot on my app. Before I bought the upgraded, I tested it a lot, and it worked correctly. But after I upload it to "always on task" it has some problems. Sometimes it ignores commands, answers, and e.t.c. But when I start it at just the default console, which can not run non stop it works correctly. Is it because my upgraded app is not enough?

Oh, sorry, didn't see the mistake. It shows "PermissionError: [Errno 13] Permission denied: '../media'". But anyway it works on the default console, but not always on task.

The most likely cause of that is that you are not paying attention to your working directory. See https://help.pythonanywhere.com/pages/NoSuchFileOrDirectory/