Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not run on my iMac #110

Open
doronby opened this issue May 17, 2023 · 2 comments
Open

Does not run on my iMac #110

doronby opened this issue May 17, 2023 · 2 comments

Comments

@doronby
Copy link

doronby commented May 17, 2023

tools/fancy.py -cmd ./sunfish.py
Python 3.11.2
macOS Monterey

Output :

dby@dorons-imac sunfish-master % tools/fancy.py -cmd ./sunfish.py
Traceback (most recent call last):
File "/Users/dby/Downloads/sunfish-master/tools/fancy.py", line 284, in
asyncio.run(main())
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/Users/dby/Downloads/sunfish-master/tools/fancy.py", line 234, in main
engine = await load_engine_from_cmd(args.cmd, debug=args.debug)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/dby/Downloads/sunfish-master/tools/fancy.py", line 40, in load_engine_from_cmd
_, engine = await chess.engine.popen_uci(cmd.split())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/chess/engine.py", line 2681, in popen_uci
await protocol.initialize()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/chess/engine.py", line 1429, in initialize
return await self.communicate(UciInitializeCommand)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/chess/engine.py", line 1094, in communicate
return await command.result
^^^^^^^^^^^^^^^^^^^^
chess.engine.EngineTerminatedError: engine process died unexpectedly (exit code: 127)

@Hamster-lord
Copy link

it happens to me too

@Hamster-lord
Copy link

but it says: "Unable to locate engines.json file."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants