Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1040348: gnucash 5.1 fails to run finance-quote

103 views
Skip to first unread message

Doug Bell

unread,
Jul 4, 2023, 2:00:05 PM7/4/23
to
Package: gnucash
Version: 1:5.1-1
Severity: important

Dear Maintainer,

Ater the upgrading to gnucash 1:5.1-1, it can not use finance-quote to
update the price database. In the dialog opened with "Tools->Price
Database", the "Get Quotes" button is disabled.

Attempting to get quotes from the command line resulted in this error:
$ gnucash-cli --quotes info
Failed to initialize Finance::Quote: Can't open perl script
"/usr/bin/finance-quote-wrapper": No such file or directory

Should gnucash require an updated version of libfinance-quote-perl
(currently at 1.54.3-1)?

Thanks for your help!
-Doug


-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.3.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnucash depends on:
ii gnucash-common 1:5.1-1
ii guile-3.0 3.0.8-2
ii guile-3.0-libs 3.0.8-2
ii libaqbanking44 6.5.3-1
ii libboost-filesystem1.74.0 1.74.0+ds1-21.1
ii libboost-locale1.74.0 1.74.0+ds1-21.1
ii libboost-program-options1.74.0 1.74.0+ds1-21.1
ii libboost-regex1.74.0 [libboost-regex1.74.0-icu72] 1.74.0+ds1-21.1
ii libc6 2.37-3
ii libcairo2 1.16.0-7
ii libcrypt-ssleay-perl 0.73.06-2+b1
ii libdate-manip-perl 6.92-1
ii libdbi1 0.9.0-6
ii libfinance-quote-perl 1.54-3
ii libgcc-s1 13.1.0-7
ii libgdk-pixbuf-2.0-0 2.42.10+dfsg-1+b1
ii libglib2.0-0 2.74.6-2
ii libgtk-3-0 3.24.37-2
ii libgwengui-gtk3-79 5.10.1-2
ii libgwenhywfar79 5.10.1-2
ii libhtml-tableextract-perl 2.15-2
ii libhtml-tree-perl 5.07-3
ii libicu72 72.1-3
ii libofx7 1:0.10.9-1
ii libpango-1.0-0 1.50.14+ds-1
ii libpangocairo-1.0-0 1.50.14+ds-1
ii libpython3.11 3.11.4-1
ii libsecret-1-0 0.20.5-3
ii libstdc++6 13.1.0-7
ii libwebkit2gtk-4.0-37 2.40.3-2
ii libwww-perl 6.71-1
ii libxml2 2.9.14+dfsg-1.2
ii perl 5.36.0-7
ii zlib1g 1:1.2.13.dfsg-1

Versions of packages gnucash recommends:
pn gnucash-docs <none>
pn python3-gnucash <none>
pn yelp <none>

Versions of packages gnucash suggests:
pn libdbd-mysql <none>
pn libdbd-pgsql <none>
pn libdbd-sqlite3 <none>

-- no debconf information

Olivier Allard-Jacquin

unread,
Jul 14, 2023, 11:10:06 AM7/14/23
to
Hi Doug,

same issue here.

Nevertheless, I'd find a way to fix it:
- the file exist into Debian source repository
- so download
http://deb.debian.org/debian/pool/main/g/gnucash/gnucash_5.1.orig.tar.xz
see https://packages.debian.org/source/trixie/gnucash for information

- uncompress it: tar xJvf gnucash_5.1.orig.tar.xz
gnucash-5.1/libgnucash/quotes/finance-quote-wrapper.in

- apply attached patch (because the "finance-quote-wrapper.in" is not a
ready to use perl script)

- copy new "finance-quote-wrapper" into /usr/bin/finance-quote-wrapper

- you can test result into you gnucash, or with simple test:
gnucash-cli --quotes info
gnucash-cli --quotes dump alphavantage IBM

Regards,
Olivier
finance-quote-wrapper.patch
0 new messages