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

Path is not loading in Linux #135

Open
RuvinT opened this issue Jun 27, 2024 · 3 comments
Open

Path is not loading in Linux #135

RuvinT opened this issue Jun 27, 2024 · 3 comments

Comments

@RuvinT
Copy link

RuvinT commented Jun 27, 2024

Tried with stockfish 14,15,16 but I am getting this error

File "/app/app.py", line 105, in init_engine_stockfish stockfish = Stockfish(path = engine_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/stockfish/models.py", line 57, in __init__ self._stockfish_major_version: int = int( ^^^^ ValueError: invalid literal for int() with base 10: 'Could' (base) ruvinjagoda@Ruvins-MacBook-Air server-docker %

@HippoProgrammer
Copy link

I get the same issue.

@HippoProgrammer
Copy link

@RuvinT It seems you can fix it by editing line 57 in /usr/local/lib/python3.11/site-packages/stockfish/models.py to just comment out the line with #.

No adverse effects seem to have occured.

@HippoProgrammer
Copy link

@RuvinT You could also merge the fix in #124.

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