Online Update of prices is dead
Beth Leonard
beth at oasis.slimy.com
Mon Feb 9 15:21:35 EST 2009
On Mon, Feb 09, 2009 at 12:46:04PM -0500, Derek Atkins wrote:
> > Anyway, when using "gnc-fq-dump yahoo ALVR" I get the proper result:
> >
> >> [smpouh at localhost indigo_v1.0.9_3]$ gnc-fq-dump yahoo ALVR
> >
> >> Finance::Quote fields Gnucash uses:
> >> symbol: ALVR <=== required
> >> date: 02/06/2009 <=== required
> >> currency: USD <=== required
> >> last: 3.68 <=\
> >> nav: <=== one of these
> >> price: 3.68 <=/
> >> timezone: <=== optional
I have recently started trying to use finance-quote and I ran into a
different issue, the dates are incorrect. For example, I get the following
from the above command:
Finance::Quote fields Gnucash uses:
symbol: ALVR <=== required
date: 00/00/2000 <=== required
currency: USD <=== required
last: 3.60 <=\
nav: <=== one of these
price: 3.60 <=/
timezone: <=== optional
i.e. The price is right but the date is wrong. When I echo it through gnc-fq-helper
I get:
beth at oasis [12:06pm] echo '(yahoo "ALVR")' | gnc-fq-helper
Use of uninitialized value $year in numeric lt (<) at /usr/share/perl5/Finance/Quote.pm line 637, <> line 1.
Use of uninitialized value $month in pattern match (m//) at /usr/share/perl5/Finance/Quote.pm line 655, <> line 1.
Use of uninitialized value $month in sprintf at /usr/share/perl5/Finance/Quote.pm line 660, <> line 1.
Use of uninitialized value $day in sprintf at /usr/share/perl5/Finance/Quote.pm line 660, <> line 1.
Use of uninitialized value $month in sprintf at /usr/share/perl5/Finance/Quote.pm line 661, <> line 1.
Use of uninitialized value $day in sprintf at /usr/share/perl5/Finance/Quote.pm line 661, <> line 1.
Use of uninitialized value $result in pattern match (m//) at /usr/bin/X11/gnc-fq-helper line 220.
(("ALVR" (symbol . "ALVR") (gnc:time-no-zone . failed-conversion) (last . 3.595) (currency . "USD")))
I'm using GnuCash 2.2.6 under debian and haven't yet done a full search to discover
if this problem is already fixed in a later version.
--Beth
Beth Leonard
http://www.LeonardFamilyVideos.com
More information about the gnucash-user
mailing list