Problem retrieving stock quotes

David Hampton gnucash at love2code.net
Tue May 29 15:18:37 EDT 2007


You appear to have a bad F::Q installation.  Everywhere in your output
where the words "failed-conversion" appear, I see a valid date/time
value.

David


On Mon, 2007-05-28 at 19:59 +0200, chris willis wrote:
> Hi all,
> 
> Can anyone tell me why I cannot retrieve stock and fund quotes whilst still 
> being able to retrieve currency quotes. I am running Gnucash V2.0.5 with 
> version 1.13 of Finance::Quote on SUSE 10.2. Looks to be something to do with 
> the input of time zone which, I thought, was optional. I ran Gnucash with the 
> debug option set and the output was :
> 
> bigshot at ubuntu:~> gnucash --debug --add-price-quotes=$HOME/wealth
> gnucash: [D] (results ("1.13" "tsp" "vwd" "financecanada" "yahoo_nz" 
> "australia" "usa" "troweprice" "france" "amfiindia" "nasdaq" "usfedbonds" 
> "bmonesbittburns" "aex_options" "yahoo_asia" "troweprice_direct" "tiaacref" 
> "canada" "yahoo" "seb_funds" "yahoo_brasil" "fidelity" "aiahk" "greece" 
> "dwsfunds" "yahoo_australia" "unionfunds" "finland" "lerevenu" "asia" 
> "indiamutual" "hex" "brasil" "asegr" "deka" "nyse" "canadamutual" 
> "fidelity_direct" "asx" "tdwaterhouse" "fool" "trustnet" 
> "ftportfolios_direct" "uk_unit_trusts" "dutch" "ftportfolios" "tdefunds" 
> "nzx" "za" "aex_futures" "fundlibrary" "stockhousecanada_fund" "aex" 
> "yahoo_europe" "nz" "vanguard" "bourso" "europe" "platinum" "maninv"))
> gnucash: [M] "Found Finance::Quote version ""1.13"
> gnucash: [D] "in add-quotes-to-book-at-url"
> gnucash: [D] "about to call gnc:book-add-quotes"
> gnucash: [D] (handling-request ("vwd" "477166" "974163" "A0AQGX" "973347" 
> "989226" "847101" "977479" "A0MJ48" "692621" "987144" "SBL1TW" "797739" 
> "977988" "A0D94M" "EQQQ"))
> gnucash: [D] (results (("477166" (symbol . "477166") (gnc:time-no-zone . 
> failed-conversion) (last . 71.0) (currency . "DEM")) ("974163" (symbol . 
> "FN8A") (gnc:time-no-zone . failed-conversion) (last . 16.9) (currency . 
> "EUR")) ("A0AQGX" (symbol . "RFLH") (gnc:time-no-zone . failed-conversion) 
> (last . 65.43) (currency . "EUR")) ("973347" (symbol . "NDJA") 
> (gnc:time-no-zone . failed-conversion) (last . 44.9) (currency . "EUR")) 
> ("989226" (symbol . "HZ5A") (gnc:time-no-zone . failed-conversion) (last . 
> 34.94) (currency . "EUR")) ("847101" (symbol . "HJVD") (gnc:time-no-zone . 
> failed-conversion) (last . 139.8) (currency . "EUR")) ("977479" (symbol . 
> "OG7B") (gnc:time-no-zone . failed-conversion) (last . 105.0) (currency . 
> "EUR")) ("A0MJ48" (symbol . "A0MJ48") (gnc:time-no-zone . failed-conversion) 
> (last . 208.85) (currency . "EUR")) ("692621" (symbol . "XTKG") 
> (gnc:time-no-zone . failed-conversion) (last . 101.85) (currency . "EUR")) 
> ("987144" (symbol . "TEP7") (gnc:time-no-zone . failed-conversion) (last . 
> 34.6) (currency . "EUR")) ("SBL1TW" (symbol . "ZZP8") (gnc:time-no-zone . 
> failed-conversion) (last . 115.05) (currency . "EUR")) ("797739" (symbol . 
> "MZR2") (gnc:time-no-zone . failed-conversion) (last . 15.65) (currency . 
> "EUR")) ("977988" (symbol . "HG4H") (gnc:time-no-zone . failed-conversion) 
> (last . 73.2) (currency . "EUR")) ("A0D94M" (symbol . "R6C") 
> (gnc:time-no-zone . failed-conversion) (last . 27.75) (currency . "EUR")) 
> ("EQQQ" (symbol . "EQQQ") (gnc:time-no-zone . failed-conversion) (last . 
> 34.43) (currency . "EUR"))))
> gnucash: [D] (handling-request ("yahoo" "MFROIEUR.L" "MFSZTA.L" "MFGEUKA.L" 
> "MFNUPRO.L" "IBT.L" "ASL.L" "ECWC.L" "TRY.L" "BTEM.L" "TEM.L" "JII.L" 
> "MTH.L"))
> gnucash: [D] (results (("MFROIEUR.L" (symbol . "MFROIEUR.L") 
> (gnc:time-no-zone . failed-conversion) (last . 11.799) (currency . "EUR")) 
> ("MFSZTA.L" (symbol . "MFSZTA.L") (gnc:time-no-zone . failed-conversion) 
> (last . 1.7) (currency . "GBP")) ("MFGEUKA.L" (symbol . "MFGEUKA.L") 
> (gnc:time-no-zone . failed-conversion) (last . 3.7825) (currency . "GBP")) 
> ("MFNUPRO.L" (symbol . "MFNUPRO.L") (gnc:time-no-zone . failed-conversion) 
> (last . 1.8962) (currency . "GBP")) ("IBT.L" (symbol . "IBT.L") 
> (gnc:time-no-zone . failed-conversion) (last . 1.571) (currency . "GBP")) 
> ("ASL.L" (symbol . "ASL.L") (gnc:time-no-zone . failed-conversion) (last . 
> 7.89) (currency . "GBP")) ("ECWC.L" (symbol . "ECWC.L") (gnc:time-no-zone . 
> failed-conversion) (last . 7.72) (currency . "GBP")) ("TRY.L" (symbol . 
> "TRY.L") (gnc:time-no-zone . failed-conversion) (last . 2.3875) (currency . 
> "GBP")) ("BTEM.L" (symbol . "BTEM.L") (gnc:time-no-zone . failed-conversion) 
> (last . 4.7675) (currency . "GBP")) ("TEM.L" (symbol . "TEM.L") 
> (gnc:time-no-zone . failed-conversion) (last . 3.44) (currency . "GBP")) 
> ("JII.L" (symbol . "JII.L") (gnc:time-no-zone . failed-conversion) (last . 
> 3.18) (currency . "GBP")) ("MTH.L" (symbol . "MTH.L") (gnc:time-no-zone . 
> failed-conversion) (last . 0.95) (currency . "GBP"))))
> gnucash: [D] (handling-request ("currency" "GBP" "EUR"))
> gnucash: [D] (results (("GBP" (symbol . "GBP") (last . 1.4743) (currency . 
> "EUR"))))
> gnucash: [D] (handling-request ("currency" "DEM" "EUR"))
> gnucash: [D] (results (("DEM" (symbol . "DEM") (last . 0.5113) (currency . 
> "EUR"))))
> gnucash: [D] (handling-request ("currency" "USD" "EUR"))
> gnucash: [D] (results (("USD" (symbol . "USD") (last . 0.7433) (currency . 
> "EUR"))))
> 
> If I run Finance::Quote using gnc-fq-dump everything works OK.
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
> 
> 



More information about the gnucash-user mailing list