Re: [GNC] gnucash 5.0 register color settings don't save
On 4/3/23 14:31, Adrien Monteleone wrote: I'd check the Wiki about obtaining a Tracefile. (and/or run GnuCash from the command line to watch output) Then attempt changing a preference and see if any messages appear in either that might indicate what is happening. Regards, Adrien I'm looking into why this happens again and see these warnings and errors as I attempt to change edit-->preferences-->register to have alternating colors: * 16:48:57 WARN [gnc_gsettings_get_settings_obj()] Ignoring attempt to access unknown gsettings schema org.gnucash.GnuCash.general * 16:48:57 ERROR T gnc_gsettings_get(const char*, const char*, T (*)(GSettings*, const char*), T) [with T = int; GSettings = GSettings]: assertion 'G_IS_SETTINGS (gs_obj)' failed Each time I try to set something to true, T, I get the errors. Why it is trying to ask for org.gnucash.GnuCash is wrong since that is uninstalled by flatpak remove rg.gnucash.GnuCash ... ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] gnucash 5.0 register color settings don't save
The contents of the tracefile would indeed be helpful to diagnose whether this is a gsettings migration related bug or something else. A few bugs in that area have been fixed, but perhaps there are more or we look at a regression. Regards, Geert Op maandag 3 april 2023 22:31:24 CEST schreef Adrien Monteleone: > I'd check the Wiki about obtaining a Tracefile. (and/or run GnuCash from > the command line to watch output) > > Then attempt changing a preference and see if any messages appear in > either that might indicate what is happening. > > Regards, > Adrien > > On 4/3/23 3:14 PM, John Griessen wrote: > > On 4/3/23 13:44, Adrien Monteleone wrote: > >> Are other preferences saved? > >> > >> I think there was a bug a while back about this being an issue in some > >> cases on Linux. It had to do with Gsettings and file locations > > > > Nope. All check boxes are empty and cannot be checked and saved. > > > > The flatpak is at 5.0 also and runs OK, (like a flatpak should), but I > > wanted to lose the flatpak org.gnome.Platform > > org.freedesktop.Platform.GL.default bloat of 1.3GB... > > ___ > gnucash-user mailing list > gnucash-user@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. ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] gnucash 5.0 register color settings don't save
I'd check the Wiki about obtaining a Tracefile. (and/or run GnuCash from the command line to watch output) Then attempt changing a preference and see if any messages appear in either that might indicate what is happening. Regards, Adrien On 4/3/23 3:14 PM, John Griessen wrote: On 4/3/23 13:44, Adrien Monteleone wrote: Are other preferences saved? I think there was a bug a while back about this being an issue in some cases on Linux. It had to do with Gsettings and file locations Nope. All check boxes are empty and cannot be checked and saved. The flatpak is at 5.0 also and runs OK, (like a flatpak should), but I wanted to lose the flatpak org.gnome.Platform org.freedesktop.Platform.GL.default bloat of 1.3GB... ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] gnucash 5.0 register color settings don't save
I meant to say you have to search within the dconf-editor. So install it first. Assuming Mint uses the same command as Ubuntu: sudo apt-get install dconf-editor The run dconf-editor and search for alternate in there to find the alternate-color-by-transaction setting. On Mon, Apr 3, 2023 at 1:21 PM John Griessen wrote: > On 4/3/23 14:06, Vincent Dawans wrote: > > In my case, I installed dconf-editor (it wasn't installed by default) and > > then after running it, I did a search on "alternate". It returns the > > setting in 2 locations. Only the second one is correct for version 5.0, > the > > first one was for older versions prior to 4.? -- you can see the path is > > different. So check on your end as well what dconf is storing. > > org.gnucash.general.register alternate-color-by-transaction false > > org.gnucash.GnuCash.general.register alternate-color-by-transaction true > > I have these packages: > > ii dconf-cli 0.40.0-3 amd64simple > configuration storage system - utilities > ii dconf-gsettings-backend:amd64 0.40.0-3 amd64simple > configuration storage system - GSettings back-end > ii dconf-service 0.40.0-3 amd64simple > configuration storage system - D-Bus service > ii libdconf1:amd64 0.40.0-3 amd64simple > configuration storage system - runtime library > > I did a search on "alternate" > Not sure how to do that... > > > -- > John > > ___ > gnucash-user mailing list > gnucash-user@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. > ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] gnucash 5.0 register color settings don't save
On 4/3/23 14:06, Vincent Dawans wrote: In my case, I installed dconf-editor (it wasn't installed by default) and then after running it, I did a search on "alternate". It returns the setting in 2 locations. Only the second one is correct for version 5.0, the first one was for older versions prior to 4.? -- you can see the path is different. So check on your end as well what dconf is storing. org.gnucash.general.register alternate-color-by-transaction false org.gnucash.GnuCash.general.register alternate-color-by-transaction true I have these packages: ii dconf-cli 0.40.0-3 amd64simple configuration storage system - utilities ii dconf-gsettings-backend:amd64 0.40.0-3 amd64simple configuration storage system - GSettings back-end ii dconf-service 0.40.0-3 amd64simple configuration storage system - D-Bus service ii libdconf1:amd64 0.40.0-3 amd64simple configuration storage system - runtime library I did a search on "alternate" Not sure how to do that... -- John ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] gnucash 5.0 register color settings don't save
On 4/3/23 13:44, Adrien Monteleone wrote: Are other preferences saved? I think there was a bug a while back about this being an issue in some cases on Linux. It had to do with Gsettings and file locations Nope. All check boxes are empty and cannot be checked and saved. The flatpak is at 5.0 also and runs OK, (like a flatpak should), but I wanted to lose the flatpak org.gnome.Platform org.freedesktop.Platform.GL.default bloat of 1.3GB... -- John ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] gnucash 5.0 register color settings don't save
From the wiki https://wiki.gnucash.org/wiki/Configuration_Locations I get this information: Most of what is found under Edit->Preferences and a few extra ones are stored in [GSettings] . GSettings itself doesn't have a particular location to store this information in. Instead it relies on "backends" to do this on its behalf. Which backend is used depends on the platform: Linux - pristine: dconf - there's no file location associated with this, data can be viewed or edited with dconf-editor. For advanced options see dconf help. So it looks like you have to look why dconf isn't saving and returning the correct settings? In my case, I installed dconf-editor (it wasn't installed by default) and then after running it, I did a search on "alternate". It returns the setting in 2 locations. Only the second one is correct for version 5.0, the first one was for older versions prior to 4.? -- you can see the path is different. So check on your end as well what dconf is storing. org.gnucash.general.register alternate-color-by-transaction false org.gnucash.GnuCash.general.register alternate-color-by-transaction true On Mon, Apr 3, 2023 at 12:46 PM Adrien Monteleone < adrien.montele...@lusfiber.net> wrote: > Are other preferences saved? > > I think there was a bug a while back about this being an issue in some > cases on Linux. It had to do with Gsettings and file locations, but I > don't remember the specifics unfortunately. > > Regards, > Adrien > > On 4/3/23 1:45 PM, John Griessen wrote: > > I just had an easy time compiling on linux mint 21.1 and alternating > > colors in the register is a preference I like. I tried changing it and > > don't see a save button and when the edit-->preferences-->register > > dialog box is closed, the colors don't appear and when > > edit-->preferences-->register dialog box is opened again, the settings > > are not checked. > > > > Ideas on working around this? Is it the same with your compile? > > > > ___ > gnucash-user mailing list > gnucash-user@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. > ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] gnucash 5.0 register color settings don't save
On 4/3/23 13:44, John Griessen wrote: Thanks Vincent. My appearance is just like your screenshot. Except I can't save any check boxes on close. They are gone on open again. I compiled in a build dir to the side of the source dir. cd gnucash-5.0-build cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr/local ../gnucash-5.0 ninja sudo ninja install During compile, there were a couple of messages: [690/869] Generating ../../lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/options.go options.scm:307:67: warning: possibly unbound variable `GncOptionUIType-TAX_TABLE' options.scm:317:62: warning: possibly unbound variable `GncOptionUIType-DATE_FORMAT' wrote `/mosource/gnucash-5.0-build/lib/x86_64-linux-gnu/guile/3.0/site-ccache/gnucash/options.g No other clues... -- John ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] gnucash 5.0 register color settings don't save
Are other preferences saved? I think there was a bug a while back about this being an issue in some cases on Linux. It had to do with Gsettings and file locations, but I don't remember the specifics unfortunately. Regards, Adrien On 4/3/23 1:45 PM, John Griessen wrote: I just had an easy time compiling on linux mint 21.1 and alternating colors in the register is a preference I like. I tried changing it and don't see a save button and when the edit-->preferences-->register dialog box is closed, the colors don't appear and when edit-->preferences-->register dialog box is opened again, the settings are not checked. Ideas on working around this? Is it the same with your compile? ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] gnucash 5.0 register color settings don't save
On 4/3/23 13:11, Vincent Dawans wrote: For me, there is a "Close" button on the dialog at the bottom right that saves the changes, same as in version 4.13. Thanks Vincent. My appearance is just like your screenshot. Except I can't save any check boxes on close. They are gone on open again. John ___ gnucash-user mailing list gnucash-user@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.
Re: [GNC] gnucash 5.0 register color settings don't save
John, are you referring to the "double mode colors alternate with transactions" option under Edit-Preferences-Register? If so then it works fine on my version 5.0 compiled on Lubuntu 22.04. For me, there is a "Close" button on the dialog at the bottom right that saves the changes, same as in version 4.13. See attached screenshot. Sincerely, Vincent Dawans On Mon, Apr 3, 2023 at 11:46 AM John Griessen wrote: > I just had an easy time compiling on linux mint 21.1 and alternating > colors in the register is a preference I like. I tried > changing it and don't see a save button and when the > edit-->preferences-->register dialog box is closed, the colors don't appear > and when edit-->preferences-->register dialog box is opened again, the > settings are not checked. > > Ideas on working around this? Is it the same with your compile? > > -- > John Griessen > ___ > gnucash-user mailing list > gnucash-user@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. > ___ gnucash-user mailing list gnucash-user@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.