Good.

* 16:29:33  WARN <gnc.app-utils.gsett>
[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. The 4.9 ones should be looking for schema org.gnucash.Gnucash.general 
instead of org.gnucash.general.

Regards,
John Ralls


> On Dec 29, 2021, at 9:05 AM, Christian Wehling <c.wehl...@posteo.de> wrote:
> 
> 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 <c.wehl...@posteo.de
>>>> wrote:
>>> 
>>> 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 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 <
>>>>> c.wehl...@posteo.de
>>>>>> wrote:
>>>>> 
>>>>> 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.gui            > [gnc_load_app_icons]
>>>>> Path
>>>>> 19:
>>>>> /usr/share/pixmaps
>>>>> * 16:29:33  INFO <gnc.gui            > [gnc_load_app_icons]
>>>>> Path
>>>>> 20:
>>>>> /opt/gnucash/share/gnucash/icons
>>>>> * 16:29:33  INFO <gnc.gui            > [gnc_load_app_icons]
>>>>> Path
>>>>> 21:
>>>>> /opt/gnucash/share/icons
>>>>> * 16:29:33 ERROR <GLib-GIO           > g_settings_new_full:
>>>>> assertion
>>>>> 'schema != NULL' failed
>>>>> * 16:29:33  WARN <gnc.app-utils.gsett>
>>>>> [gnc_gsettings_get_settings_ptr()] Ignoring attempt to access
>>>>> unknown
>>>>> gsettings schema org.gnucash.GnuCash.general
>>>>> * 16:29:33 ERROR <gnc.app-utils      > GVariant*
>>>>> gnc_gsettings_get_user_value(const gchar*, const gchar*):
>>>>> assertion
>>>>> 'G_IS_SETTINGS (settings_ptr)' failed
>>>>> * 16:29:33 ERROR <GLib-GIO           > g_settings_new_full:
>>>>> assertion
>>>>> 'schema != NULL' failed
>>>>> * 16:29:33  WARN <gnc.app-utils.gsett>
>>>>> [gnc_gsettings_get_settings_ptr()] Ignoring attempt to access
>>>>> unknown
>>>>> gsettings schema org.gnucash.general
>>>>> * 16:29:33 ERROR <gnc.app-utils      > GVariant*
>>>>> gnc_gsettings_get_user_value(const gchar*, const gchar*):
>>>>> assertion
>>>>> 'G_IS_SETTINGS (settings_ptr)' failed
>>>>> * 16:29:33 ERROR <GLib-GIO           > g_settings_new_full:
>>>>> assertion
>>>>> 'schema != NULL' failed
>>>>> 
>>>>> I've also checked the dependencies and the version numbers of
>>>>> gsettings.
>>>>> 
>>>>> Fortunately, I was able to get version 4.7 to work again with
>>>>> 'sudo
>>>>> make install'. I have been doing this in the same way since 4.5
>>>>> and
>>>>> it
>>>>> has always worked until now.
>>>>> 
>>>>> Christian
>>>>> 
>>>>> 
>>>>> 
>>>>> Am Dienstag, dem 28.12.2021 um 09:10 +1000 schrieb
>>>>> davidcousen...@gmail.com:
>>>>>> 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
>>>>>> repository
>>>>>> and not just the specific source files for a single version,
>>>>>> OK
>>>>>> if
>>>>>> you don't
>>>>>> have any serious space issues.
>>>>>> 
>>>>>> The following commands from the script will do the setup for
>>>>>> builing
>>>>>> and install
>>>>>> the dependencies:
>>>>>> 
>>>>>> sudo apt -y update
>>>>>> sudo apt -y upgrade
>>>>>> sudo apt -y install git
>>>>>> sudo apt -y build-dep gnucash
>>>>>> 
>>>>>> ## To build series 4 of gnucash on Ubuntu 20.04
>>>>>> sudo apt -y install libboost-program-options1.71-dev
>>>>>> 
>>>>>> If you still want to work from the downloaded zip file of the
>>>>>> sources
>>>>>> just run
>>>>>> these first to make sure all the dependencies are loaded. I
>>>>>> would
>>>>>> try
>>>>>> a fresh
>>>>>> download of the zipped file from Sourceforge as well. There
>>>>>> was a
>>>>>> patch to the
>>>>>> 4.8 sources that affected the gsettings schemas from memory
>>>>>> but
>>>>>> AFAIK
>>>>>> it was
>>>>>> incorporated in the 4.9 sources.
>>>>>> 
>>>>>> If you run the following command ( I have also listed the
>>>>>> output
>>>>>> from
>>>>>> it on
>>>>>> Linux MInt 20.2 which should be the same as Ubuntu 20.04) you
>>>>>> will
>>>>>> list the
>>>>>> packages affecting gsettings.
>>>>>> 
>>>>>> dpkg -l | grep gsettings
>>>>>> 
>>>>>> ii  dconf-gsettings-
>>>>>> backend:amd64                               0.36.0-
>>>>>> 1                                    amd64        simple
>>>>>> configuration storage
>>>>>> system - GSettings back-end
>>>>>> ii  gsettings-desktop-
>>>>>> schemas                                   3.36.0-
>>>>>> 1ubuntu1                             all          GSettings
>>>>>> desktop-
>>>>>> wide schemas
>>>>>> ii  libproxy1-plugin-
>>>>>> gsettings:amd64                            0.4.15-
>>>>>> 10ubuntu1.2                          amd64        automatic
>>>>>> proxy
>>>>>> configuration
>>>>>> management library (GSettings plugin).
>>>>>> 
>>>>>> It is ususlly a good idea on Linux to unistall the previous
>>>>>> version
>>>>>> befor
>>>>>> installing a new version. On Linux Mint (not sure Ubuntu is
>>>>>> exactly
>>>>>> the same but
>>>>>> I think it should be) if you right click on the icon in the
>>>>>> menu
>>>>>> you
>>>>>> should get
>>>>>> a dropdown menu with uninstall as one of the options. It may
>>>>>> require
>>>>>> you to keep
>>>>>> the build directory which has the install_manifest.text used
>>>>>> to
>>>>>> do
>>>>>> the
>>>>>> uninstall.
>>>>>> 
>>>>>> David Cousens
>>>>>> 
>>>>>> On Mon, 2021-12-27 at 16:57 +0000, Christian Wehling wrote:
>>>>>>> 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:51  INFO <gnc.gui            > [gnc_load_app_icons]
>>>>>>> Path
>>>>>>> 14:
>>>>>>> /usr/local/share/gnucash/icons
>>>>>>> * 16:48:51  INFO <gnc.gui            > [gnc_load_app_icons]
>>>>>>> Path
>>>>>>> 15:
>>>>>>> /usr/local/share/icons
>>>>>>> * 16:48:51 ERROR <GLib-GIO           > g_settings_new_full:
>>>>>>> assertion
>>>>>>> 'schema != NULL' failed
>>>>>>> * 16:48:51  WARN <gnc.app-utils.gsett>
>>>>>>> [gnc_gsettings_get_settings_ptr()] Ignoring attempt to
>>>>>>> access
>>>>>>> unknown
>>>>>>> gsettings schema org.gnucash.GnuCash.general
>>>>>>> * 16:48:51 ERROR <gnc.app-utils      > GVariant*
>>>>>>> gnc_gsettings_get_user_value(const gchar*, const gchar*):
>>>>>>> assertion
>>>>>>> 'G_IS_SETTINGS (settings_ptr)' failed
>>>>>>> [... and so on]
>>>>>>> 
>>>>>>> If I run:
>>>>>>> glib-compile-schemas --strict /usr/local/share/glib-
>>>>>>> 2.0/schemas/
>>>>>>> /usr/local/share/glib-
>>>>>>> 2.0/schemas/org.gnucash.dialogs.business.gschema.xml:3:1  F
>>>>>>> ehle
>>>>>>> r in
>>>>>>> Zeile 3, Zeichen 1: <schema
>>>>>>> id='org.gnucash.dialogs.business'>
>>>>>>> wurde
>>>>>>> bereits angegeben.  --strict was specified; exiting.
>>>>>>> 
>>>>>>> 
>>>>>>> I had installed version 4.7 in the same way and it worked
>>>>>>> fine.
>>>>>>> 
>>>>>>> What can I do?
>>>>>>> 
>>>>>>> Christian
>>>>>>> 
>>>>>>> _______________________________________________
>>>>>>> gnucash-devel mailing list
>>>>>>> gnucash-devel@gnucash.org
>>>>>>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>>>>>> 
>>>>>> _______________________________________________
>>>>>> gnucash-devel mailing list
>>>>>> gnucash-devel@gnucash.org
>>>>>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>>>>> 
>>>>> _______________________________________________
>>>>> gnucash-devel mailing list
>>>>> gnucash-devel@gnucash.org
>>>>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> 

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to