[GNC] Problems upgrading to 4.8a
Geert Janssens
geert.gnucash at kobaltwit.be
Sun Sep 11 16:02:33 EDT 2022
Op zaterdag 10 september 2022 19:49:52 CEST schreef Phil Wolff:
> On 9/10/22 08:34, Geert Janssens wrote:
> That is really odd and again suggesting your gnucash is not configured as
> per default. We'll have to find out where this comes from...
>
> Can you provide the result of commands
>
> alias gnucash
> type gnucash
> ls -l $(type gnucash)
>
> dellbert at dellbert:~$ alias gnucash
> bash: alias: gnucash: not found
> dellbert at dellbert:~$ type gnucash
> gnucash is /usr/bin/gnucash
> dellbert at dellbert:~$ ls -l $(type gnucash)
> ls: cannot access 'gnucash': No such file or directory
> ls: cannot access 'is': No such file or directory
> -rwxr-xr-x 1 root root 142088 Feb 9 2022 /usr/bin/gnucash
>
Ok, these were to ensure our basic assumption is correct. You're effectively running /usr/bin/
gnucash and not some alias or link to another location.
> Also can you start gnucash once as follows:
>
> gnucash --log "gnc.app-utils=debug"
>
> You can leave out the name to your data file. It will reduce the amount of
> messages in the trace file.
>
> After having run, can you filter the trace file for messages coming from
> gnc.app-utils and post them here?
>
> That's a way to find out where gnucash looks for the config-user.scm file...
>
> Filtering reduced line count from 943 to 815 😕
>
I'm sorry about that. I could have asked to filter more aggressively (but it was very late here
when I wrote my last mail). This is the info I was looking for:
> [gfec_try_load] looking for /etc/gnucash/config * 09:00:08 DEBUG
> <gnc.app-utils>
>
> [gfec_try_load] looking for /home/dellbert/.config/gnucash/config-user.scm
> * 09:00:08 DEBUG
> <gnc.app-utils>
>
> [gfec_try_load] trying to load
> /home/dellbert/.config/gnucash/config-user.scm * 09:00:08 DEBUG
> <gnc.app-utils.gsettings>
>
These lines show that the config-user.scm file is found. No idea why this wouldn't print the
value of XDG_DATA_DIRS to your gnucash trace file. But if needed we can debug that later.
Let's first follow the other possible clue below.
<snip>
>
> As these early queries fail, no migration is started. And in general
> considering most queries fail, I think no preferences are ever kept across
> gnucash restarts. You could experiment with this by setting a preference to
> non-default in gnucash. Restart gnucash and check the preference again ?
>
> I've done that - any changes I make are lost on a restart.
>
Ok, that confirms gnucash has an issue with finding settings schemas in some way.
> And if so can you use the command
More information about the gnucash-user
mailing list