IF YOU ARE HAVING A PROBLEM
- Take a look at the logs in C:\Program Files\CodeProject\AI\logs and see if there's anything in there that screams 'something broke'.
- Check the FAQs in the CodeProject.AI Server documentation
If there's no easy answer, then post a message
describing your setup (paste what's in the System Info tab, please), what you are doing and what you see. Make sure you've tested the server using the Explorer (blue link, top middle of the dashboard) to ensure it's a server issue rather than something else.
Always include a copy and paste from the System Info tab of the dashboard. It gives us a ton of info on your setup. If an individual module is failing, click the 'Info' button to the right of the module's name in the status list and copy and paste that info too.
Here are the latest tips for those having issues installing our latest version. Be sure you're using the latest 2.2.4.
1. You see Python errors complaining about a version compatibility mismatch in urllib.
This is a known issue due to the massive, and conflicting, dependencies in some of the modules, most notably the yolo python modules. It's safe to ignore this error.
2. Object Detection fails: Unable to create YOLO detector for model
Please go to C:\Program Files\CodeProject\AI\modules\ObjectDetectionYolo\assets. You should see a set of .pt files. If not, your installer failed.
Solution Reinstall the module (see below)
3. You see any error regarding a module not starting, a package not found, something failing or shutting down.
Please go to C:\Program Files\CodeProject\AI\modules[Module in question] and look at install.log. This may point to the installation failing or something failing to be downloaded
Solution Reinstall the module (see below)
4. I'm on Windows 10 and CodeProject.AI randomly stopped working after a Windows update
The KB5025221 update has been reported as causing troubles. If you have this update installed, try rolling it back.
Microsoft has a tool to show/hide problematic updates.
5. I get "ModuleNotFoundError: No module named 'PIL'"
This means the module that threw the error wasn't installed fully, most likely due to a timeout.
Solution Reinstall the module (see below)
How to reinstall a module
Option 1. Go to the install modules tab on the dashboard and try re-installing the package. Make sure you have enough disk space and a reliable internet connection.
Option 1 with a vengeance: If that fails, head to the module's folder ([app root]\modules\module-id), open a terminal
in admin mode, and run ..\..\setup. This will force a manual reinstall using the install script.
In
Docker you will need to open a terminal into the docker container. Docker Desktop, Visual Studio Code, or using docker attach. cd to /app/modules/module-id where module-id is the id of the module you need to resinstall. Run sudo bash ../../setup.sh to force a manual reinstall of that module.
NONE OF THESE HELP?
Post a message, ensuring you include the info we mentioned at the top of this message, and we'll dive in and see what we can do
IF ALL ELSE FAILS
Here are previous version
downloads that will allow you to roll back