Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29083 - missing gnucash dependencies break online-quote retrieval
Summary: missing gnucash dependencies break online-quote retrieval
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 44786 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-19 03:16 UTC by SpanKY
Modified: 2004-05-11 10:53 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2003-09-19 03:16:43 UTC
gnucash is capable of online stock quote retrieval but needs some key perl
modules to do it:

see: /usr/share/gnucash/finance-quote-check

my @modules = qw(Date::Manip HTML::Parser Finance::Quote LWP);

I believe the ebuilds are:
DateManip
HTML-Parser
Finance-Quote
libwww-perl
and HTML-TableExtract is needed also

I can confirm that installing these modules fixes the problem and enables quote
downloading again!  They should probably be in the gnucash ebuild DEPENDS, though.
Comment 1 foser (RETIRED) gentoo-dev 2003-10-12 10:01:36 UTC
this is an old discussion .. i think we decided once not to add the whole
perl rimram for quotes not everybody uses.

But it might be re-evaluated .. see bug http://bugs.gentoo.org/show_bug.cgi?id=7186

by the looks of it, it got adapted from gnucash side, but this was in the
1.6 series i think.
Comment 2 foser (RETIRED) gentoo-dev 2003-11-20 08:26:46 UTC
any word on this.. im no gnucash guru by any means. I'd say we leave out the deps and just add a postinst message.
Comment 3 Arthur Ward 2004-02-08 14:55:05 UTC
Why is this not just a USE flag to enable online quote retrieval? That would cover both sides of the issue... those of us who want it to just work out of the box (as one would reasonably expect), and those who don't care about online quotes.
Comment 4 John Steele Scott 2004-03-07 23:44:24 UTC
Just got bitten by this one after installing Gnucash on a new system. I'm emerging Finance::Quote now, but perhaps one possible solution is to replace Gnucash's update-finance-quote script with a Gentoo-specific equivalent. After all, the core of that script is these four lines:

CPAN::Shell->install('LWP');
CPAN::Shell->install('Date::Manip');
CPAN::Shell->install('HTML::Parser');
CPAN::Shell->install('Finance::Quote');

which can be taken care of by "emerge Finance-Quote DateManip", at least for gnucash-1.8.8 on my ppc system. :)
Comment 5 foser (RETIRED) gentoo-dev 2004-03-16 02:06:12 UTC
*** Bug 44786 has been marked as a duplicate of this bug. ***
Comment 6 Yi Quang (RETIRED) gentoo-dev 2004-05-07 07:32:01 UTC
I think the idea of adding a local use flag is okay, but the problem is that unless a user looks at the ebuild, he will not know how to enable quote look up.  Thus, it is probably much wiser to add a postinst description.  foser?
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2004-05-11 10:53:03 UTC
I've added the local USE flag "quotes" to gnucash and a blurb in einfo about it