[GNC] [Resolved] gnucash 4.8 does not save settings
Dale Osborn
dale2osborn at earthlink.net
Tue Apr 18 15:05:09 EDT 2023
Hello, Geert,
First of all, thank you for your efforts in the creation of
GnuCash. Although I am using it only for personal finances I
can see that there is an enormous volume of code in the
package relative to businesses. We users are in debt to developers like you.
Thank you as well for explaining the motivation for adopting
flatpaks. I can well understand that it is not practical for
the GnuCash team to build separate packages for the myriad
distributions active in the field.
I was going to keep a well-running version 3.8 on my laptop
while adapting to version 4.8 that came with my updated Mint
21 on my desktop. However, version 3.8 warned me that it
could not handle something created by 4.8 (thanks for the
warning) so I purged gnucash from both machines and installed
the 4.13 flatpak on both. Both are accepting and storing
configuration settings, so that is no longer a problem.
Sharing the configuration files turned out to be very
simple. I symlinked from ~/.var/app/org.gnucash.GnuCash to a
folder that is mirrored by SyncThing.
I have changed the email address registered with the list to
one that will not generate the acceptance requests you
encountered. This email is from the new address.
I think it is time to close this thread.
Thanks again,
Dale
At 11:00 AM 4/14/2023, Geert Janssens wrote:
>Before you go the flatpak route though, it may be worth
>figuring out why your settings are not saved. Are there any
>messages in your trace file ?
>
>A known issue with saving settings is when you have
>applications installed in /usr/local. Or more specifically
>if there are schema files in
>/usr/local/share/glib-2.0/schemas/. In that case gnucash
>fails to find its own schema files in
>/usr/share/glib-2.0/schemas/. This issue was fixed for gnucash 4.13.
>
>Regards,
>
>Geert
>
>
>
>Op vrijdag 14 april 2023 15:51:08 CEST schreef Papa Oz:
>
> > Hello, Carsten, and thanks for the reply.
>
> >
>
> > Please forgive the anti-spam thing. I had put @gnucash.org in my address
>
> > book and I assumed all list-oriented traffic would come through their
>
> > server. Now that I see how it works I will probably have to change my
>
> > registration to a different address that lacks the filtering. Meanwhile
>
> > you are "allowed".
>
> >
>
> > All the files are within my home directory tree and I checked the
>
> > permissions already. There are some symlinks involved. They work with 3.8
>
> > but I suppose something might have changed in 4.8 such that they are a
>
> > problem.
>
> >
>
> > I did notice that the developers have gone the flatpak
> route. I am not fond
>
> > of flatpaks, which is why I mentioned deb in my post. I suspect the
>
> > sandbox aspect of flatpaks will give me some trouble sharing files between
>
> > two systems. But I guess I will have to add gnucash to my very small
>
> > collection of flatpaks and figure out how to work out the sharing.
>
> >
>
> > Thank you for your recommendation of 4.13. I will give it a try.
>
> >
>
> > -----Original Message-----
>
> > From: Carsten Hütter <Carsten.Huetter at gmx.de>
>
> > Sent: Apr 14, 2023 7:17 AM
>
> > To: Papa Oz <papaoz at earthlink.net>, <gnucash-user at gnucash.org>
>
> > Subject: Re: [GNC] gnucash 4.8 does not save settings
>
> >
>
> > Hi Papa Oz!
>
> >
>
> > First of all: I'd recommend updating to a more current version both of
>
> > GnuCash (latest 4.x is 4.14 from 2023-03-25) and Finance::Quote (latest is
>
> > 1.54 from 2022-12-26). GnuCash 5.0 still has some issues.
>
> >
>
> > The developers decided to publish the stable GnuCash Linux versions as
>
> > flatpak, not as deb packages. So in order to get the cutting edge version
>
> > without building from source code, you have to install flatpak. I'm on
>
> > Ubuntu 22.04 LTS, only limited experience with other Linux flavors
>
> > (switched from OpenSUSE sometime in the last century or millennium), but
>
> > the following instructions should work more or less: $ sudo apt install
>
> > flatpakThe latest GnuCash 4.x flatpak on code.gnucash.org is 4.13 from
>
> > 2023-03-18, can be downloaded here:
>
> > https://code.gnucash.org/builds/flatpak/maint/gnucash-maint-C4.13-164-g207b
>
> > 105b9c-D4.13-7-g96300db7.flatpakrefCan be installed with: $ cd
>
> > ~/Downloads/GnuCash/ # Change to location of your flatpak file $ flatpak
>
> > install gnucash-maint-C4.13-164-g207b105b9c-D4.13-7-g96300db7.flatpakref #
>
> > sudo not neededAnd started with: $ flatpak run org.gnucash.GnucashThere you
>
> > go. Each flatpak package includes it's own current Finance::Quote.
>
> >
>
> > To get the gnucash starter icon in your environment, you
> may need to install
>
> > the Linux mint 21 cinnamon flatplak plugin: $ sudo apt install
>
> > flatpak-plugin-cinnamonOn my system there are two flatpak GnuCash versions
>
> > installed, which reside peacefully next door to each other: $ flatpak list
>
> > --app
>
> > Name Application
> ID Version
>
> > Zweig Ursprung
>
> > Installation GnuCash org.gnucash.GnuCash
>
> > 4.13-164-g207b105b9c+ maint-C4.13-164-g207b105b9c-D4.13-7-g96300db7
>
> > gnucash1-origin system GnuCash org.gnucash.GnuCash
>
> > 5.0-65-ge87865209e+
>
> > stable-C5.0-65-ge87865209e-D5.0 gnucash3-origin
>
> > systemTo start a specific version, you need to add the --branch option,
>
> > e. g.: $ flatpak run --branch=maint-C4.13-164-g207b105b9c-D4.13-7-g96300db7
>
> > org.gnucash.GnuCash I hope this helps for now.
>
> >
>
> > I also did the whole building process from source code, which is a lot more
>
> > complicated and time consuming. But this also can be done as an experienced
>
> > Linux user.
>
> >
>
> > Cheers,
>
> >
>
> > Carsten
>
> >
>
> >
>
> > Am 14.04.23 um 03:26 schrieb Papa Oz:
>
> > I am trying to run gnucash 4.8 under Mint 21 xfce.
>
> > The help menu item gives the following:
>
> > Version: 4.8
>
> > Build ID: 4.8a+(2021-09-28)
>
> > Finance::Quote: 1.51
>
> >
>
> > gnucash does not save preferences.
>
> >
>
> > I run it from the terminal so I can see any messages.
>
> >
>
> > Upon starting I see:
>
> > Found Finance::Quote version 1.51.
>
> >
>
> > I can enter transactions. They are updated in the data file.
>
> >
>
> > When I try to update the preferences, immediately upon clicking
>
> > "preferences" (after "edit") I receive this message:
>
> >
>
> > "sys:1: Warning: g_hash_table_foreach: assertion 'hash_table != NULL'
>
> > failed"
>
> >
>
> > I have conducted the following test.
>
> > Before running gnucash I run cd;ls -lR >file1
>
> > After exiting gnucash I run cd;ls -lR >file2
>
> >
>
> > Then I run meld ~/file1 ~/file2
>
> >
>
> > It shows a couple of added logs and a backup, and the data file has been
>
> > updated. There are no other changes anywhere in my home subtree except the
>
> > file*. Specifically not in .config/gnucash nor .local/share/gnucash.
>
> >
>
> > Can anyone tell me how to fix this or point me to a more
> modern gnucash .deb
>
> > file that will install and run properly on Mint 21?
>
> > _______________________________________________
>
> > gnucash-user mailing list
>
> > gnucash-user at gnucash.org
>
> > To update your subscription preferences or to unsubscribe:
>
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
>
> > -----
>
> > Please remember to CC this list on all your replies.
>
> > You can do this by using Reply-To-List or Reply-All.
More information about the gnucash-user
mailing list