price quotes
John Ralls
jralls at ceridwen.us
Sat Mar 21 23:09:30 EDT 2015
> On Mar 22, 2015, at 9:28 AM, Derek Atkins <warlord at mit.edu> wrote:
>
> yuquiyu at verizon.net writes:
>
>> I am using the latest git pull compiled on a kubuntu box (latest ver).
>> I also installed the perl price quote from cpan. Using gnc-fq-dump for
>> a quote returns the correct answer. Trying to update through the price
>> editor return the 'unknown error while...' message. 1st question: do I
>> have to do a manual config of the perl module if I compiled myself?
>> 2nd ?: Will gnucash iterate through all of the securities disregarding
>> those that return errors or will it choke on the first error and quit?
>> Thanks
>
> I'll answer the 2nd question: Yes, GnuCash will allow you to skip the
> bad quotes and import only the working ones.
>
> As for the 1st question, you shouldn't have to do anything. If
> gnc-fq-dump works and gives you good data then GnuCash *should* be able
> to access the quotes.
That's mostly true. There are some cases where gnc-fq-helper returns #f without specifying which commodity it failed on, and that produces the "Unknown error..." message in prices.scm and aborts the whole process. You can sometimes get more information by running gnc-fq-helper. It's interactive, so read the comments to see how to format a request and understand a reply.
Regards,
John Ralls
More information about the gnucash-user
mailing list