Finance::Quote under 2.2.6 Not working?

Frank H. Ellenberger f.ellenberger at online.de
Wed Sep 10 09:16:47 EDT 2008


Am Wednesday 10 September 2008 07:24:13 schrieb David T.:
> See below...
>
> --- On Tue, 9/9/08, David Reiser <dbreiser at earthlink.net> wrote:
> > From: David Reiser <dbreiser at earthlink.net>
> > Subject: Re: Finance::Quote under 2.2.6 Not working?
> > To: sunfish62 at yahoo.com
> > Cc: "devel gnucash" <gnucash-devel at gnucash.org>
> > Date: Tuesday, September 9, 2008, 6:38 PM
> >
> > On Sep 9, 2008, at 4:05 PM, David T. wrote:
> > > I have been unable to get quotes in GC for a while now
> >
> > (since I
> >
> > > upgraded to 2.2.6?); clicking the Get Quotes button
> >
> > yields an
> >
> > > hourglass and hangs and my only recourse is to kill
> >
> > the process. I
> >
> > > am running GC 2.2.6 on an IntelMac with Leopard 10.5.4
> >
> > and x-quartz
> >
> > > 2.2.3.

Hm, this seems specific to Mac, under linux I got a message like "Could not 
retrieve ..."

> > >
> > > Any help is welcome.
> > >
> > > David
> >
> > Hmm. Works for me. How did you install gnucash and/or
> > update?
>
> Installed gnucash2 a while back using Fink. Ran fink update gnucash2 to
> update to 2.2.6
>
> > Did you
> > update x-quartz before or after updating gnucash? (I
> > don't think
> > xquartz is the problem, but...)
>
> I don't recall which one came before the other.
>
> > What happens if you type:
> >
> > gnc-fq-dump yahoo AAPL
> >
> > in a terminal window?
>
> Finance::Quote fields Gnucash uses:
>     symbol: AAPL                 <=== required
>       date: 00/00/2000           <=== required

I also saw this date/time mismatch, which seems caused by a changed yahoo 
format.
After reading of  
https://lists.gnucash.org/pipermail/gnucash-user/2008-July/026127.html and 
http://sourceforge.net/forum/forum.php?thread_id=1731500&forum_id=12832 I 
decided to remove d1 from 
<where your pearl archive sits>/Finance/Quote/Yahoo/Base.pm
in line 63; @FIELD_ENCODING ...
And it worked again for me.
It seems, date and time are stored now in one var.


>   currency: USD                  <=== required
>       last: 151.68               <=\
>        nav:                      <=== one of these
>      price: 151.68               <=/
>   timezone:                      <=== optional
>
> > What quote source are you trying to use?
>
> Whatever Gnucash/F::Q has chosen (I assume yahoo.com)
>
> > Have you knowingly updated any of your perl setup lately?
>
> Not knowingly. ;)
>
> > When you start gnucash, what does the terminal say about
> > finding
> > Finance-Quote?
>
> bash-3.2$ gnucash
> gnc.bin-Message: main: binreloc relocation support was disabled at
> configure time.
>
> Found Finance::Quote version 1.13
>
> > Dave
> > --
> > David Reiser
> > dbreiser at earthlink.net
>
> I'm pretty sure that the Get Quotes button would be greyed out if F::Q
> weren't found to be working. This hourglass business is new to me.
>
> David
>
>
>
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel




More information about the gnucash-devel mailing list