Preferences aren't saved

John Ralls jralls at ceridwen.us
Thu Jan 26 09:50:56 EST 2017


> On Jan 26, 2017, at 1:58 AM, Geert Janssens <geert.gnucash at kobaltwit.be> wrote:
> 
> Op woensdag 25 januari 2017 22:12:37 CET schreef Maxim Cournoyer:
>> Dear GnuCash community,
>> 
>> I'm using GnuCash on the GNU GuixSD distribution, and for some reason
>> the preferences are not remembered (for example the initial tips pop-up
>> always come back even if I uncheck the checkbox).
>> 
>> From what I could gather from GnuCash's FAQ, the preferences would be
>> stored using Gsettings. I'm _not_ using a full-blown desktop such as
>> Gnome, so maybe that component is missing.
>> 
>> How could I make gnucash more verbose so that I can see what is
>> happening? Looking at the source it seems some messages should be
>> printed if no preference backend is found (for example, there is this in
>> gnc-prefs.c: LEAVE("no backend loaded, or the backend doesn't define
>> register_cb, returning 0");)
>> 
>> I've tried: "gnucash --debug --extra" but it doesn't print anything
>> except that Finance::Quote was found. I'm not sure how to use the
>> "--log" option (what logger path should I use to log everything?).
>> 
> Hi,
> 
> --log gnc=debug
> should result in getting all debug information.
> 
> If your preferences aren't saved, this is probably because you don't have the 
> right backend for gsettings.  In the absence of a proper backend, gsettings 
> will default to a memory only backend, which means settings are only retained 
> as long as gnucash is running.
> 
> You don't need a complete gnome desktop environment. I believe in this 
> particular case you are missing the 'dconf' component. 

The debug output all goes to the tracefile (https://wiki.gucash.org/wiki/Tracefile <https://wiki.gucash.org/wiki/Tracefile>). You can change that with the option --logto=stderr.

Regards,
John Ralls


More information about the gnucash-user mailing list