This does sound more like a configuration error than a bug, unless it is
a Polyglot bug. Unfortunately the information you give is not sufficient
to exactly know what goes wrong. For instance, do you invoke Polyglot by
hand, as part of the engine command (-fcp)? If so, what engine command
did you use, and where was the Polyglot binary located, and was this
directory in the system's search path? Or did you have XBoard invoke the
UCI adapter automatically through the -fUCI option? In that case you
might have a wrong setting for the -adapterCommand option. (You can see
the option settings in the file .xboardrc in your home directory.)
The standard way of invoking Polyglot automatically would invoke it such
that it doesn't attempt to access any polyglot.ini file. If you invoked
it in such a way that it does need such a file, it obviously isn't in
the place Polyglot expects it; this would depend on the directory you
specify the engine to run in.
NGUYỄN LONG schreef op 26-04-2023 16:07:
Hello sir!
I am having some difficulties with Xboard. It's work fine with some
engine like fairymax, crafty,... But I don't know why it can't add more
engine like stockfish (with polyglot).
when i run polyglot in terminal with command, it work very well. But in
Xboard, it always pop up with an error like "POLYGLOT: main():Can't
open config file "polyglot.ini":no such file or directory"(that file is
always there).
the only way i can use the engine is cut a shortcut of Xboard and paste
in the same folder with polyglot and stockfish bin file and open from
it. That's very inconvenient.
I hope that you can check that bug and find a solutions for me pls.
P/s:Sorry for my bad english.