Finance::Quote works, but gnucash->update prices doesn't.

David Hampton hampton-gnucash at rainbolthampton.net
Thu Aug 18 17:33:48 EDT 2005


On Thu, 2005-08-18 at 10:57 -0400, Thomas John Vitolo wrote:

> I was able to install LWP::UserAgent, HTTP::Request::Common,
> HTML::TableExtractor, and finally, Finance::Quote . 

This doesn't match the list of what Gnucash thinks is required.  Gnucash
is looking for

	Date::Manip
	Finance::Quote
	LWP
	HTML::Parser
	HTML::TableExtract

> I know that Finance::Quote works because the code
> ...
> ...
> returns the correct price. 

The F::Q yahoo (aka nyse) module works.  Different F::Q modules have
different requirements.

> However, when I then start up gnucash (1.8.11) and
> use Price Editor -> Get Quotes, I get the standard error message
> 
> You are missing some needed Perl libraries.  Run 'update-finance-quote' as root
> to install them.
> 
> So, I did just that, using sudo.  Everything appeared to work fine, with plenty
> of OK messages and no errors.

Don't know what to say.  update-finance-quote is supposed to install the
modules listed above.

David Reiser could well be right.  The modules you installed could be
in /usr while all the fink compiled code is looking for them elsewhere.
I've never used Fink so I have no idea how/where the software gets
installed.

>   I exited gnucash, reopened it, and still, same
> error.  I've rebooted my machine and gnucash to make sure it wasn't a startup issue.
> 
> So -- what gives?  Any thoughts?  I appreciate it!

Try running the finance-quote-check program by hand and see what it
says.  This is the same application gnucash runs to check the F::Q
installation.  It should either give you back a list of quote sources,
or tell you what module gnucash thinks is missing.  Again, I don't know
where stuff gets installed on the mac, but if gnucash is installed as
say /sw/bin/gnucash, then finance-quote-check should be installed
as /sw/share/gnucash/finance-quote-check.  

If finance-quote-check says you are missing a module, start there.  If
finance-quote-check gives you a list of quote sources, then gnucash is
unable to run the finance-quote-check program for some reason.

David





More information about the gnucash-user mailing list