Re: [GNC-dev] Trouble with gsettings in GC 4.9

2022-01-07 Thread bugzilla
Hi Derek, thanks for your prompt reply. I am not sure if version 3.8 had been uninstalled before the *BUILT* process. So I did the following: cd gnucash/build sudo make uninstall make clean rm ~/.cache/dconf/user mv /opt/gnucash/share/glib-2.0/schemas/gschemas.compiled /opt/gnucash/share/glib-2

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2022-01-03 Thread Derek Atkins
Hi, On Mon, January 3, 2022 3:55 am, bugzilla wrote: > Hi everyone, > > first of allĀ  a happy new year to you all. > > I tried to compile GC 4.9 on Linux Mint 20 ulyana following the > recommendations below. The build and installation process worked fine. [snip] > I also did not have a previous 4

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2022-01-03 Thread bugzilla
Hi everyone, first of allĀ  a happy new year to you all. I tried to compile GC 4.9 on Linux Mint 20 ulyana following the recommendations below. The build and installation process worked fine. However, when I run the /opt/gnucash/bin/gnucash command, I get heaps of error messages that follow th

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-31 Thread Geert Janssens
Glad you got it fixed! Happy new year to you too! Geert Op vrijdag 31 december 2021 13:02:40 CET schreef Christian Wehling: > Hi John, Geert, > It works, thanks for your help! > > What have I done? > 1. emptied all old, not needed build directories and uninstalled the old > flatpak version. 2.

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-31 Thread Christian Wehling
Hi John, Geert, It works, thanks for your help! What have I done? 1. emptied all old, not needed build directories and uninstalled the old flatpak version. 2. removed all org.gnucash.*.gschema.xml and gschemas.compiled from /usr/local/share/glib- 2.0/schemas/ 3. deleted $HOME/.cache/dconf 4. in

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-31 Thread Geert Janssens
This is misleading. Even the newer gnucash still installs schemas for org.gnucash. next to org.gnucash.GnuCash. In recent versions these are defined in org.gnucash.GnuCash.deprecated.gschema.xml (1) So it's absolutely normal both will still show up in dconf. However if there are *two* sets o

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-30 Thread John Ralls
Christian, GSettings says it uses XDG_DATA_DIRS plus /usr/share and /usr/local/share so in theory you need worry only about the gschemas.compiled in directories that are on those paths and that might have had org.gnucash.foo.schema.xml in them the last time glib-compile-schemas was run on them.

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-30 Thread Christian Wehling
Hi Geert, sudo find / -name org.gnucash.*.gschema.xml results in: /var/lib/flatpak/app/org.gnucash.GnuCash/x86_64/stable/6b970053ec40ec1b23a6827c2 a284fb3bbcdaff16073b3f99d9597d5ad49f62f/files/share/glib- 2.0/schemas/org.gnucash.window.pages.gschema.xml [...snip] /home/chris/github/gnucash/install

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-30 Thread Christian Wehling
Hi John, sudo find / -name gschemas.compiled /snap/gnome-3-38-2004/76/usr/share/glib-2.0/schemas/gschemas.compiled /snap/gnome-3-38-2004/87/usr/share/glib-2.0/schemas/gschemas.compiled /snap/gnome-3-34-1804/72/usr/share/glib-2.0/schemas/gschemas.compiled /snap/gnome-3-34-1804/77/usr/share/glib-2.0

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-30 Thread John Ralls
Yesterday you attached a dump from dconf that shows both org.gnucash.GnuCash and org.gnucash schema entries. If you're absolutely sure that you've gotten rid of all instances of org.gnucash.foo.schema.xml from everywhere outside of your gnucash-4.7 build directory and you've removed the gschemas

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-30 Thread Geert Janssens
Christian, Have you also searched for org.gnucash.*.gschema.xml ? These files are important during the installation process. If these were present (the files that don't have GnuCash in camelcase in their name) the installation will not work properly. But the actual problem file in that case wil

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-30 Thread Christian Wehling
So, I first uninstalled everything and restarted the computer. Now "sudo find / -name libgnc*.so" only finds these directories: /var/lib/flatpak/app/org.gnucash.GnuCash/ => not in use ~/github/gnucash/build/lib/ => for development ~/Programme/gnucash-4.7/build/lib/ => productiv ~/Programme/gnuc

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-29 Thread John Ralls
>From yesterday's errors * 16:29:33 INFO [gnc_load_app_icons] Path 20: /opt/gnucash/share/gnucash/icons Suggests that you might also have installed into /opt/gnucash at some point, so look there. You should also check /usr/lib just in case you installed the distro build at some point, and tak

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-29 Thread Geert Janssens
Op maandag 27 december 2021 17:57:17 CET schreef Christian Wehling: > Hi, > I have compiled version 4.9 (Ubuntu 20.04) from sourceforge.net and > have trouble with the "glib-schemas". > The installation seemed to run without errors, but when I start Gnucash > I get these outputs: > [...] > * 16:48:

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-29 Thread Christian Wehling
mhh, with these steps I always install a new version: cd gnucash-4.9/build cmake -G"Ninja" -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_PYTHON=ON ../source sudo ninja install Since I don't set a special library path, I assume that /usr/local/lib is used, there are no leftovers there. Where can I lo

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-29 Thread John Ralls
Good. * 16:29:33 WARN [gnc_gsettings_get_settings_ptr()] Ignoring attempt to access unknown gsettings schema org.gnucash.general Suggests that there's a set of GnuCash libraries, i.e. libgnc*.so, somewhere on your LD_LIBRARY_PATH and the link is picking that up instead of the just-built ones.

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-29 Thread Christian Wehling
Hi John, right, i build in ~/Programme/gnucash-4.9/build Christian Am Mittwoch, dem 29.12.2021 um 08:22 -0800 schrieb john: > You're building in a clean build directory, right? > > Regards, > John Ralls > > > > On Dec 29, 2021, at 5:48 AM, Christian Wehling > > wrote: > > > > Hi, > > unfort

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-29 Thread john
You're building in a clean build directory, right? Regards, John Ralls > On Dec 29, 2021, at 5:48 AM, Christian Wehling wrote: > > Hi, > unfortunately, neither deleting the schema files after uninstalling nor > installing them according to David's instructions helped. > Fortunately, version 4

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-29 Thread Christian Wehling
Hi, unfortunately, neither deleting the schema files after uninstalling nor installing them according to David's instructions helped. Fortunately, version 4.7 is still executable. Are there other possibilities I can try? Regards Christian Am Dienstag, dem 28.12.2021 um 08:10 -0800 schrieb joh

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-28 Thread john
Christian, Try uninstalling 4.7 again, then make sure that /opt/share/glib-2.0/schemas and /usr/share/glib-2.0/schemas contain no files whose names begin with `org.gnucash', then reinstall 4.9. Regards, John Ralls > On Dec 28, 2021, at 7:50 AM, Christian Wehling wrote: > > Hi, > I have tried

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-28 Thread Christian Wehling
Hi, I have tried all this: I started with a working version 4.7, did a 'sudo make uninstall' and then installed versions 4.8 and 4.9 with 'sudo make install' and 'sudo ninja install'. Unfortunately, both versions were unsuccessful. The Output from 4.8 and 4.9: * 16:29:33 INFO [gnc_load_app_icons

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-27 Thread davidcousens49
Christian, Not sure what the problem is but you could try using David Whitings script for installation on Ubuntu 20.04 which is now in the wiki at https://wiki.gnucash.org/wiki/Building_On_Linux#Focal_Fossa_20.04_LTS. It works well with the only disadvantage it downloads a copy of the whole git