Summary: | Finance::Quotes 1.07 doesn't work with or without GnuCash. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Decibels <decibels.2862> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | 1.4_rc2 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Decibels
2003-02-05 14:07:18 UTC
Got a little further: Emerge says that HTML_Parser-3.27 is installed. CPAN says it isn't: Let CPAN install it also. Now both see it as installed. Results from running perl yahoo.t: perl yahoo.t 1..8 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 Still not working with Gnucash. But this is much further than have gotten before. Seems like there is a big problem with Perl modules and who/which/how it is installed. Emerge sees one thing and CPAN doesn't. Maybe a reboot will work for Gnucash. is HTML-Parser emerged? maybe your @INC is messed up ? do you have a /usr/lib/site_perl ? if so do this: emerge `qpkg -f -nc /usr/lib/site_perl` 1) is HTML-Parser emerged? Emerge said 3.26-r2 was installed. Cpan said no: got it via span. Both say have it now. That is what fixed when run F::Q by itself without gnucash. 2)maybe your @INC is messed up ? do you have a /usr/lib/site_perl ? if so do this: emerge `qpkg -f -nc /usr/lib/site_perl` No, I don't have a /usr/lib/site_perl have a /usr/lib/perl5/site_perl. It was /usr/lib/perl5/site_perl on the previous install, that way on this install and just checked on the other computer and it is that way on there. In site_perl is 5.61 and 5.80 folders. I still tried your command and gentoolkit is installed: emerge `qpkg -f -nc /usr/lib/site_perl` emerge: please tell me what to do. ..... Perl seems to be working with everything else. Plus I can get the yahoo.t to work now that I got HTML-Parser with CPAN. It didn't work when just emerge said it was installed. I also found that Date-Calc and DateManip was not installed according to emerge and only DateManip was installed by CPAN. Emerge and CPAN those, still not fixing it with Gnucash. Perl -V response: ....... Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under linux Compiled at Feb 3 2003 16:16:41 @INC: /usr/lib/perl5/5.8.0/i686-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i686-linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . Oh, Thanks for responding so quickly. Okay, finally fixed it. No thanks to GnuCash responses. I decided to look in the finance-quote-helper module. I ran a command line from it as a test. echo '(yahoo "IBM")' | ./finance-quote-helper > /home/decibels/gnucashmoretest.txt At first the response was: ERROR: Date::Manip unable to determine TimeZone. Date::Manip::Date_TimeZone called at /usr/lib/perl5/site_perl/5.8.0/Date/Manip.pm line 629 Date::Manip::Date_Init() called at /usr/lib/perl5/site_perl/5.8.0/Date/Manip.pm line 747 Date::Manip::ParseDateString('2/5/2003 3:37pm') called at ./finance-quote-helper line 205 main::get_quote_time('IBM','HASH(0x823c214)') called at ./finance-quote-helper line 230 main::schemify_quote('IBM','HASH(0x823c214)',2) called at ./finance-quote-helper line 263 main::schemify_quotes('ARRAY(0x81b6084)','HASH(0x823c214)') called at ./finance-quote-helper line 391 So, that gave me something to look into. So I did some reading and redid the symlink to 'ln -sf /usr/share/zoneinfo/US/Central /etc/localtime' Then the response was nothing. Opened GnuCash and it WORKED!!!! So looks like part of the problem was mine. Not sure about the HTML-Parser though. Seems like that error should not have came up. Like I said, emerge saw it installed and CPAN said NO. Not sure if would have gotten the same responses. For the original bug though. Want me to Close this? closing.. |