hayajo / Mojolicious-Plugin-Directory

Other
6 stars 6 forks source link

t/auto_index.t started to fail (with Mojolicious 9.x?) #9

Open eserte opened 3 years ago

eserte commented 3 years ago

My smoker systems started to report the following test failure:

#   Failed test '404 Not Found'
#   at t/auto_index.t line 14.
#          got: '500'
#     expected: '404'
# Looks like you failed 1 test of 2.
t/auto_index.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests 

Statistical analysis suggests that this problem started with Mojolicious 9.x:

****************************************************************
Regression 'mod:Mojolicious'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']           1.0000          0.0000    5939437938287209.00
[1='eq_7.19']        -0.0000          0.0000      -1.01
[2='eq_7.28']        -0.0000          0.0000      -0.58
[3='eq_7.30']        -0.0000          0.0000      -1.20
[4='eq_7.31']        -0.0000          0.0000      -1.72
[5='eq_7.33']        -0.0000          0.0000      -0.20
[6='eq_7.34']         0.0000          0.0000       0.15
[7='eq_7.36']         0.0000          0.0000       0.27
[8='eq_7.37']        -0.0000          0.0000      -0.35
[9='eq_7.41']        -0.0000          0.0000      -0.35
[10='eq_7.43']       -0.0000          0.0000      -0.27
[11='eq_7.44']       -0.0000          0.0000      -0.35
[12='eq_7.45']       -0.0000          0.0000      -1.83
[13='eq_7.46']       -0.0000          0.0000      -0.54
[14='eq_7.48']       -0.0000          0.0000      -0.74
[15='eq_7.50']       -0.0000          0.0000      -1.28
[16='eq_7.54']       -0.0000          0.0000      -1.52
[17='eq_7.60']        0.0000          0.0000       0.00
[18='eq_7.61']        0.0000          0.0000       0.13
[19='eq_7.67']       -0.0000          0.0000      -1.75
[20='eq_7.68']       -0.0000          0.0000      -2.10
[21='eq_7.71']        0.0000          0.0000       1.20
[22='eq_7.75']       -0.0000          0.0000      -1.40
[23='eq_7.81']       -0.0000          0.0000      -1.98
[24='eq_7.83']       -0.0000          0.0000      -1.17
[25='eq_7.84']       -0.0000          0.0000      -3.15
[26='eq_8.0']        -0.0000          0.0000      -2.83
[27='eq_8.07']       -0.0000          0.0000      -2.91
[28='eq_8.09']       -0.0000          0.0000      -1.35
[29='eq_8.11']        0.0000          0.0000       0.58
[30='eq_8.12']       -0.0000          0.0000      -0.44
[31='eq_8.13']        0.0000          0.0000       0.47
[32='eq_8.14']       -0.0000          0.0000      -6.46
[33='eq_8.15']        0.0000          0.0000       0.00
[34='eq_8.16']        0.0000          0.0000       0.00
[35='eq_8.26']       -0.0000          0.0000      -1.40
[36='eq_8.36']       -0.0000          0.0000      -0.47
[37='eq_8.43']        0.0000          0.0000       0.47
[38='eq_8.50']       -0.0000          0.0000      -0.93
[39='eq_9.0']        -1.0000          0.0000    -5498851024617941.00
[40='eq_9.01']       -1.0000          0.0000    -5814383134103753.00
[41='eq_9.02']       -1.0000          0.0000    -5706427390186943.00

R^2= 1.000, N= 180, K= 42
****************************************************************
fletch commented 3 years ago

Similar failure on OS X (darwin 18..7.0) perl 5.32.1 mojo 9.02.

yuki-kimoto commented 2 years ago

Mee too. Can I fix this problem?

briandfoy commented 1 year ago

I've forked this module and it's over at https://github.com/briandfoy/mojolicious-plugin-directory . I'd like to take over the module and I asked the author about that at the beginning of the year, but nothing so far. I might just ask modules@ to transfer it so it can work with Mojo 9.

briandfoy commented 1 year ago

Heh, I couldn't take over the module so I've forked this module as Mojolicious::Plugin::DirectoryServer (https://github.com/briandfoy/mojolicious-plugin-directoryserver) and applied this patch in #10 . Thanks,

yuki-kimoto commented 1 year ago

Thank you very much.