Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS E:\chess\lichess-uci-bot> python main.py
- Welcome Ingot!
- Loading Engine!
- Traceback (most recent call last):
- File "main.py", line 199, in <module>
- start(li, user_profile, engine_path, weights_path, CONFIG["threads"])
- File "main.py", line 47, in start
- play_game(li, game_id, weights, threads)
- File "main.py", line 58, in play_game
- engine, info_handler = setup_engine(engine_path, board, weights, threads)
- File "main.py", line 137, in setup_engine
- engine = chess.uci.popen_engine(commands)
- File "C:\Users\Имя пользователя\AppData\Local\Programs\Python\Python36-32\lib\site-packages\chess\uci.py", line 1138,
- in popen_engine
- return _popen_engine(command, engine_cls, setpgrp, _popen_lock, **kwargs)
- File "C:\Users\Имя пользователя\AppData\Local\Programs\Python\Python36-32\lib\site-packages\chess\engine.py", line 315
- , in _popen_engine
- PopenProcess(engine, command, **popen_args)
- File "C:\Users\Имя пользователя\AppData\Local\Programs\Python\Python36-32\lib\site-packages\chess\engine.py", line 145
- , in __init__
- self.process = subprocess.Popen(command, **popen_args)
- File "C:\Users\Имя пользователя\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 709, in __init__
- restore_signals, start_new_session)
- File "C:\Users\Имя пользователя\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 971, in _execute_ch
- ild
- args = list2cmdline(args)
- File "C:\Users\Имя пользователя\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 461, in list2cmdlin
- e
- needquote = (" " in arg) or ("\t" in arg) or not arg
- TypeError: argument of type 'int' is not iterable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement