Public bug reported:

Binary package hint: libfinance-quote-perl

In upgrading to Intrepid, Gnucash was no longer able to fetch stock quotes.  
Using the Gnucash utility gnc-fq-dump, I got the following output:
--------------
[EMAIL PROTECTED]:~$ gnc-fq-dump -v yahoo AMD
Finance::Quote fields Gnucash uses:
    symbol: AMD                  <=== required
      date: 00/00/2000           <=== required
  currency: USD                  <=== required
      last: 5.42                 <=\       
       nav:                      <=== one of these
     price: 5.42                 <=/        
  timezone:                      <=== optional

All fields returned by Finance::Quote for stock AMD
---------------

As you can see the date returned was erroneous.  After some internet
searching and comparison to my other Debian system, I found that
/usr/share/perl5/Finance/Quote/Yahoo/Base.pm had an error in it.  In the
@FIELDS definition, "time" was before "date", but in the @FIELD_ENCODING
definition "d1" was before "t1".  Swapping the position of either of
those (so they properly corresponded to each other) fixed the problem.

** Affects: libfinance-quote-perl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Finance:Quote fails to correctly fetch data for Gnucash
https://bugs.launchpad.net/bugs/272777
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to