I made note of this in the Gentoo Forum and they said should post this here. Basically when you install GnuCash and use: update-finance-quote script it does not check to see if the libwww-perl (lwp) is installed. Therefore cannot get quotes to work in GnuCash. It will still complain that the finance::quote modules are not installed and not work when trying to get quotes. In order to get quotes to work in GnuCash you have to emerge libwww-perl, either before or after and it will work. Also when tried to run quotes from the command line I got error that couldn't find UserAgent.pm . It was on the system and after libwww-perl was emerged it worked. I haven't looked into the last part in depth, but it seems that the problems are related. Not sure if finance::quote modules OR update-finance-quote script should contain the check for libwww-perl. I leave that to the experts.
Is anyone looking into this (I just noticed I was cc'd on it)? Not that time is copiusly free, but let me know if you need a hand gnome folks.
Gnome folks is just me right now. and ska-fan I think... and I'd welcome any help I get :)
Whats the status here ? I'm no perl guru (and thats an understatement).
'In order to get quotes to work in GnuCash you have to emerge libwww-perl, either before or after and it will work.' in this i'd say its not an essential part and we shouldnt add another dep, maye add a little note at the end of the build process mentioning this ? Ok with everyone ?
I think the is Okay! I just recently put GnuCash on the 1.4rc1 system. But already had libwww-perl installed, and everything worked fine. There was another bug on dep of perl Date-Calc, that was fixed also. So I believe a note should work fine. Will this be a note in the build of GnuCash (which people may forget about if not installing the other stuff right away), or when you run the script 'update-finance-quote'. That is where I think it should be.
It's probably way easier to do my first suggestion. But if you can make a patch for the second ? :) (i dont have gnucash)
I have been messing with 'sed' to try and append the message to the update-finance-quotes script and not having any luck. Will write it to the the screen, but doesn't actually write to the file. Can delete a line fine, but not append. So in the mean time, I have written the developers on SourceForge asking them about adding the line and the reason for it. Maybe they will beat me to the punch. I haven't written a patch before, so still will see what I can do.
I talked to the Finance::Quote guy. He doesn't own the script cause it comes with GnuCash. So I am off to see about getting them to add the notice or make it a dep if they want. I wrote a patch, little big for such a simple thing, but had to do some checks,.. I won't submit the patch until I get a notice from GnuCash. Then if not I may need some help on this cause never submitted a patch before.
Sure, your efforts are appreciated. But this isn't gentoo specific, is it ? I doubt they will add a gentoo specific note.
Well, I put it to them like this briefly. "GnuCash doesn't depend on libwww-perl, but the scripte update-finance-quotes does. Some disto's may install this buy default, but if they don't then Quotes in GnuCash won't work. The developer for Finance::Quotes agrees, but doesn't own the script. Can something be done on your end to either add a notice that libwww-perl needs to be installed when running the script or add a dep if you want." I posted that last night on their developer list. If they don't bite, then I will see about submitting the patch. How does that sound?
Pretty big discussion on Gnucash about libwww-perl today. Think something is going to be done.
*** Bug 6381 has been marked as a duplicate of this bug. ***
Well, any progress here ? Or should i just add the einfo line or something ?
I am guessing let's drop the issue for now. Why: GnuCash was real interested at first, then Completely forgot the discussion couple days later. I guess most distro's install libwww-perl by default. I wrote to another guy that had the duplicate bug, he never responded so I could find out if it was a problem still existed or CPAN took care of it when ran update-finance-quote. I just tried it again, but from another emerge I already had libwww-perl installed so didn't run into the problem. Either other people are not using GnuCash on Gentoo, not running into the problem cause libwww-perl installed already from another emerge, or just don't care. Let's save ourselves the headache and drop it. The script worked real well and helped me understand using sed much better though, so did get something out of it. Thanks for the help though. If you agree, close it out or if want I will. Dave
Great News, well sort of. I just received a email that it will be taken care of. So I guess we can close this bug. Here is the contents of the email I received: On Mon, 2002-10-21 at 18:35, David wrote: > Hello, > > The script that comes with GnuCash doesn't check if libwww-perl is > installed, which it won't work without. > I emailed the Finance::Quote developer and he agrees that something > should be done, but it isn't his script. I've added this to the list of things that Gnucash checks for before trying to run the Finance::Quote module. David