Skip Menu |

This queue is for tickets about the Finance-Quote CPAN distribution.

Report information
The Basics
Id: 49496
Status: resolved
Priority: 0/
Queue: Finance-Quote

People
Owner: eco [...] ecocode.net
Requestors: plongstaff [...] rogers.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: European server yahoo_europe adds a trailing white space to the currency item Euro
Date: Mon, 7 Sep 2009 14:22:51 -0400
To: bug-Finance-Quote [...] rt.cpan.org
From: Phil Longstaff <plongstaff [...] rogers.com>
European server yahoo_europe adds a trailing white space to the currency item Euro ( "EUR " ). "EUR " is not a valid currency, so gnc-fq-dump ( and of course gnucash ) delivers a "This stock quote cannot be used by gnucash". This issue was fixed with a a line to Finance/Quote/Yahoo/Europe.pm: $info{$symbol,"currency"} =~ s/\s+$//; See Bug 553902, comment #4 from Andreas Köhler. Unfortunately, this patch does not work anymore with Finance-quote-1.16 Steps to reproduce: 1. gnc-fq-dump yahoo_europe XS0230663196.SG delivers "currency: missing" and "stocke quote cannot be used by gnucash", independent of patched or not patched Europe.pm 2. 3. Actual results: gnucash cannot find stock prices for "EUR" currencies Expected results: stock price delivered, as with former Finance::Quote's, after Andreas Köhler patch was applied Does this happen every time? yes Other information: actual patches does not help. echo '(yahoo_europe "A0GFY7.SG")' | ./gnc-fq-helper delivers "currency . failed-conversion" I know, this is a Finance-Quote issue, but the only help up tp now was the patch from Andreas. Could you please supply a modified one ? Thanks Edgar
This problem seems solved now. I've added a test in yahoo_europe.t to check this in the future. Please report if you're still experiencing after upgradeing to 1.17 (should be released soon) -- Erik