| Summary: | Gnucash financial quotes (currency exchange) broken again. | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Edward d'Auvergne <true.bugman> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | davidwhodgins, jquelin, sysadmin-bugs, tmb |
| Version: | 1 | Keywords: | Triaged, validated_update |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| URL: | https://rt.cpan.org/Public/Bug/Display.html?id=74660 | ||
| Whiteboard: | |||
| Source RPM: | perl-Finance-Quote-1.170.0-1.mga1.noarch.rpm | CVE: | |
| Status comment: | |||
|
Description
Edward d'Auvergne
2012-02-13 14:45:14 CET
The script:
#!/usr/bin/perl -w
use strict;
use Finance::Quote;
my $quoter = Finance::Quote->new();
my $exchange_rate = $quoter->currency("AUD", "USD");
print "AUD -> USD = $exchange_rate\n";
taken from the development mailing list message http://sourceforge.net/mailarchive/forum.php?thread_name=BD4DB5ADC9269C784E2EB7E6%40bayswater.msalexander.com&forum_name=finance-quote-devel is quicker and easier for reproducing the problem.
Hi, thanks for reporting this bug. Assigned to the package maintainer. (Please set the status to 'assigned' if you are working on it) Keywords:
(none) =>
Triaged upstream patch doesn't apply cleanly on a 1.17 tarball. i'll adapt it so it applies, but it may be a bit longer. Status:
NEW =>
ASSIGNED ok, i recreated the patch: it applies nicely & fix the problem. however, svn is down currently and i cannot commit + submit. will do that later on. fixed in svn, perl-Finance-Quote-1.170.0-1.1.mga1 on its way to mga1 in core/updates_testing ==> qa, please validate & push to mageia 1 updates note: package is noarch, so no need to test on both x86_64 & i586. CC:
(none) =>
jquelin Testing complete. Before the update ... $ ./getcurrencyquotes Use of uninitialized value $exchange_rate in concatenation (.) or string at ./getcurrencyquotes line 8. AUD -> USD = After the update ... $ ./getcurrencyquotes AUD -> USD = 1.0691 Could someone from the sysadmin team push the srpm perl-Finance-Quote-1.170.0-1.1.mga1.src.rpm freom Core Updates Testing to Core Updates. Advisory: This bug fix update for perl-Finance-Quote allows gnucash to retrieve currency quotes from the new version of Yahoo's finance page. https://bugs.mageia.org/show_bug.cgi?id=4508 Keywords:
(none) =>
validated_update update pushed Status:
ASSIGNED =>
RESOLVED The fix works perfectly in Gnucash! Thanks for the awesomely quick update. |