[GNC] Problems upgrading to 4.8a
Phil Wolff
adiabat at centurylink.net
Mon Sep 12 08:49:18 EDT 2022
On 9/11/22 13:02, Geert Janssens wrote:
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
>
> grep org.gnucash.general $(strings <file>)
>
> on each of these (replace <file> with the proper path to the
> gschemas.compiled file)
>
>
>
> A rather long list containing zero occurences of gnucassh
>
Unfortunately my command was bad (late night...) :(
Can you retry with this command:
strings ./share/glib-2.0/schemas/gschemas.compiled | grep
org.gnucash.general
dellbert at dellbert:/usr$ cd /usr/local
dellbert at dellbert:/usr/local$ strings
./share/glib-2.0/schemas/gschemas.compiled | grep org.gnucash.general
dellbert at dellbert:/usr/local$
And, for good measure,
dellbert at dellbert:/usr/local$ cd /usr
dellbert at dellbert:/usr$ strings
./share/glib-2.0/schemas/gschemas.compiled | grep org.gnucash.general
((iiii))org.gnucash.general.report
/org/gnucash/general/report/
org.gnucash.general.report.pdf-export
org.gnucash.general
org.gnucash.general.report
org.gnucash.general.register
/org/gnucash/general/
(i)org.gnucash.general.finance-quote
/org/gnucash/general/finance-quote/
org.gnucash.general.register
/org/gnucash/general/register/
(s(yau))org.gnucash.general.report.pdf-export
(s).path/org/gnucash/general/report/pdf-export/
general/org.gnucash.general
dellbert at dellbert:/usr$
dellbert at dellbert:/usr$ cd /usr
dellbert at dellbert:/usr$ strings
./share/glib-2.0/schemas/gschemas.compiled | grep
org.gnucash.GnuCash.general
(b)org.gnucash.GnuCash.general.report
/org/gnucash/GnuCash/general/report/
org.gnucash.GnuCash.general.report.pdf-export
(i)org.gnucash.GnuCash.general.finance-quote
/org/gnucash/GnuCash/general/finance-quote/
org.gnucash.GnuCash.general
org.gnucash.GnuCash.general.report
org.gnucash.GnuCash.general.register
/org/gnucash/GnuCash/general/
(i)org.gnucash.GnuCash.general.report.pdf-export
(s).path/org/gnucash/GnuCash/general/report/pdf-export/
general/org.gnucash.GnuCash.general
org.gnucash.GnuCash.general.register
/org/gnucash/GnuCash/general/register/
dellbert at dellbert:/usr$
Incidentally, I have a Scheduled Transaction due today (9/12) that
wasn't automatically created. Using Actions/Scheduled
Transactions/Since last run did create it, as well as one for 9/14
which is configured for 2-days-in-advance creation, so that much is
working as intended.
Regards,
Geert
More information about the gnucash-user
mailing list