gnc-prices is toast?

Jeff Clark jeffclark@linuxfan.com
Thu, 16 Nov 2000 21:48:22 -0600


I've just spent the last six weeks converting all my data from M$Money99
to gnucash.  I undertook this little exercise 'cause the "timebomb" in
Money appears to have gone off (I can no longer download stock and
mutual fund prices).

Now that I've got (almost) everything converted over to gnucash, I find
that gnc-prices doesn't work.  There are few messages in the archive for
this group that exactly match the problem I'm having, but I didn't see
any useful solution posted there.  One message said to use the version
from www.gnucash.org instead of the Helixcode version.  I've got
gnucash-1.4.8-1 (and 1.4.7) which I downloaded from www.gnucash.org, and
here's what happens when I run gnc-prices:

nogates 98> gnc-prices ~/test.xac
Can't locate LWP/UserAgent.pm in @INC (@INC contains:    
/usr/local/share/gnucash/perl     /usr/lib/perl5/5.00503/i386-linux  
/usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux  
/usr/lib/perl5/site_perl/5.005 .) at
/usr/local/share/gnucash/perl/Quote.pm line  68.
BEGIN failed--compilation aborted at
/usr/local/share/gnucash/perl/Quote.pm line 68.
BEGIN failed--compilation aborted at /usr/local/bin/gnc-prices line 22.

That's easy enough to fix: just add "use
'/usr/lib/perl5/site_perl/LWP';" and "use UserAgent" to the beginning of
gnc-prices, but then it complains about not being able to find
HTTP/Date.pm (even though that file IS in /usr/lib/perl5/site_perl/HTTP
and I've added that directory to @INC as well).

I'm not a Perl hacker, so I don't really want to screw around with all
these Perl files and break them even more than they already are.

Has anyone gotten gnu-prices to work in a recent version of gnucash? 
I'd hate to think that my last six weeks of effort was in vain and that
I'll have to retreat to Quicken on (ugh) Windows.  Money was the last
remaining Windows program I was using, and it's nice to not have to
re-boot from Linux to Windows and back anymore.

-- 
Jeff Clark                         | mailto:jeffclark@linuxfan.com
"Too soon old, too late smart."    | http://www.linuxfan.com/~jeffclark
------------------------------------------------------------------------------
Microsoft's success proves "You can fool some of the people, all of the
time."