Skip to content

Troubleshooting

fe-art edited this page Sep 19, 2024 · 3 revisions

Errors list and fix:

Error E000:

Unknown error, please create an issue.

Error E001

A required import is missing, either run the project using Poetry (recommended) or run pip install XXXX (where XXXX is the name of the missing module shown in the error). For instance pip install loguru. Also, make sure that you're using the venv as described in the setup guide.

Error E002

Parsing of config file failed: Make sure that you didn't remove or break config.yaml by adding illegal arguments. If you have any doubts, copy the content of the original file and paste it into yours.

Error E003

Bot crashed during its runtime with an unknown error. Please create an issue.

Error E004

GUI couldn't initialize. If you see this error despite not having modified files in the /gui folder, please create an issue.

Error E005

Strategy definition error: some part of the bot's strategy has been misconfigured (actions, cards, etc.). See the bot development tutorial for more details.

Also, don't forget that each Action class must have a CARD attribute:

class ArchersAction(Action):
    CARD = Cards.ARCHERS

Error E006

Error while connecting to the ADB device: Make sure to have ADB enabled on your device/emulator, and that your computer recognizes it by running clashroyalebuildabot\emulator\platform_tools\adb.exe devices -l, and checking that your device is present in the displayed list.

Error E007

Error while running a command on the device using ADB: if the error concerns a device not being found, see E007 above. Else, please create an issue.

Clone this wiki locally