bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Bug when opening from file icon a match saved in .sgf


From: Joern Thyssen
Subject: Re: [Bug-gnubg] Bug when opening from file icon a match saved in .sgf
Date: Sun, 12 Oct 2003 16:58:21 +0000
User-agent: Mutt/1.4.1i

On Sun, Oct 12, 2003 at 02:20:38PM +0200, olivier croisille wrote
> Intel Celeron - Windows ME
> Changelog  1.1416
> Build Oct 7, 2003
> 
> When opening a match saved in .sgf from file icon, following happens :
> 
> - MS DOS window pops up, saying :
> "error: texture file <textures.txt> not found
> error reading XML file <met/zadeh.xml> : no document root!" ;
> 
> - then a Windows window pops up, saying "Generating bear-off database", 
> with a percentage displayed and growing to 100% along with the database 
> being actually generated ;
> 
> - then Gnubg opens with default settings (i.e. *not* user settings) and 
> displays following in the message panel : "Warning: no neural net weights 
> were found ... etc"

gnubg (for windows) has to be started in the directory where it's
installed otherwise it won't find all the necessary files. 

A possible workaround is to specify the -d option, e.g.,

gnubg -d "C:\Program Files\gnubg"

for the action when clicking an SGF file.

For the developers:

Isn't there some environment variable we can query or some function we
can call that'll return the path to "program files"? Or will this only
work if installed in the default suggested directory? Is it somehow
possible to find out where gnubg was installed?

If possible, it should be trivial to initialise the data directory with
this value.

Jørn

Attachment: pgp88Kng5GQe3.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]