Skip Menu |

This queue is for tickets about the Log-Report CPAN distribution.

Report information
The Basics
Id: 95275
Status: resolved
Priority: 0/
Queue: Log-Report

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Test suite fails with non-English locale
With perl 5.19.10 and later, the test suite fails if a locale which is using "," instead of "." for the decimal point is used. Here's a sample report for a Windows system: http://www.cpantesters.org/cpan/report/87d4e2f0-6bf6-1014-9b6f-30f6f2e96d21 Sample reports for FreeBSD and Linux systems will appear in a few hours at http://matrix.cpantesters.org/?dist=Log-Report There were some changes regarding perl's handling with locales. Some of it is discussed in https://rt.perl.org/Public/Bug/Display.html?id=121317 Most problems described here are resolved with perl 5.19.10, but your module is still affected. Regards, Slaven
Subject: Re: [rt.cpan.org #95275] Test suite fails with non-English locale
Date: Sat, 3 May 2014 23:48:35 +0200
To: Slaven_Rezic via RT <bug-Log-Report [...] rt.cpan.org>
From: Mark Overmeer <mark [...] overmeer.net>
* Slaven_Rezic via RT (bug-Log-Report@rt.cpan.org) [140502 12:44]: Show quoted text
> Fri May 02 08:44:06 2014: Request 95275 was acted upon. > Transaction: Ticket created by SREZIC > Queue: Log-Report > Subject: Test suite fails with non-English locale > Broken in: 1.02 > > With perl 5.19.10 and later, the test suite fails if a > locale which is using "," instead of "." for the decimal > point is used. Here's a sample report for a Windows system:
Hi Slaven, I already have a fix for this in my development version, based on the cpantesters report. There was a discussion about supporting multiple locales in one program in Perl. I think we should move that way: switching between locales in a program for each customer is ugly and quite hard to get right! -- Thanks for your work, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
I'm not sure if it is the same bug, but this module fails with Perl 5 .20.0-RC1: t/10interp.t .... 1/69 # Failed test at t/10interp.t line 23. # got: 'approx pi: 3,141593' # expected: 'approx pi: 3.141593' # Looks like you failed 1 test of 69. t/10interp.t .... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/69 subtests locale: pl_PL.UTF-8
On 2014-05-02 08:44:06, SREZIC wrote: Show quoted text
> With perl 5.19.10 and later, the test suite fails if a locale which is > using "," instead of "." for the decimal point is used. Here's a > sample report for a Windows system: > http://www.cpantesters.org/cpan/report/87d4e2f0-6bf6-1014-9b6f- > 30f6f2e96d21 > > Sample reports for FreeBSD and Linux systems will appear in a few > hours at http://matrix.cpantesters.org/?dist=Log-Report > > There were some changes regarding perl's handling with locales. Some > of it is discussed in > https://rt.perl.org/Public/Bug/Display.html?id=121317 > Most problems described here are resolved with perl 5.19.10, but your > module is still affected.
I don't see any red spots in http://matrix.cpantesters.org/?dist=Log-Report+1.05 , so I assume the issue is resolved.