Hi Geert, I was about to do some tests whether any of the below mentioned tweaks (adapting XDG_DATA_DIRS, using .gconf/org/gnucash/Gnucash) would help, and if not doing an fresh install after removal of gnucash-4.5 or going release by release to gnucash-4.8 - but surprisingly, when I installed the freshly compiled gnucash-4.8 over the existing gnucash 4.5, gnucash-4.8 starts normal, and the configurations is the one as of gnucash-4.5: currency is EUR, register colors are default, date format german ...
I did exactly the same procedure as last week except I was using gnucash-4.5 a bit since switching back to gnucash-4.5 after the non-successful upgrade. In essence: today it worked as it should be, I didn't have to do anything on the location of the configuration files or change XDG_DATA_DIRS (is still at $ echo $XDG_DATA_DIRS -> /usr/local/share:/usr/share) I assume that error must have been somehow on my side. Best regards Klaus On Thu, 07 Oct 2021 14:07:40 +0200 Geert Janssens <geert.gnuc...@kobaltwit.be> wrote: > Hi David, > > Thanks for the feedback. It also works fine on my Fedora 34 box. And at this > point I don't see reason yet to believe the intermediate step via 4.7 is > required. The bug hunt will hopefully give more details. > > As for the /org/gnucash/GnuCash path, that's a virtual path, not a filesystem > one. It's how preferences are organised hierarchically inside GSettings. > Every > application is supposed to generate the three-component "prefix" consisting > of > /org/<organisation>/<application> and under that prefix all preferences for > that particular application can then be structured. You will find this > structure for example by opening dconf-editor on linux systems (provided > gnucash is installed in the default prefix /usr or /usr/local; if not, you'll > have to manipulate the XDG_DATA_DIRS environment variable to include <your- > prefix>/share in the search path). > > Regards, > > Geert > > Op donderdag 7 oktober 2021 11:50:46 CEST schreef davidcousen...@gmail.com: > > Hi Geert, > > > > For your info if it will help diagnose problems on other Linux systems. As > > far as I cn tell GunCash 4.8 is reading the preferences when they exist on > > Linux Mint 20.2. I up graded from 4.6 via a patched version of 4.7 and then > > to 4.8 with a further patch suggested by John. Both 4.7 and 4.8 built from > > scratch from the downloaded tarball. These still show up under > > .local/share/gnucash/ for the books reports etc and .config/gnucash for the > > gtk style sheets. The file modifications times and dates indicate changes > > (I deliberately changed a few setting exited and then restarted and then > > changed them back). I am presuming the /org/gnucash/GnuCash translates to > > these locations during installation as I cannot find any such directories > > on my computer. > > > > David > > > > On Thu, 2021-10-07 at 09:29 +0200, Geert Janssens wrote: > > > Hi Thomas, > > > > > > Klaus hasn't filed a bug yet. If you can, please do. > > > > > > Regards, > > > > > > Geert > > > > > > Op woensdag 6 oktober 2021 16:25:41 CEST schreef boer...@t-online.de: > > > > Hi, > > > > > > > > I am experiencing the same issue coming from 4.6 and upgrading to 4.8 > > > > from > > > > an OpenSuse Repo. One thing that I have in common with Klaus is that we > > > > both skipped 4.7 > > > > > > > > Indeed in Dconf I can find a new preference path /org/gnucash/GnuCash > > > > along > > > > with the old /org/gnucash. However, gnucash 4.8 doesn't seem to take > > > > care > > > > of this path. Neither changes in my settings are reflected there nor > > > > changes done directly in Dconf (e.g. set time format to 24h) have any > > > > effect. Moreover the default preference for the date format is ISO > > > > (2021-10-06), while gnucash uses the US format (10/06/2021) > > > > persistently. > > > > So it appears to me that gnucash neather reads nor writes from/to the > > > > new > > > > preferences path in this situation. > > > > > > > > @Klaus: Did you file that bug already? So it might be worth to add this > > > > information there. > > > > > > > > Best > > > > Thomas > > > > > > > > Tue Oct 5 06:21:11 EDT 2021 Geert Janssens geert.gnucash at kobaltwit.be > > > > > > > > > Hi, > > > > > > > > > > This likely means for some reason the preference migration hasn't run. > > > > > > > > > > I'd like to figure out why if you're willing to work with me on > > > > > debugging > > > > > this. If so, please file a bug so we can track our research there. > > > > > > > > > > Regards, > > > > > > > > > > Geert > > > > > > > > > > Op maandag 4 oktober 2021 23:06:13 CEST schreef Klaus Dahlke: > > > > > > Hi, > > > > > > I run gnucash 4.5 on ArchLinux and compile gnucash from the sources. > > > > > > Yesterday I wanted to upgrade/install gnucash 4.8 by: > > > > > > > > > > > > cmake -D CMAKE_INSTALL_PREFIX=/home/klaus -G Ninja .. > > > > > > ninja > > > > > > ninja install > > > > > > > > > > > > All went smoothly, but when starting gnucash, the warning/error came > > > > > > up: > > > > > > no > > > > > > book found (or similar), i.e., gnucash starts but no accounts, > > > > > > register > > > > > > etc > > > > > > are there. I then went to File -> Open' and opened the postgres > > > > > > database. > > > > > > The data were read, but not displayed as expected: currency was USD, > > > > > > date > > > > > > format was US, no register color etc. I changed some of Preferences > > > > > > as > > > > > > setting the register color scheme to gnucash default, currency to > > > > > > Er, > > > > > > date > > > > > > format etc. But after exiting and restarting gnucash, none of the > > > > > > preference settings where save. The warning message and teh look and > > > > > > feel > > > > > > was exactly the same as right after compile. > > > > > > > > > > > > I then switched back to gnucash 4.5 by compiling it from the sources > > > > > > by > > > > > > the > > > > > > above method and all works fine again. > > > > > > > > > > > > Did I miss something in the installation procedure or is it worth > > > > > > filing > > > > > > a > > > > > > bug? > > > > > > > > > > > > Thanks > > > > > > Klaus > > > > > > _______________________________________________ _______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.