Can't quote.
Laurent FRANCOIS
lfrancois-ophta at worldonline.fr
Fri Nov 17 03:19:59 EST 2006
David Hampton wrote:
> On Fri, 2006-11-17 at 15:33 +1100, Laurent FRANCOIS wrote:
>
>>Hello,
>>
>>I'am on debian etch with the last 2.0.2 gnucash package.
>>
>>When I try to quote for example IBM I got a "unknown error"
>
>
> What output do you get when you run these commands:
>
> gnc-fq-dump yahoo IBM
> echo '(yahoo "IBM")' | gnc-fq-helper
>
> David
>
Here we go:
$ gnc-fq-dump yahoo IBM
Finance::Quote fields Gnucash uses:
symbol: IBM <=== required
date: 11/16/2006 <=== required
currency: USD <=== required
last: 93.47 <=\
nav: <=== one of these
price: 93.47 <=/
timezone: <=== optional
$ echo '(yahoo "IBM")'|gnc-fq-helper
ERROR: Date::Manip unable to determine TimeZone.
at /usr/share/perl5/Date/Manip.pm line 3637
Date::Manip::Date_TimeZone called at
/usr/share/perl5/Date/Manip.pm line 678
Date::Manip::Date_Init() called at
/usr/share/perl5/Date/Manip.pm line 801
Date::Manip::ParseDateString('11/16/2006 4:00pm') called at
/usr/bin/gnc-fq-helper line 217
main::get_quote_time('IBM', 'HASH(0x84ec028)') called at
/usr/bin/gnc-fq-helper line 247
main::schemify_quote('IBM', 'HASH(0x84ec028)', 2) called at
/usr/bin/gnc-fq-helper line 280
main::schemify_quotes('ARRAY(0x81c6ed8)', 'HASH(0x84ec028)')
called at /usr/bin/gnc-fq-helper line 369
So it seems to be a problem of timezone. Is it coming from my configuration?
--
SIP | (131) 440-3375 at sip.freeipcall.com
Skype kuendu
More information about the gnucash-user
mailing list