Comments (6)
I also get this kind of warnings / errors which also seem to be related to the usage of the experience file:
ERROR:asyncio:Exception in callback Protocol._line_received('info string ...BlackHole.exp')
handle: <Handle Protocol._line_received('info string ...BlackHole.exp')>
Traceback (most recent call last):
File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/ibaibur/.local/lib/python3.10/site-packages/chess/engine.py", line 1093, in _line_received
self.command._line_received(self, line)
File "/home/ibaibur/.local/lib/python3.10/site-packages/chess/engine.py", line 1384, in _line_received
assert self.state in [CommandState.ACTIVE, CommandState.CANCELLING]
AssertionError
from botli.
python-chess warns that the engine produces unexpected output.
Looking at the output it is also kind of strange, these are all legal moves from the starting position with their respective evaluation, I guess the engine does this to inform about the information from the experience file?
On which engine is your "mod" based?
I also get this kind of warnings / errors which also seem to be related to the usage of the experience file:
ERROR:asyncio:Exception in callback Protocol._line_received('info string ...BlackHole.exp') handle: <Handle Protocol._line_received('info string ...BlackHole.exp')> Traceback (most recent call last): File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run self._context.run(self._callback, *self._args) File "/home/ibaibur/.local/lib/python3.10/site-packages/chess/engine.py", line 1093, in _line_received self.command._line_received(self, line) File "/home/ibaibur/.local/lib/python3.10/site-packages/chess/engine.py", line 1384, in _line_received assert self.state in [CommandState.ACTIVE, CommandState.CANCELLING] AssertionError
No, this error is not related to that. It occurs at occasional intervals and does not seem to have any negative effects.
from botli.
python-chess warns that the engine produces unexpected output. Looking at the output it is also kind of strange, these are all legal moves from the starting position with their respective evaluation, I guess the engine does this to inform about the information from the experience file?
On which engine is your "mod" based?
It is based on latest Stockfish-Dev.
Yes, the engine sends the moves to the GUI / cli or whatever to give some information about the available moves in the experience file, obviously, the NPS, TBHits and time are sent as 0 because the engine does not really "think". This is the part of code that sends the info:
//Provide some info to the GUI about available exp moves
int expCount = 0;
for (auto it = quality.rbegin(); it != quality.rend(); ++it)
{
++expCount;
sync_cout
<< " info "
<< " depth " << it->first->depth
<< " seldepth " << it->first->depth
<< " multipv 1"
<< " score " << UCI::value(it->first->value)
<< " nodes " << expCount
<< " nps 0"
<< " tbhits 0"
<< " time 0"
<< " pv " << UCI::move(it->first->move, rootPos.is_chess960())
<< sync_endl;
}
I tried to hardcode it and send different values to avoid the warnings but it did not work either.
If the assertionerror does not have negative effects then no problem. The warnings dont seem to have negative effects either but it is a bit annoying that they pop up continously in the terminal.
Thanks for answering. If you need more information just tell me.
from botli.
It is based on latest Stockfish-Dev.
Sorry I didn't expect you to have actually added the experience file yourself.
What I wonder, why is there a space before info
an info output normally looks like this: info depth 4 seldepth 2 multipv 1 score cp 51 nodes 110 nps 55000 hashfull 0 tbhits 0 time 2 pv e2e4
. Maybe this is already part of the problem?
from botli.
That could be the problem...
Let me remove it, recompile, and try...
Maybe that eliminates the warnings.
from botli.
You were right!
Thanks a lot!
from botli.
Related Issues (20)
- Matchmaking timeouts HOT 2
- Request: Different engines for different TCs HOT 4
- Request: Specific white and black books for each TC HOT 5
- Request: Accept challenges per TC HOT 2
- Error HOT 5
- Question about Tablebases HOT 2
- Matchmaking issue HOT 1
- Use BOTli on another site HOT 17
- CMD Shows This HOT 5
- Two instances of engine running at once?? HOT 13
- Reformat !eval and !printeval command HOT 11
- !eval and !printeval command reformat HOT 1
- Add support for Cloud Servers (Back4app) HOT 8
- Engine process died unexpectedly HOT 5
- Matchmaking error HOT 1
- Dockerized version RuntimeError HOT 4
- Lichess sends invalid move HOT 13
- Dockerized version !printeval error HOT 5
- Serious issue or bug causing thread exception... HOT 5
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 botli.