GithubHelp home page GithubHelp logo

Comments (9)

johndoknjas avatar johndoknjas commented on May 22, 2024 1

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.

doodledood avatar doodledood commented on May 22, 2024 1

@johndoknjas Compiling Stockfish 15 directly from the source worked like a charm. Thanks!

from stockfish.

johndoknjas avatar johndoknjas commented on May 22, 2024

Hi, for the function crashing do you mean the "test_get_stockfish_major_version" function in test_models.py crashes?

from stockfish.

doodledood avatar doodledood commented on May 22, 2024

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.

johndoknjas avatar johndoknjas commented on May 22, 2024

@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.

doodledood avatar doodledood commented on May 22, 2024

from stockfish.

janrnc avatar janrnc commented on May 22, 2024

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.

doodledood avatar doodledood commented on May 22, 2024

from stockfish.

janrnc avatar janrnc commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.