Price update fails

Tony De Simone tony.desimone at att.net
Wed Sep 10 12:50:39 CDT 2003


Derek Atkins wrote:

> you can try "update-finance-quote" but it's unlikely that mozilla
> changed anything... What else changed since the last time you tried?

I've been having trouble with price updates also.  The 
"update-finance-quote" script is behaving badly for me: it seems to
be trying to grab files from the wrong place at ftp.perl.org.  I'm
running 1.8.5, installed from gnucash-1.8.5-0.9.rpm on a RH9 system.
Here's  some of what the script produces:
> $ update-finance-quote
> CPAN: Storable loaded ok
> Going to read /root/.cpan/Metadata
> Warning: Found only 0 objects in /root/.cpan/Metadata
> CPAN: LWP::UserAgent loaded ok
> F etching with LWP:
>   ftp://ftp.perl.org/authors/01mailrc.txt.gz
> LWP failed with code[404] message[Can't chdir to authors]
> Fetching with Net::FTP:
>   ftp://ftp.perl.org/authors/01mailrc.txt.gz
> Couldn't cwd authors at /usr/lib/perl5/5.8.0/CPAN.pm line 2182.

Sure enough, when I look, there is no "authors" directory on
ftp.perl.org, it's at /pub/CPAN/authors.  At the end of the day, none of
the packages are installed, e.g.,

> Can't access URL ftp://ftp.perl.org/modules/03modlist.data.gz.
> 
> Please check, if the URLs I found in your configuration file
> (ftp://ftp.perl.org/) are valid. The urllist can be edited. E.g. with 'o
> conf urllist push ftp://myurl/'
> 
> Could not fetch modules/03modlist.data.gz
> Going to write /root/.cpan/Metadata
> Warning: Cannot install LWP, don't know what it is.
> Try the command
> 
>     i /LWP/
> 
> to find objects with matching identifiers.


I'm running 1.8.5 on a RH9 system, installed from RPMs.  My first guess
was that I had an old "update-finance-quote" script, but I don't think
that's true:
$ rpm -q -f /usr/bin/update-finance-quote
gnucash-1.8.5-0.9
$ rpm --verify gnucash
.M.....T   /usr/share/gnome/help/gnucash/C/chartofaccts.xml
.M.....T   /usr/share/gnome/help/gnucash/C/chtacctseg.xml
.M.....T   /usr/share/gnome/help/gnucash/C/fdl-appendix.xml
.M.....T   /usr/share/gnome/help/gnucash/C/gnucash-help.xml
.M.....T   /usr/share/gnome/help/gnucash/C/legal.xml
.M.....T   /usr/share/gnome/help/gnucash/C/txf-categories.xml
$

Do I have some local problem with my perl installation, or is something
broken in "update-finance-quote" from this RPM?  I was going to muck
with the various configuration parameters, but  know only enough perl to
cause trouble.  Besides, it shoulda worked....

BTW, I did try removing the ~/.cpan directory to make sure I wasn't
setting some configuration variable incorrectly.

Any suggestions would be appreciated.  It's getting a little tedious,
entering prices by hand...





More information about the gnucash-user mailing list