Torom / BotLi

Lichess Bot
GNU Affero General Public License v3.0
44 stars 82 forks source link

CMD Shows This #140

Closed HyperLitikBot closed 12 months ago

HyperLitikBot commented 1 year ago

C:\Users\DELL\Downloads\BotLi-main (24)\BotLi-main>python user_interface.py Traceback (most recent call last): File "C:\Users\DELL\Downloads\BotLi-main (24)\BotLi-main\user_interface.py", line 315, in ui = UserInterface(args.config, args.matchmaking, args.upgrade) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\DELL\Downloads\BotLi-main (24)\BotLi-main\user_interface.py", line 43, in init self.config = load_config(config_path) ^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\DELL\Downloads\BotLi-main (24)\BotLi-main\config.py", line 31, in load_config _init_opening_books(config) File "C:\Users\DELL\Downloads\BotLi-main (24)\BotLi-main\config.py", line 246, in _init_opening_books if subsection[0] not in settings: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'int' is not iterable

What should I do ?

Torom commented 1 year ago

There is something wrong in your config. Please remove your token and then post it.

HyperLitikBot commented 1 year ago

I think it happens bcs books, u say path, what path mean for books

Torom commented 1 year ago

Have you read the readme? This section explains how to set up opening books: https://github.com/Torom/BotLi#setup-opening-book

HyperLitikBot commented 1 year ago

Ok, I tried it tommorow

Torom commented 12 months ago

I'm closing the issue for now because I can't help you with the given information.