Advertisement
Guest User

Untitled

a guest
Apr 18th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. PS E:\chess\lichess-uci-bot> python main.py
  2. Welcome Ingot!
  3. Loading Engine!
  4. Traceback (most recent call last):
  5. File "main.py", line 199, in <module>
  6. start(li, user_profile, engine_path, weights_path, CONFIG["threads"])
  7. File "main.py", line 47, in start
  8. play_game(li, game_id, weights, threads)
  9. File "main.py", line 58, in play_game
  10. engine, info_handler = setup_engine(engine_path, board, weights, threads)
  11. File "main.py", line 137, in setup_engine
  12. engine = chess.uci.popen_engine(commands)
  13. File "C:\Users\Имя пользователя\AppData\Local\Programs\Python\Python36-32\lib\site-packages\chess\uci.py", line 1138,
  14. in popen_engine
  15. return _popen_engine(command, engine_cls, setpgrp, _popen_lock, **kwargs)
  16. File "C:\Users\Имя пользователя\AppData\Local\Programs\Python\Python36-32\lib\site-packages\chess\engine.py", line 315
  17. , in _popen_engine
  18. PopenProcess(engine, command, **popen_args)
  19. File "C:\Users\Имя пользователя\AppData\Local\Programs\Python\Python36-32\lib\site-packages\chess\engine.py", line 145
  20. , in __init__
  21. self.process = subprocess.Popen(command, **popen_args)
  22. File "C:\Users\Имя пользователя\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 709, in __init__
  23. restore_signals, start_new_session)
  24. File "C:\Users\Имя пользователя\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 971, in _execute_ch
  25. ild
  26. args = list2cmdline(args)
  27. File "C:\Users\Имя пользователя\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 461, in list2cmdlin
  28. e
  29. needquote = (" " in arg) or ("\t" in arg) or not arg
  30. TypeError: argument of type 'int' is not iterable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement