Unable to get quotes

Boyd Kelly bkelly at coastsystems.net
Fri Dec 29 11:35:03 EST 2006


I recently had this problem. Tests worked from the command line, as I
was checking with a stock symbol from yahoo, but still had the 'Unknown
Error' within gnucash).  I had a couple of Funds using 'Finance Canada'
source.  When I removed these funds from retrieving on-line quotes, the
error disappeared.  There also seemed to be an issue with currencies.

Is there maybe just a problem with some invalid combo of
source/symbols/currency being retreived?

Boyd


On Sat, 2006-30-12 at 01:02 +1100, Doug Laidlaw wrote:

> For what it is worth, both your tests work here.  Running Mandriva 2007 with 
> gnucash 2.0.1 "Built 2006-08-02 from r14585"
> 
> Doug.
> 
> On Friday 29 December 2006 13:54, David Hampton wrote:
> > 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
> >
> >
> > _______________________________________________
> > 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