[GNC] GnuCash on macOS Big Sur "Finance::Quote isn't installed properly"

Justin jtraglia at pm.me
Tue Jan 19 23:32:06 EST 2021


Hello everyone,

I have an issue with GnuCash (4.4) and Finance::Quote (1.49) on macOS Big Sur (11.0). Despite not being officially supported, GnuCash itself works great, with the exception of Finance::Quote. The "get quotes" button in the Price Database is grayed out and the Security Editor has the warning "Finance::Quote isn't installed properly." When running Gnucash-cli, there is a similar error:

> $ /Applications/Gnucash.app/Contents/MacOS/Gnucash-cli --quotes get /Users/username/Documents/Finances/Tracking/finances.gnucash --debug
> Application Path /Applications/Gnucash.app/Contents/MacOS/Gnucash-cli
> 

> (process:2277): gnc.gui-WARNING **: 22:01:17.540: [mac_set_languages()] Language list: en:en_US:C
> * 22:01:17  INFO <gnc.backend.dbi> [gnc_module_init_backend_dbi] 3 DBD drivers found
> * 22:01:17  INFO <gnc.backend.dbi> [gnc_module_init_backend_dbi] Driver: pgsql
> * 22:01:17  INFO <gnc.backend.dbi> [gnc_module_init_backend_dbi] Driver: sqlite3
> * 22:01:17  INFO <gnc.backend.dbi> [gnc_module_init_backend_dbi] Driver: mysql
> * 22:01:17  INFO <gnc.gui> [Gnucash::CoreApp::start] System locale returned (null)
> * 22:01:17  INFO <gnc.gui> [Gnucash::CoreApp::start] Effective locale set to en_US.UTF-8.
> * 22:01:17  INFO <gnc.app-utils.gsettings> [gnc_gsettings_register_cb] schema: general, key: retain-days, settings_ptr: 0x7fde7e839430, handler_id: 1
> * 22:01:17  INFO <gnc.app-utils.gsettings> [gnc_gsettings_register_cb] schema: general, key: retain-type-never, settings_ptr: 0x7fde7e839430, handler_id: 2
> * 22:01:17  INFO <gnc.app-utils.gsettings> [gnc_gsettings_register_cb] schema: general, key: retain-type-days, settings_ptr: 0x7fde7e839430, handler_id: 3
> * 22:01:17  INFO <gnc.app-utils.gsettings> [gnc_gsettings_register_cb] schema: general, key: retain-type-forever, settings_ptr: 0x7fde7e839430, handler_id: 4
> * 22:01:17  INFO <gnc.app-utils.gsettings> [gnc_gsettings_register_cb] schema: general, key: file-compression, settings_ptr: 0x7fde7e839430, handler_id: 5
> No quotes retrieved. Finance::Quote isn't installed properly.
> * 22:01:17  INFO <gnc.engine> [gnc_hook_lookup] no hook lists

The error message above isn't particularly useful. It gets printed here:
https://github.com/Gnucash/gnucash/blob/1e7433daf3307fb3e6ff6d479aacb22d42941fda/gnucash/gnucash-commands.cpp#L91

I'm pretty sure that Finance::Quote itself is installed properly. I'm not really sure why GnuCash does not recognize it.

> $ sudo gnc-fq-update
> Reading '/Users/username/.cpan/Metadata'
>   Database was generated on Wed, 20 Jan 2021 02:29:03 GMT
> Date::Manip is up to date (6.83).
> Finance::Quote is up to date (1.49).

A basic query shows that it does work:

> $ echo '(yahoo_json "CSCO")' | /Applications/Gnucash.app/Contents/Resources/bin/gnc-fq-helper
> (("CSCO" (symbol . "CSCO") (gnc:time-no-zone . "2021-01-19 12:00:00") (last . #e45.19) (currency . "USD")))

Thanks,
JT
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - jtraglia at pm.me - 0x04DB65EA.asc
Type: application/pgp-keys
Size: 1770 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20210120/5833f9a8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 509 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20210120/5833f9a8/attachment.sig>


More information about the gnucash-user mailing list