Is this a bug, or just my mistake

Frank H. Ellenberger frank.h.ellenberger at gmail.com
Sun Mar 9 05:42:23 EDT 2014


Hi Ken,

Am 09.03.2014 02:33, schrieb farleykj:
> I wrote a short Perl script to get me a quote for an oddball fund in my
> 401(k). The script was working okay, so I installed it in the proper
> Finance::Quote file, and got it working okay.
> I tried it out with "gnc-fq-dump" and things looked good.
> However, trying to use it within Gnucash not only didn't work, it errored
> out and prevented the program from getting all my other quotes, like yahoo,
> etc.

See
http://wiki.gnucash.org/wiki/FAQ#Q:_How_do_I_fix_a_system_error_when_getting_stock_quotes.3F
4.
So
 echo '(<source> "<symbol>")' | gnc-fq-helper
will show you the returned result.

> I looked into the code and found that I'd inadvertantly forgotten to turn
> off a debugging "print" statement and that was what was killing things.
> I'm assuming Gnucash parses the data spit back from its own or the same
> "fq-dump" routine, and couldn't handle my improperly formatted debugging
> gibberish? Is my understanding of the mechanisms behind the quote retreival
> process correct?
> 
> 
> 
> -----
> Ken Farley

~Frank



More information about the gnucash-user mailing list