No value provided for argument -firstChessProgram
Posted:
18 Aug 2015, 22:08
by Zonuli
Hi,
After updating FreeBSD from 9.2 to 10.2, xboard exits with an error:
> xboard -fcp crafty
> xboard: No value provided for argument -firstChessProgram
This happens regardless of whether xboard is installed from the package or compiled from the sources.
The same error appears on OpenBSD 5.7.
Xboard works fine on Arch Linux.
Has anyone seen this error? Any idea what causes it?
Thanks.
Re: No value provided for argument -firstChessProgram
Posted:
20 Sep 2015, 09:39
by H.G.Muller
Sorry for the late response. I did not answer before because I really had no idea what could be causing this. But as no one else seems to have any ideas either...
This error message is given when XBoard encounters the end of the command line before it encountered a value for the preceding option. So you would expect it on command lines like "xboard -fcp". So at first I thought there should be some mysterious truncation of the command line going on.
However, I notice now that the error message explicitly mentions "-firstChessProgram", for which "fcp" is the shorthand. But XBoard should not be smart enough at the point where this error is geenrated to realize that "fcp" and "firstChessProgram" are the same. If it really complained against a truncated command line "xboard -fcp crafty", it would have said "No value provided for argument -fcp". As it does not do that, it must not be complaining against the command line, but against something it is reading from a settings file. Now -firstChessProgram is a volatile option, so normally it should not be saved the user settings file (~/.xboardrc), unless you edited it into there yourself. But perhaps there is a corruption of your master settings file (/etc/xboard.conf (?)).
This should mean that you would always get that error, however, no matter how you start XBoard. And not only when you do "xboard -fcp crafty"