Is this a bug, or just my mistake

John Ralls jralls at ceridwen.us
Sat Mar 8 21:06:38 EST 2014


On Mar 8, 2014, at 5:33 PM, farleykj <farleykj at gmail.com> wrote:

> 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.
> 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?

Sounds right to me. It’s a very brittle script, and the interface code isn’t much better.

Regards,
John Ralls




More information about the gnucash-user mailing list