Skip to content

Troubleshooting

Pilot1782 edited this page Nov 24, 2022 · 6 revisions

Common Errors

Failed to import _______ No module named _____

Usual fix

run python3.x -m pip install {failed package}


No such file or directory ______

Usual fix

Make sure the paths defined in .env and settings.json are correct. Make sure if you are running this from a terminal that the terminal is in the correct directory or that the supplied directory is correct.


Unclosed Client Session
...

Usual Fix

This shows when the given path is incorrect or when the bot token is left as default or an incorrect value.


General environment variable issues

.env not in project folder

Usual Fix

Try enabling hidden files/folders and if all else fails download the file from the repo here


Environment variables are not what I defined in the .env file

Working Fix

This is currently fix here, copy the code and run it as specified.


Nothing here works

In this case you should try to use the dev-build branch and most of the common problems will be fixed but waiting for it to be tested before getting pushed into main, dev-builds also has more developmental features that can be enabled with the testing flag in the settings.

If all else fails and your issue is not solved, follow this issue to create an issue in which I can help.

Clone this wiki locally