[Bug 555687] New: perl-Finance-Quote
http://bugzilla.novell.com/show_bug.cgi?id=555687 Summary: perl-Finance-Quote Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: i586 OS/Version: openSUSE 11.2 Status: NEW Severity: Major Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: AmigaPhil@ping.be QAContact: qa@suse.de Found By: --- Blocker: --- --- Comment #0 from Philippe Duchenne <AmigaPhil@ping.be> 2009-11-16 00:49:06 UTC --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-1.1.2 Firefox/3.5.4 I've (almost) successfully upgraded from openSUSE 11.1 to 11.2. One of the problem I'm facing now is that the perl-Finance-Quote package has falled back to version 1.16-2.1. The patched version I had under 11.1 fixed two bugs: 1) a problem with online retrieval of currency quotes (due to a change in Yahho web site some months ago), 2) a crash due to the lerevenu.pm perl module (also caused by a change in lerevenu.com site). perl-Finance-Quote 1.16 is failing when using lerevenu as source for quotes, making the whole online retrieval of quotes process to fail. Checking on the OBS repositories, I found perl-Finance-Quote 1.17-4.3 built by sbrabec. Unfortunately, this package requires Perl 5.10.1 (whereas openSUSE 11.2 is supplied with Perl 5.10.0). I also found Perl 5.10.1-70.4 on the OBS, but yet with a *LOT* of dependencies (requiring to un-install/re-install many packages). At this point, I gave up trying to upgrade in hope to avoid messing up my current 11.2 installation. Can you (sbrabec, or someone else) do something to speed up the availability of patches for openSUSE 11.2 to fix this problem ? Reproducible: Always Steps to Reproduce: 1. Run an application that makes use of finance::quote, like GnuCash; 2. Try to retrieve online quotes; 3. If one of the source for quotes is lerevenu, lerevenu.pm will crash and cause a global failure of F::Q (so no quotes update); Actual Results: No quotes are retrieved for GnuCash as the crash happen early (lerevenu.com is poked first). Expected Results: Full right results for the queried quotes with the patches applied for the known bugs which fixes the right dialogs with the changes on yahoo.com and lerevenu.com. Patches are already available for quote.pm (fixing the Yahoo problem) and for lerevenu.pm (for the changes in lerevenu.com). The last public available version of finance::quote (so far) is v1.17 (which fixes the problem of Yahoo, but not yet the problem of lerevenu; I think a v1.18 will be available soon). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555687 Philippe Duchenne <AmigaPhil@ping.be> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium AssignedTo|bnc-team-gnome@forge.provo. |sbrabec@novell.com |novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555687 --- Comment #1 from Philippe Duchenne <AmigaPhil@ping.be> 2009-11-16 01:26:43 UTC --- I had a recent version of 'lerevenu.pm' module (sent to me by the author, which can be included in F::Q 1.17 and fixes the problem with lerevenu.com), but unfortunatelly, I lost it while upgrading to openSUSE 11.2 ( maybe soon available on F::Q GIT ?). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555687 --- Comment #2 from Philippe Duchenne <AmigaPhil@ping.be> 2009-11-16 17:19:49 UTC --- Created an attachment (id=327733) Bug-fixed 'lerevenu.pm' module for F::Q 1.17 Fixes a crash of the module when trying to retrieve quotes from lerevenu.com (due to recent web site changes). This version is intended as a replacement in Finance::Quote 1.17; I don't know if it will work with F::Q 1.16. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555687 --- Comment #3 from Philippe Duchenne <AmigaPhil@ping.be> 2009-11-16 18:00:48 UTC --- Quick update about my previous comment and the uploaded 'lerevenu.pm' module. I've just tested it on the current perl-Finance-Quote 1.16-2.1 (installed by openSUSE 11.2), and it works too. So this module can be used to fix the crash with quote retrieval from lerevenu.com on the current F::Q 1.16 installation. (Note: The file permissions on the proposed replacement module should be root/root and read-only.) Retrieving currency quote is still a problem though. I cannot get the patch on cpan (I've no account), and I dare to replace the module 'quote.pm' from F::Q 1.16 by the one from F::Q 1.17 (should I try ?). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555687#c4 --- Comment #4 from Philippe Duchenne <AmigaPhil@ping.be> 2009-11-18 20:57:31 UTC --- Created an attachment (id=328305) --> (http://bugzilla.novell.com/attachment.cgi?id=328305) Bug-fixed 'Quote.pm' for F::Q 1.16 (only !) This patched version of 'Quote.pm' can be used as a replacement in perl-Finance-Quote 1.16 It fixes a bug with online retrieval of currency quotes. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555687#c5 --- Comment #5 from Philippe Duchenne <AmigaPhil@ping.be> 2009-11-18 21:26:33 UTC --- To summarize: - The Perl module 'Quote.pm' proposed below can be used as a replacement in a Finance::Quote 1.16 installation (1.16 only !) It fixes a bug when trying to retrieve currency quotes from Yahoo (this bug is already fixed in F::Q 1.17). It has been tested successfully with the perl-Finance-Quote 1.16-2.1 package as supplied with openSUSE 11.2 iso. - The Perl module 'LeRevenu.pm' proposed below can be used as a replacement in Finance::Quote 1.16 and Finance::Quote 1.17 It fixes a bug making the module to crash due to a change on lerevenu.com web site. It has been tested successfully with perl-Finance-Quote 1.16-2.1 package as supplied with openSUSE 11.2 iso. Both modules can be used to build an interim perl-Finance-Quote rpm that will make Finance::Quote 1.16 fully usable again before the 1.17 version (and the needed Perl 5.10.1 + all other dependencies) is available as update. According to Erik Colson, Finance::Quote 1.18 will be available in December (with both bugs above fixed and including some new modules). Bottom line: It now works for me ! ;-) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555687 http://bugzilla.novell.com/show_bug.cgi?id=555687#c6 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |AmigaPhil@ping.be --- Comment #6 from Stanislav Brabec <sbrabec@novell.com> 2010-06-22 19:16:51 CEST --- Version 1.18 was not released yet. I applied your fix into devel:languages:perl repository. Could you test the package from http://download.opensuse.org/repositories/devel:/languages:/perl/ or provide a test case? (Changelog entry you should see at the top refers to this bug.) Created request id 41934 to Factory. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555687 http://bugzilla.novell.com/show_bug.cgi?id=555687#c7 Philippe Duchenne <AmigaPhil@ping.be> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|AmigaPhil@ping.be | --- Comment #7 from Philippe Duchenne <AmigaPhil@ping.be> 2010-06-22 19:44:09 UTC --- (In reply to comment #6)
Version 1.18 was not released yet. I applied your fix into devel:languages:perl repository.
Could you test the package from http://download.opensuse.org/repositories/devel:/languages:/perl/ or provide a test case? (Changelog entry you should see at the top refers to this bug.)
I got a dependency problem while installing the package: "Nothing supply libc.so.6 (GLIBC_2.11), required by perl-5.12.1-17.1.i586" -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555687 http://bugzilla.novell.com/show_bug.cgi?id=555687#c8 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |AmigaPhil@ping.be --- Comment #8 from Stanislav Brabec <sbrabec@novell.com> 2010-06-23 13:38:37 CEST --- I guess you went into an incorrect sub-directory. The update of perl-Finance-Quote should not introduce perl update. Use openSUSE_11.2 for 11.2 and openSUSE_Factory fo Factory. For example this worked for me for on 11.2 x86_64: rpm -Uhv http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_11... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555687 http://bugzilla.novell.com/show_bug.cgi?id=555687#c9 Philippe Duchenne <AmigaPhil@ping.be> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|AmigaPhil@ping.be | --- Comment #9 from Philippe Duchenne <AmigaPhil@ping.be> 2010-06-23 18:53:14 UTC --- (In reply to comment #8)
I guess you went into an incorrect sub-directory. The update of perl-Finance-Quote should not introduce perl update.
Use openSUSE_11.2 for 11.2 and openSUSE_Factory fo Factory.
I did install the right package (from factory). I tried again, with the same result. See my first post. When last November I tried to update perl-Finance-quote to version 1.17, I was told that Perl 5.10.1 was required (5.10.0 supplied in standard openSuse 11.2). Here, perl-Finance-quote 1.17-9.1 seems to rely on Perl 5.12.1-17.1, which needs libc.so.6 from glibc 2.11 (2.10 supplied in standard openSuse 11.2), which in turn also needs other packages (but I don't remember which ones). So I don't have the right environment to test the last perl-Finance-quote build. All I can say to help is that I'm using the patched 'LeRevenu.pm' module with perl-Finance-quote 1.16 and all is working as expected. If you have GNUcash installed, you can test the Perl module with the command line:
gnc-fq-dump lerevenu CSCO (should return the last stock price).
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555687 http://bugzilla.novell.com/show_bug.cgi?id=555687#c10 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #10 from Stanislav Brabec <sbrabec@novell.com> 2010-06-24 16:19:25 CEST --- OK. You have probably a bit different environment. Thanks for testcase. Still not OK. Revoking request id 41934 This is on openSUSE 11.3 RC1: gnc-fq-dump lerevenu CSCO Can't call method "rows" on an undefined value at /usr/lib/perl5/vendor_perl/5.12.0/Finance/Quote/LeRevenu.pm line 105. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555687 http://bugzilla.novell.com/show_bug.cgi?id=555687#c11 --- Comment #11 from Philippe Duchenne <AmigaPhil@ping.be> 2010-06-24 15:35:23 UTC --- (In reply to comment #10)
This is on openSUSE 11.3 RC1:
gnc-fq-dump lerevenu CSCO Can't call method "rows" on an undefined value at /usr/lib/perl5/vendor_perl/5.12.0/Finance/Quote/LeRevenu.pm line 105.
Curious. This is the kind of error I was having with the /old/ version of LeRevenu.pm I've compared the module I'm successfully using here with the one I've uploaded on bugzilla, and there is no diff. (I just had to replace the old version, no changes to other files.) ? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555687 http://bugzilla.novell.com/show_bug.cgi?id=555687#c12 --- Comment #12 from Stanislav Brabec <sbrabec@novell.com> 2010-06-24 17:42:50 CEST --- Oops, sorry. I installed your patch to 11.2 and now tested 11.3. Your patch works in 11.2: gnc-fq-dump lerevenu CSCO Finance::Quote fields Gnucash uses: symbol: US17275R1023 <=== required date: 06/24/2010 <=== required currency: USD <=== required last: 22.64 <=\ nav: <=== one of these price: <=/ timezone: <=== optional I cannot rebuild the package for 11.3 just now - repositories still have perl-5.12.0, but packages from OBS requires perl-5.12.1, but I believe that it should work there as well. Re-issuing submit request with request id 42017 for Factory and 42018 for 11.3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555687 http://bugzilla.novell.com/show_bug.cgi?id=555687#c13 --- Comment #13 from Philippe Duchenne <AmigaPhil@ping.be> 2010-07-18 21:40:55 UTC --- I've just install openSUSE 11.3, and I can see the LeRevenu.pm patch made it to the public release. :-) I confirm that I have no problem with GnuCash/F::Q under 11.3. So this report could be closed as "Fixed in 11.3" ? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555687 http://bugzilla.novell.com/show_bug.cgi?id=555687#c14 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #14 from Stanislav Brabec <sbrabec@novell.com> 2010-07-19 16:17:28 CEST --- Thanks. OK. FIXED for 11.3, WONTFIX for 11.2 (you already have 11.3 and nobody else complained). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555687 http://bugzilla.novell.com/show_bug.cgi?id=555687#c15 --- Comment #15 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (555687) was mentioned in https://build.opensuse.org/request/show/42017 Factory / perl-Finance-Quote -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com