WispByte Running a Stale or Different Copy of My Python File

Posted by user_3ar9d3 in bugs.

Hi, I’m having an issue with my Python Discord bot. WispByte is reporting this error when the server starts: The problem is that the ai.py file currently shown in my WispByte file manager does not have that import on line 15. Line 15 in the file I can see is: The import in my current file is: The installed package is also: So it looks like the server may be executing an older/stale/different copy of /home/container/rrr bot/services/ai.py, or something may be replacing the file before Python starts. The server is also using Python 3.11.16. Is there a way to check whether WispByte is running a cached/stale copy of the file, or whether an automatic deployment/Git update is overwriting it? I can’t easily run shell commands because my bot has a startup password system and the process crashes during startup before I can use the console normally. Any help would be appreciated. Thanks!

Replies

vynqis

re upload the ai.py file check your GitHub repo if you have pushed the old file

Wispbyte Community Forum