Problem getting quotes

David Reiser dbreiser at icloud.com
Mon Jul 27 11:42:20 EDT 2015


> On Jul 27, 2015, at 11:08 AM, Hajo Hindirks <hhn10 at gmx.net> wrote:
> 
> I am a new user of gnucash, running the latest version on windows 8.1. I ran install-fq-mods.cmd and it installed strawberry perl, but there is an error message:
> 
> Undefined subroutine &main::Date_Init called at gnc-fq-helper line 350.
> 
> I thought it might be due to a missing Date::Manip, but that seems to be installed:
> 
> cpan> install Date::Manip
> Date::Manip is up to date (6.50).
> 
> Please find below the output of install-fq-mods.cmd and perl gnc-fq-dump yahoo AAPL which seems to work fine. When I try to update the rate of EUR from within gnucash it fails without any specific error message.
> 
> What can I check to get FQ running?
> 
> C:\Program Files (x86)\GnuCash\bin>install-fq-mods.cmd
> * Check Perl
> * Check Perl version
> * Determine which Perl flavour we have found
>  - Other, probably Strawberry perl ?
> * Install required perl modules
> Database was generated on Sun, 26 Jul 2015 14:21:29 GMT
> Updating database file ...
> Done!
> Finance::Quote is up to date (1.37).
> 
> * Run gnc-fq-check
> 
> ("1.37" "hustock" "ftfunds" "mtgox_aud" "mtgox_hkd" "morningstar" "bmonesbittbur
> ns" "trustnet" "troweprice_direct" "bitcoin_sgd" "yahoo_nz" "known_currencies" "
> bitcoin_aud" "stockhousecanada_fund" "fidelity" "nz" "unionfunds" "fetch_live_cu
> rrencies" "platinum" "sixfunds" "fool" "bitcoin_nzd" "citywire" "mtgox_dkk" "mtg
> ox_nzd" "mtgox_chf" "yahoo" "bitcoin_rub" "nasdaq" "yahoo_brasil" "asia" "uk_uni
> t_trusts" "bitcoin_sek" "nyse" "maninv" "yahoo_australia" "bse" "adig" "nzx" "bi
> tcoin_dkk" "indiamutual" "mtgox_sgd" "asegr" "bitcoin_usd" "canada" "bitcoin_thb
> " "tiaacref" "brasil" "tdwaterhouse" "sixshares" "mtgox_pln" "bourso" "romania"
> "amfiindia" "mtgox_jpy" "ftportfolios_direct" "mtgox_usd" "bitcoin_cad" "tnetuk"
> "asx" "france" "bsero" "hu" "hex" "ukfunds" "morningstarjp" "bamosz" "za_unittr
> usts" "dwsfunds" "lerevenu" "bitcoin_eur" "europe" "bitcoin_jpy" "yahoo_asia" "t
> defunds" "mtgox_cny" "fidelity_direct" "bitcoin_gbp" "yahoo_json" "cse" "yahoo_e
> urope" "bet" "seb_funds" "bitcoin_cny" "bitcoin_hkd" "finanzpartner" "usa" "comi
> nvest" "mtgox_thb" "mstaruk" "bitcoin_chf" "ftportfolios" "finland" "mtgox_eur"
> "troweprice" "goldmoney" "vanguard" "financecanada" "hungary" "bitcoin_pln" "gre
> ece" "mtgox_sek" "deka" "bitcoin_nok" "hufund" "fundlibrary" "aiahk" "mtgox_gbp"
> "aex" "usfedbonds" "za" "australia" "tsp" "canadamutual" "mtgox_rub" "dutch" "t
> sx" "vwd" "mtgox_nok" "mtgox_cad")
> 
> * Run gnc-fq-helper
> 
> Undefined subroutine &main::Date_Init called at gnc-fq-helper line 350.
> 
> An error occurred, see above.
> 
> Drücken Sie eine beliebige Taste . . .
> 
> C:\Program Files (x86)\GnuCash\bin>perl gnc-fq-dump yahoo AAPL
> Finance::Quote fields Gnucash uses:
>    symbol: AAPL                 <=== required
>      date: 07/27/2015           <=== required
>  currency: USD                  <=== required
>      last: 123.3171             <=\
>       nav:                      <=== one of these
>     price: 123.3171             <=/
>  timezone:                      <=== optional
> 
> C:\Program Files (x86)\GnuCash\bin>
> 

Finance::Quote has switched from using Date::Manip to using DateTime. There is a bug report posted in one of the F::Q places. You may need to figure out how Windows perls name their modules in order to get DateTime installed.

Dave
--
Dave Reiser
dbreiser at icloud.com







More information about the gnucash-user mailing list