[GNC] Compiled release 5.6 - finance-quote not working
osbert
bugzilla at orcon.net.nz
Sun Apr 14 14:16:56 EDT 2024
I have compiled the latest stable release 5.6 on Linux Mint. After
installation, I am able to run the program, but the application fails at
the finance-quotequery. I get the error
"https://query2.finance.yahoo.com/v11/finance/quoteSummary/?symbol=AAPL&modules=price,summaryDetail,defaultKeyStatistics
resulted in HTTP response 401 (Unauthorized)". What does it take to make
finance-quote run successfully?
Here is what was executed:
cd build-gnucash-5.6
cmake CMAKE_INSTALL_PREFIX=/opt/gnucash -D WITH_PYTHON=ON ../source
make
sudo ./bin/gnc-fq-update
# std-output
# ...
# Test2 is up to date (1.302198).
# Finance::Quote is up to date (1.59).
# JSON::Parse is up to date (0.62).
sudo make install
gnucash --debug
# std-outupt
;;; WARNING: loading compiled file
/usr/local/lib/x86_64-linux-gnu/guile/2.2/site-ccache/gnucash/utilities.go
failed:
;;; ERROR: In procedure make_objcode_from_file: bad header on object
file: "\x7fELF\x02\x01\x01ΓΏ\x00\x00\x00\x00\x00\x00\x00\x00"
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'
Thanks for any feedback on this matter.
More information about the gnucash-user
mailing list