Subject: | Minimum Locale::Meta version |
Some of my smoker systems show test failures:
...
[t::lib::TestApp2:77899] error @2017-01-30 19:33:06> Route exception: Can't locate object method "charge" via package "Locale::Meta" at /home/cpansand/.cpan/build/2017013018/Dancer2-Plugin-Locale-Meta-0.004-RzM0dU/blib/lib/Dancer2/Plugin/Locale/Meta.pm line 129. in /usr/perl5.22.3p/lib/site_perl/5.22.3/Dancer2/Core/App.pm l. 1454
# Failed test 'Get content for /:lang where :lang is en'
# at t/02-load-structure.t line 22.
# '<!DOCTYPE html>
# <html lang="en">
# <head>
# <meta charset="UTF-8">
# <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
# <title>Error 500 - Internal Server Error</title>
# <link rel="stylesheet" href="http://localhost/css/error.css">
# </head>
# <body>
# <h1>Error 500 - Internal Server Error</h1>
# <div id="content">
# Wooops, something went wrong
# </div>
# <div id="footer">
# Powered by <a href="http://perldancer.org/">Dancer2</a> 0.204004
# </div>
# </body>
# </html>
# '
# doesn't match '(?^:bye)'
# Looks like you failed 1 test of 1.
# Failed test 'english'
# at t/02-load-structure.t line 25.
(etc.)
...
This seems to happen if Locale::Meta is already is installed, but its version is 0.003 or less. Statistical analysis (theta=0 means "fail"):
****************************************************************
Regression 'mod:Locale::Meta'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 0.0000 0.0000 0.00
[1='eq_0.002'] 0.0000 0.0000 0.00
[2='eq_0.003'] 0.0000 0.0000 0.00
[3='eq_0.004'] 1.0000 0.0000 59148801175707784.00
R^2= 1.000, N= 31, K= 4
****************************************************************