lichess-bot-devs / lichess-bot

A bridge between Lichess bots and chess engines
GNU Affero General Public License v3.0
769 stars 449 forks source link

Filenotfound #606

Closed Aseurw closed 1 year ago

Aseurw commented 1 year ago

I am getting this error when I try to start the program ERROR Quitting lichess-bot due to an error: lichess-bot.py:733 Traceback (most recent call last): File "D:\Download\chess hack\big boss\lichess-bot-master\lichess-bot.py", line 730, in start_lichess_bot() File "D:\Download\chess hack\big boss\lichess-bot-master\lichess-bot.py", line 708, in start_lichess_bot CONFIG = load_config(args.config or "./config.yml") File "D:\Download\chess hack\big boss\lichess-bot-master\config.py", line 25, in load_config with open(config_file) as stream: FileNotFoundError: [Errno 2] No such file or directory: './config.yml' image_2022-11-25_105738056

mheinzel commented 1 year ago

Do you have a file called config.yml in that folder? You can create it by copying the config.yml.default file and changing it as needed (as explained near the end of the installation instructions).

Aseurw commented 1 year ago

yes I have it image

Aseurw commented 1 year ago

.

mheinzel commented 1 year ago

It looks like it, but that is because Windows hides the file extension. It shows config.yml but next to it says "DEFAULT File". So it's actually config.yml.default.

Can you try copying it? You can also do it in the Command Prompt with something like copy config.yml.default config.yml.