EU en USD currencies not updated after upgrading to Ubunto 12.04

Frank H. Ellenberger frank.h.ellenberger at gmail.com
Mon Dec 30 11:19:47 EST 2013


Hi,

Am 30.12.2013 11:13, schrieb liberace:
> Ok Frank
>
> Here are the results. Hope they give you some insights whats wrong.
>
> gnc-fq-dump -v yahoo USDEUR=X
>
>
>

Did you loose here something?

>   nav:                      <=== one of these
>       price: 0.7276               <=/
>    timezone:                      <=== optional
>
> All fields returned by Finance::Quote for stock USDEUR=X
>
> stock           field  value
> -----           -----  -----
> USDEUR=X          ask: 0.7277
> USDEUR=X      avg_vol: 0
> USDEUR=X          bid: 0.7275
> USDEUR=X          cap:
> USDEUR=X        close:
> USDEUR=X     currency: EUR
> USDEUR=X         date: 12/30/2013
> USDEUR=X    day_range: N/A - N/A
> USDEUR=X          div:
> USDEUR=X     div_date:
> USDEUR=X    div_yield:
> USDEUR=X          eps:
> USDEUR=X       ex_div:
> USDEUR=X         high:
> USDEUR=X      isodate: 2013-12-30
> USDEUR=X         last: 0.7276
> USDEUR=X          low:
> USDEUR=X       method: yahoo
> USDEUR=X         name: USD to EUR
> USDEUR=X          net:
> USDEUR=X         open:
> USDEUR=X     p_change:
> USDEUR=X           pe:
> USDEUR=X        price: 0.7276
> USDEUR=X      success: 1
> USDEUR=X       symbol: USDEUR=X
> USDEUR=X         time: 04:38
> USDEUR=X       volume:
> USDEUR=X   year_range: N/A - N/A
>
>
> ------------------------------------------------------------------
>
> gnc-fq-dump -v yahoo USDEUR=X
> Finance::Quote fields Gnucash uses:
>      symbol: USDEUR=X             <=== required
>        date: 12/30/2013           <=== required
>    currency: EUR                  <=== required
>        last: 0.7275               <=\
>         nav:                      <=== one of these
>       price: 0.7275               <=/
>    timezone:                      <=== optional
>
> All fields returned by Finance::Quote for stock USDEUR=X
>
> stock           field  value
> -----           -----  -----
> USDEUR=X          ask: 0.7275
> USDEUR=X      avg_vol: 0
> USDEUR=X          bid: 0.7275
> USDEUR=X          cap:
> USDEUR=X        close:
> USDEUR=X     currency: EUR
> USDEUR=X         date: 12/30/2013
> USDEUR=X    day_range: N/A - N/A
> USDEUR=X          div:
> USDEUR=X     div_date:
> USDEUR=X    div_yield:
> USDEUR=X          eps:
> USDEUR=X       ex_div:
> USDEUR=X         high:
> USDEUR=X      isodate: 2013-12-30
> USDEUR=X         last: 0.7275
> USDEUR=X          low:
> USDEUR=X       method: yahoo
> USDEUR=X         name: USD to EUR
> USDEUR=X          net:
> USDEUR=X         open:
> USDEUR=X     p_change:
> USDEUR=X           pe:
> USDEUR=X        price: 0.7275
> USDEUR=X      success: 1
> USDEUR=X       symbol: USDEUR=X
> USDEUR=X         time: 04:40
> USDEUR=X       volume:
> USDEUR=X   year_range: N/A - N/A

OK, as expected.
> ---------------------------------------------------------------
>   gnucash --debug
> gnc.bin-Message: main: binreloc relocation support was disabled at configure
> time.
>
> Found Finance::Quote version 1.17

wiki: Make sure you're running Finance::Quote 1.18 version or later. 
Earlier versions can no longer retrieve currency quotes.

Here is your Problem. Probably you installed F::Q twice, from Ubuntu and 
CPAN, but only one was updated and now the old version is disturbing.

> ------------------------------------------------------------------
>   perldoc -lm Finance::Quote::Tiaac
> No module found for "Finance::Quote::Tiaac"
>

# perldoc -lm Finance::Quote::Tiaacref
/usr/lib/perl5/vendor_perl/5.18.1/Finance/Quote/Tiaacref.pm

Is copy&paste too difficult? ;-)
But for your module:
# perldoc -lm Finance::Quote::Currencies
/usr/lib/perl5/vendor_perl/5.18.1/Finance/Quote/Currencies.pm

HTH
Frank


More information about the gnucash-user mailing list