Comments (9)
There should be a
'15'
string instead of'/lib/x86_64-linux-gnu/libc'
.
This error should explain why there's issues with SF 15 and not 14. The new SF 15 seems to use an updated glibc version, and if the user doesn't have it on their linux comp then there may be problems running the engine.
These links discuss the error, and funnily enough the answer in the second one actually mentions SF 15:
https://superuser.com/questions/537683/how-to-fix-lib-x86-64-linux-gnu-libc-so-6-version-glibc-2-14-not-found
https://stackoverflow.com/questions/71940179/error-lib-x86-64-linux-gnu-libc-so-6-version-glibc-2-34-not-found
from stockfish.
@johndoknjas Compiling Stockfish 15 directly from the source worked like a charm. Thanks!
from stockfish.
Hi, for the function crashing do you mean the "test_get_stockfish_major_version" function in test_models.py crashes?
from stockfish.
Haven't tried running the tests, just used the main module as it is. It crashed when trying to get the major version, which fails for Stockfish 15 (at least on my machine).
from stockfish.
@doodledood Hmm, alright. For the test failing it made sense since 15 for the major version wasn't included yet as one of the acceptable outputs. For the actual function though it works for me, and running SF 15 by itself seems to use the same output format as SF 14. Do you know if it works for you on SF 14?
from stockfish.
from stockfish.
For the actual function though it works for me
Same.
It crashed when trying to get the major version, which fails for Stockfish 15 (at least on my machine).
@doodledood do you have some additional info as returned errors or similar that can help understanding where is the problem?
from stockfish.
from stockfish.
There should be a '15'
string instead of '/lib/x86_64-linux-gnu/libc'
. These strings are coming from the first output line of the stockfish engine (stderr gets here too since stderr=subprocess.STDOUT
option is set).
Have you tried to run the engine itself from the command line? The first output line should be something like this:
Stockfish 15 by the Stockfish developers (see AUTHORS file)
Maybe you're getting an error as a first line and this wrapper tries to parse it without getting what it would expect.
from stockfish.
Related Issues (20)
- Option to get board visual from either side HOT 2
- FR - Include chess notation entry HOT 2
- FR - Translate move string to human readable description of the move HOT 1
- top_moves returning empty list stockfish 15 HOT 2
- Improving some small things about self.depth HOT 1
- Stockfish 15 Errors on Linux HOT 4
- could use help implementing this HOT 2
- Jupyter Notebook HOT 2
- Improve the is_fen_valid function HOT 1
- Get best move from current position HOT 1
- Compatibility with chess library HOT 2
- [Meta] The future of this project (Please read this before opening new issues or PRs)
- can't use stockfish_mv in google colab HOT 1
- get_evaluation() implemented wrong HOT 2
- Error in stockfish\models.py in __del__, _put HOT 2
- does_current_engine_version_have_wdl_option() not work on stockfish variant
- stockfish derivatives not work when analyze pgn HOT 16
- take longer time compare with chess module HOT 5
- Stockfish crashes on invalid position instead of error mesasge HOT 5
- will_move_be_a_capture throws exeption when converting pawn
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stockfish.