Giter Site home page Giter Site logo

Comments (6)

AttackingOrDefending avatar AttackingOrDefending commented on June 2, 2024

lichess-bot processes debug output even if it isn't enabled, because it stores it in a file inside the lichess_bot_auto_logs folder. It just doesn't print it to the console. I couldn't reproduce this issue, probably because I didn't get the line info string out of do_all_pending, list size=0. What should I do for the engine to print this line?

What version of python-chess are you using while running HEAD and 616dd81?

from lichess-bot.

MarkZH avatar MarkZH commented on June 2, 2024

The commit you revert to is before commit 26732d1. That commit causes lichess-bot to try to start the chess engine on startup as a quick check that the engine is configured correctly. When you revert to the older commit, can your engine actually play a game, or does it exit with an error?

from lichess-bot.

jdart1 avatar jdart1 commented on June 2, 2024

I spoke too soon: no, it doesn't actually play a game, despite not putting out any debug info (any in the log would be from an earlier run). python-chess version is 1.9.4: maybe that is the issue?

from lichess-bot.

MarkZH avatar MarkZH commented on June 2, 2024

In your configuration file:

  uci_options:
    Threads: 8
    Hash: 32768
    SyzygyTbPath: /home/jdart/chess/syzygy:/home/jdart/chess/syzygy-6man/wdl:/home/jdart/chess/syzygy-6man/dtz
    debug: true

The option debug is not listed as a possible option in your engine.

 option name Hash type spin default 64 min 4 max 64000
 option name Ponder type check default true
 option name Contempt type spin default 0 min -200 max 200
 option name Use tablebases type check default true
 option name SyzygyTbPath type string default /home/jdart/chess/syzygy:/home/jdart/chess/syzygy-6man/wdl:/home/jdart/chess/syzygy-6man/dtz
 option name SyzygyUse50MoveRule type check default true
 option name SyzygyProbeDepth type spin default 4 min 0 max 64
 option name MultiPV type spin default 1 min 1 max 10
 option name OwnBook type check default true
 option name Favor frequent book moves type spin default 50 min 0 max 100
 option name Favor best book moves type spin default 50 min 0 max 100
 option name Favor high-weighted book moves type spin default 100 min 0 max 100
 option name Randomize book moves type spin default 50 min 0 max 100
 option name Threads type spin default 1 min 1 max 256
 option name UCI_LimitStrength type check default false
 option name UCI_Elo type spin default 3300 min 1000 max 3300
 option name Use NNUE type check default true
 option name NNUE file type string default arasan-d9-SFv4-20230728.nnue
 option name Move overhead type spin default 30 min 0 max 1000

The error happens because your engine does not know what to do with a debug option.

from lichess-bot.

MarkZH avatar MarkZH commented on June 2, 2024

This error is from line 392 of the log you posted:

chess.engine.EngineError: engine does not support option debug (available options: Hash, Ponder, Contempt, Use tablebases, SyzygyTbPath, SyzygyUse50MoveRule, SyzygyProbeDepth, MultiPV, OwnBook, Favor frequent book moves, Favor best book moves, Favor high-weighted book moves, Randomize book moves, Threads, UCI_LimitStrength, UCI_Elo, Use NNUE, NNUE file, Move overhead)

from lichess-bot.

jdart1 avatar jdart1 commented on June 2, 2024

Ok, thanks.

from lichess-bot.

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.