GNOME Bugzilla – Bug 720235
Python bindings should load environment file just like gnucash does
Last modified: 2018-06-29 23:22:25 UTC
At startup, gnucash sets a number of environment variables based on the contents of the environment configuration file found in <prefix>/etc/gnucash. Some of these parameters are required to properly work when not installed in the linux default /usr environment. For example, the gsettings schemas are not found unless this environment file has been parsed. The python bindings currently don't load these settings and hence run into the above issue. That can easily be fixed by exposing the functions that parse the environment file to python and run those functions in the python initialization code.
Committed as r23539.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=720235. Please update any external references or bookmarks.