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
publickey - jtraglia@pm.me - 0x04DB65EA.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
_______________________________________________ gnucash-user mailing list gnucash-user@gnucash.org 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.