Unable to get quotes
David Hampton
hampton-gnucash at rainbolthampton.net
Thu Dec 28 21:54:10 EST 2006
On Thu, 2006-12-28 at 21:06 -0500, Bobby Goins wrote:
> David, I am running gnucash-2.0.1
>
> Here are the results of gnucash --debug --add-price-quotes
>
> $ gnucash --debug --add-price-quotes gnucash_data/gnucashfile
> gnucash: [D] (results ("1.12" "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" "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" "aex" "yahoo_europe" "nz" "vanguard"
> "bourso" "europe" "platinum" "maninv"))
> gnucash: [M] "Found Finance::Quote version ""1.12"
> gnucash: [D] "in add-quotes-to-book-at-url"
> gnucash: [D] "about to call gnc:book-add-quotes"
> gnucash: [D] (handling-request ("fidelity" "CRIMX" "NIGRX" "OGGIX"
> "TEMFX" "FCNTX" "FMCSX" "JIEIX" "ANCFX" "NMCAX" "FEQTX" "FPURX"
> "AGTHX" "PMCFX" "GM"))
> gnucash: [D] (results #<eof>)
> gnucash: [W] "There was an unknown error while retrieving the price
> quotes.""
> "
> gnucash: [D] "done gnc:book-add-quotes:"#<unspecified>
> $
I was afraid you'd say something like that. Lets step back one and just
test the utility scripts that gnucash uses to get quotes without
actually running gnucash. What do you get from:
gnc-fq-dump yahoo CSCO
and
echo '(yahoo "CSCO")' | gnc-fq-helper
I suspect the first one will succeed, and the second one will fail with
complaints of a missing perl module. That's what happened to me the
other night while attempting to reproduce your program on another
system.
David
More information about the gnucash-user
mailing list