> On May 9, 2022, at 9:50 PM, [email protected] wrote:
>
> I have just setup getting finance quotes for Gnucash for the first time for GC
> 4.10 on Linux Mint 20.3. I was setting up a shell script to shutdown GnuCash,
> update the finance quotes and restart GnuCash after the quotes had been
> written
> to the datafile. The finance quote seems to work ok but when I restarted
> GnuCash
> from the script, the following appeared in the terminal after the script
> exited.
>
> $ Traceback (most recent call last):
> File "/usr/lib/python3/dist-packages/gnucash/gnucash_core_c.py", line 14, in
> swig_import_helper
> return importlib.import_module(mname)
> File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
> File "<frozen importlib._bootstrap>", line 991, in _find_and_load
> File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 657, in _load_unlocked
> File "<frozen importlib._bootstrap>", line 556, in module_from_spec
> File "<frozen importlib._bootstrap_external>", line 1166, in create_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> ImportError: libgncmod-app-utils.so: cannot open shared object file: No such
> file or directory
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "/usr/local/share/gnucash/python/init.py", line 2, in <module>
> from gnucash import *
> File "/usr/lib/python3/dist-packages/gnucash/__init__.py", line 6, in
> <module>
> from gnucash.gnucash_core import *
> File "/usr/lib/python3/dist-packages/gnucash/gnucash_core.py", line 31, in
> <module>
> import gnucash.gnucash_core_c as gnucash_core_c
> File "/usr/lib/python3/dist-packages/gnucash/gnucash_core_c.py", line 17, in
> <module>
> _gnucash_core_c = swig_import_helper()
> File "/usr/lib/python3/dist-packages/gnucash/gnucash_core_c.py", line 16, in
> swig_import_helper
> return importlib.import_module('_gnucash_core_c')
> File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> ModuleNotFoundError: No module named '_gnucash_core_c'
> Found Finance::Quote version 1.51.
>
> I get the same error with no additional info restarting GnuCash from the
> command
> line with --debug. It seems to be more associated with the python bindings
> than
> anything to do with getting online quotes. I do compile with -D
> WITH_PYTHON+ON
> when I build it. Haven't ever started GC from a script or terminal recently
> but
> I presume this happens from the desktop launcher as well, just isn't visible.
>
> Has anyone struck this before?
I see that sometimes when I build GnuCash with -D WITH_PYTHON=ON and run from
the build directory without installing.
It's safe to ignore, being about the python console feature and not affecting
anything in GnuCash proper.
Regards,
John Ralls
_______________________________________________
gnucash-user mailing list
[email protected]
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.