bug-gnubg
[Top][All Lists]
Advanced

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

Problems with gnubg's saved settings


From: Philippe Michel
Subject: Problems with gnubg's saved settings
Date: Sun, 11 Feb 2024 22:08:53 +0100

On Sun, Feb 11, 2024 at 09:13:00AM +0200, Isaac Keslassy wrote:

> 1) SAVING SETTINGS: I have also had the problem of gnubg 1.08 not saving
> settings, or rather, reporting that it is saving them but not loading them.
> Reinstalling gnubg doesn't help. It only worked for me once I selected to
> remove all of my preferences during the installation process (you need to
> make sacrifices to help debug!). I noticed in the faulty installation that I
> had both a ".gnubgautorc" and a "gnubgautorc" file in my preferences folder.
> This may be the reason: it may save in one file and read from the other. I
> tried to correct the error in gnubg.c, but cannot do it due to the 2nd
> problem below:

[...]

> On 10-Feb-24 11:56 PM, Murat K wrote:
> > On 2/9/2024 10:59 PM, Murat K wrote:
> > 
> > > It replaced my gnubgautorc with a default file. I installed it
> > > on another computer to make sure. It did the same thing. Is this
> > > intentional? What is the fix to use my previous settings??
> > 
> > I had never installed 1_08_dev-20240103. I tried it and it
> > does the same thing. Interesting that nobody else noticed
> > or complained about this. I went back to 1_08_dev-20230709
> > and all is fine. I guess I'll just have to do without the
> > latest and greatest improvements... ;)


The file should be saved in %HOMEPATH%\.gnubg\gnubgautorc, not .gnubgautorc.

The two build dates mentionned by Murat strongly suggest a regression :-(.

Still, I dont see the problem on the computers I use (Windows 7 and 10, 
I don't have a Windows 11 machine).

Do you have special characters in your %HOMEPATH% ? spaces ? hebrew 
characters for Isaac or cyrillic ones for Mishel Kari ?

Could you try this in the CLI version of gnubg :

Change a simple parameter (threads number for instance)

show threads
set threads <previous value + 1>

Save the settings

save settings

Is there an error message ? Or just "Settings saved to ...." (possibly 
translated) ? Is the "...." path right ?

Open the gnubgautorc in a text editor and look for the "set threads" line.
Does it have the expected value ? If not change it.

Start another CLI instance

Does "show threads" give the expected value ?



reply via email to

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