Skip Menu |

This queue is for tickets about the Lingua-IdSplitter CPAN distribution.

Report information
The Basics
Id: 110277
Status: resolved
Priority: 0/
Queue: Lingua-IdSplitter

People
Owner: mestre.smash [...] gmail.com
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Tests fail with German locale
Statistical analysis from my smoker systems (linux & freebsd) --- negative theta is bad (fail report produced): **************************************************************** Regression 'env:LC_ALL' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 82910373884011968.00 [1='eq_C'] -0.0000 0.0000 -1.88 [2='eq_de_DE.ISO8859-1'] -1.0000 0.0000 -62332799401636296.00 [3='eq_de_DE.UTF-8'] -1.0000 0.0000 -67696036799735200.00 R^2= 1.000, N= 45, K= 4 **************************************************************** It seems that the test suite fails for German or maybe any non-English locale. Overview of test reports: http://matrix.cpantesters.org/?dist=Lingua-IdSplitter%200.01
Hello, thank you for your report. Testing requires an english locale, force LC_ALL in new version. Should pass the tests independently of your locale now. Thanks
On 2015-12-13 13:07:22, SMASH wrote: Show quoted text
> Hello, thank you for your report. Testing requires an english locale, > force LC_ALL in new version. Should pass the tests independently of > your locale now.
Unfortunately I still see failures on some systems. Reason is that you're using "en_US", but there's no guarantee that such a locale exists. On a normal FreeBSD 9 or 10 system it does not exist: $ env LC_ALL=en_US perl -e1 perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = "en_US", LANG = (unset) are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). On FreeBSD all locale names have the encoding included: $ locale -a | grep en_US en_US.ISO8859-1 en_US.ISO8859-15 en_US.US-ASCII en_US.UTF-8 But: it's not even guaranteed that en_US.UTF-8 is installed on a Unix system. What is guaranteed is the existence of the "C" locale, which also produces English error messages.
Thank you for the feedback. In release 0.03 I stopped forcing any locale, and set the speller language for testing. This should be more system independent. Thank you. On Sun Dec 13 14:17:24 2015, SREZIC wrote: Show quoted text
> On 2015-12-13 13:07:22, SMASH wrote:
> > Hello, thank you for your report. Testing requires an english locale, > > force LC_ALL in new version. Should pass the tests independently of > > your locale now.
> > Unfortunately I still see failures on some systems. Reason is that > you're using "en_US", but there's no guarantee that such a locale > exists. On a normal FreeBSD 9 or 10 system it does not exist: > > $ env LC_ALL=en_US perl -e1 > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > LC_ALL = "en_US", > LANG = (unset) > are supported and installed on your system. > perl: warning: Falling back to the standard locale ("C"). > > On FreeBSD all locale names have the encoding included: > > $ locale -a | grep en_US > en_US.ISO8859-1 > en_US.ISO8859-15 > en_US.US-ASCII > en_US.UTF-8 > > > But: it's not even guaranteed that en_US.UTF-8 is installed on a Unix > system. What is guaranteed is the existence of the "C" locale, which > also produces English error messages.
Test reports look good now: http://fast-matrix.cpantesters.org/?dist=Lingua-IdSplitter%200.03 On 2015-12-15 11:27:34, SMASH wrote: Show quoted text
> Thank you for the feedback. In release 0.03 I stopped forcing any > locale, and set the speller language for testing. This should be more > system independent. > > Thank you. > > On Sun Dec 13 14:17:24 2015, SREZIC wrote:
> > On 2015-12-13 13:07:22, SMASH wrote:
> > > Hello, thank you for your report. Testing requires an english > > > locale, > > > force LC_ALL in new version. Should pass the tests independently of > > > your locale now.
> > > > Unfortunately I still see failures on some systems. Reason is that > > you're using "en_US", but there's no guarantee that such a locale > > exists. On a normal FreeBSD 9 or 10 system it does not exist: > > > > $ env LC_ALL=en_US perl -e1 > > perl: warning: Setting locale failed. > > perl: warning: Please check that your locale settings: > > LC_ALL = "en_US", > > LANG = (unset) > > are supported and installed on your system. > > perl: warning: Falling back to the standard locale ("C"). > > > > On FreeBSD all locale names have the encoding included: > > > > $ locale -a | grep en_US > > en_US.ISO8859-1 > > en_US.ISO8859-15 > > en_US.US-ASCII > > en_US.UTF-8 > > > > > > But: it's not even guaranteed that en_US.UTF-8 is installed on a Unix > > system. What is guaranteed is the existence of the "C" locale, which > > also produces English error messages.