[GNC] gnucash: Not able to get Online Quotes to work

John Ralls jralls at ceridwen.fremont.ca.us
Mon Nov 5 18:59:20 EST 2018


Those both show catastrophic failure of GnuCash to even start, so there’s something wrong with the way you’re trying to start GnuCash from the command line. There may be a clue there: You can run gnc-fq-dump but not GnuCash, so GnuCash when launched the usual way must be getting a different environment, one that doesn’t get the same perl includes that your command-line one does.

Regards,
John Ralls


> On Nov 6, 2018, at 6:18 AM, Joe Peters <joe.j.peters at hotmail.com> wrote:
> 
> Hello,
> Doing some further digging, trying to figure this problem out; why online quotes will not work for me.  I ran gnucash --debug.  This is the .trace file contents.  Would anyone know if these warning may be causing the issue?
> 
> * 13:52:54  INFO <gnc.gui> [main] System locale returned en_CA.UTF-8
> * 13:52:54  INFO <gnc.gui> [main] Effective locale set to en_CA.UTF-8.
> * 13:52:54  INFO <gnc.engine> [gnc_hook_lookup] no hook lists
> * 13:52:54  WARN <gnc.module> Could not locate module gnucash/app-utils interface v.0
> * 13:52:54  WARN <gnc.module> Could not locate module gnucash/engine interface v.0
> * 13:52:54  WARN <gnc.module> Could not locate module gnucash/register/ledger-core interface v.0
> * 13:52:54  WARN <gnc.module> Could not locate module gnucash/register/register-core interface v.0
> * 13:52:54  WARN <gnc.module> Could not locate module gnucash/register/register-gnome interface v.0
> * 13:52:54  WARN <gnc.module> Could not locate module gnucash/import-export/qif-import interface v.0
> * 13:52:54 MESSG <gnc.module> Could not locate optional module gnucash/import-export/ofx interface v.0
> * 13:52:54 MESSG <gnc.module> Could not locate optional module gnucash/import-export/csv-import interface v.0
> * 13:52:54 MESSG <gnc.module> Could not locate optional module gnucash/import-export/csv-export interface v.0
> * 13:52:54 MESSG <gnc.module> Could not locate optional module gnucash/import-export/log-replay interface v.0
> * 13:52:54 MESSG <gnc.module> Could not locate optional module gnucash/import-export/aqbanking interface v.0
> * 13:52:54  WARN <gnc.module> Could not locate module gnucash/report/report-system interface v.0
> * 13:52:54  WARN <gnc.module> Could not locate module gnucash/report/stylesheets interface v.0
> * 13:52:54  WARN <gnc.module> Could not locate module gnucash/report/standard-reports interface v.0
> * 13:52:54  WARN <gnc.module> Could not locate module gnucash/report/utility-reports interface v.0
> * 13:52:54  WARN <gnc.module> Could not locate module gnucash/report/locale-specific/us interface v.0
> * 13:52:54  WARN <gnc.module> Could not locate module gnucash/report/report-gnome interface v.0
> * 13:52:54 MESSG <gnc.module> Could not locate optional module gnucash/business-gnome interface v.0
> * 13:52:54 MESSG <gnc.module> Could not locate optional module gnucash/gtkmm interface v.0
> * 13:52:54 MESSG <gnc.module> Could not locate optional module gnucash/python interface v.0
> * 13:52:54 MESSG <gnc.module> Could not locate optional module gnucash/plugins/bi_import interface v.0
> * 13:52:54 MESSG <gnc.module> Could not locate optional module gnucash/plugins/customer_import interface v.0
> * 13:52:54  WARN <gnc.bin> GnuCash engine failed to initialize.  Exiting.
> 
> 
> 
> Also, when I run gnucash --debug --add-price-quotes HomeFinance.gnucash     In terminal these are the msg's I get (not sure I ran it correctly?).  I have no idea what this means?
> 
> Backtrace:
> In ice-9/boot-9.scm:
> 160: 8 [catch #t #<catch-closure 55d8cd7f8640> ...]
> In unknown file:
>   ?: 7 [apply-smob/1 #<catch-closure 55d8cd7f8640>]
>   ?: 6 [call-with-input-string "(gnc:price-quotes-install-sources)" ...]
> In ice-9/boot-9.scm:
> 2404: 5 [save-module-excursion #<procedure 55d8cd717de0 at ice-9/eval-string.scm:65:9 ()>]
> In ice-9/eval-string.scm:
>  44: 4 [read-and-eval #<input: string 55d8cd60b5b0> #:lang ...]
>  37: 3 [lp (gnc:price-quotes-install-sources)]
> In ice-9/eval.scm:
> 386: 2 [eval #<memoized (gnc:price-quotes-install-sources)> ()]
> 393: 1 [eval #<memoized gnc:price-quotes-install-sources> ()]
> In unknown file:
>   ?: 0 [memoize-variable-access! # #]
> 
> ERROR: In procedure memoize-variable-access!:
> ERROR: Unbound variable: gnc:price-quotes-install-sources
> 
> Any suggestions or help would be great.
> 
> Best regards,
> Joe
> 
> ________________________________
> From: gnucash-user <gnucash-user-bounces+joe.j.peters=hotmail.com at gnucash.org> on behalf of Joe Peters <joe.j.peters at hotmail.com>
> Sent: November 4, 2018 3:24 PM
> To: gnucash-user at gnucash.org
> Subject: [GNC] gnucash: Not able to get Online Quotes to work
> 
> When trying to edit a security, in the 'Edit Security' window, under 'Quote Source Information', everything is grayed out and there is a warning: '> Warning: Finance::Quote not installed properly. <.
> 
> 
> GnuCash Help|About
> Version: 3.2
> Build ID: 3.2+ (2018-06-24)
> Finance::Quote: -
> 
> 
>  *   I am running linux mint 19 cinnamon
> 
>  *   I have set ALPHAVANTAGE_API_KEY=*############## in /etc/gnucash/environment. Where ### is my actual key number.*
> 
>  *   I have the same key number entered in the preferences tab of gnucash.
>  *   I can run (in terminal window) (i exported the ALPHAVANTAGE_API_KEY in the .bashrc file)
> 
> gnc-fq-dump alphavantage msft
> 
> Finance::Quote fields Gnucash uses:
> 
> symbol: msft <=== required
> 
> date: 11/01/2018 <=== recommended
> 
> currency: USD <=== required
> 
> last: 106.3700 <=\
> 
> nav: <=== one of these
> 
> price: <=/
> 
> timezone: <=== optional
> 
> 
> Any help would be greatly appreciated. I have run out of ideas to solve this problem.
> 




More information about the gnucash-user mailing list