Giter Club home page Giter Club logo

mojolicious-plugin-directory-stylish's People

Contributors

chinaxing avatar hayajo avatar pink-mist avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

taeril

mojolicious-plugin-directory-stylish's Issues

Can't locate object method "rel_dir" via package "Mojo::Home"

Another Mojolicious 7.31 victim:

...
Can't locate object method "rel_dir" via package "Mojo::Home" at t/dir_index.t line 12.
# Looks like your test exited with 255 before it could output anything.
t/dir_index.t ..... 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 3/3 subtests 
...

Test failure (with Mojolicious 9?)

t/auto_index.t started to fail:

#   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 happens with Mojolicious 9.x:

***************************************************************
Regression 'mod:Mojolicious'
****************************************************************
Name           	       Theta	      StdErr	 T-stat
[0='const']    	      1.0000	      0.0000	23937403367202336.00
[1='eq_7.31']  	      0.0000	      0.0000	   0.00
[2='eq_7.33']  	      0.0000	      0.0000	   0.81
[3='eq_7.34']  	     -0.0000	      0.0000	  -1.33
[4='eq_7.36']  	     -0.0000	      0.0000	  -0.71
[5='eq_7.37']  	      0.0000	      0.0000	   0.95
[6='eq_7.41']  	      0.0000	      0.0000	   0.14
[7='eq_7.43']  	      0.0000	      0.0000	   0.71
[8='eq_7.44']  	     -0.0000	      0.0000	  -0.54
[9='eq_7.45']  	     -0.0000	      0.0000	  -0.49
[10='eq_7.46'] 	     -0.0000	      0.0000	  -1.24
[11='eq_7.48'] 	     -0.0000	      0.0000	  -1.64
[12='eq_7.50'] 	      0.0000	      0.0000	   0.14
[13='eq_7.54'] 	      0.0000	      0.0000	   0.95
[14='eq_7.60'] 	      0.0000	      0.0000	   1.07
[15='eq_7.61'] 	     -0.0000	      0.0000	  -1.24
[16='eq_7.68'] 	      0.0000	      0.0000	   0.53
[17='eq_7.71'] 	      0.0000	      0.0000	   1.88
[18='eq_7.75'] 	     -0.0000	      0.0000	  -1.63
[19='eq_7.81'] 	     -0.0000	      0.0000	  -0.54
[20='eq_7.83'] 	     -0.0000	      0.0000	  -0.27
[21='eq_7.84'] 	     -0.0000	      0.0000	  -1.63
[22='eq_8.0']  	      0.0000	      0.0000	   1.78
[23='eq_8.07'] 	      0.0000	      0.0000	   0.81
[24='eq_8.09'] 	     -0.0000	      0.0000	  -1.42
[25='eq_8.11'] 	      0.0000	      0.0000	   1.36
[26='eq_8.12'] 	     -0.0000	      0.0000	  -2.13
[27='eq_8.13'] 	      0.0000	      0.0000	   0.54
[28='eq_8.14'] 	     -0.0000	      0.0000	  -4.62
[29='eq_8.15'] 	     -0.0000	      0.0000	  -2.44
[30='eq_8.16'] 	      0.0000	      0.0000	   1.08
[31='eq_8.36'] 	     -0.0000	      0.0000	  -3.80
[32='eq_8.50'] 	     -0.0000	      0.0000	  -1.63
[33='eq_9.0']  	     -1.0000	      0.0000	-17678944023855820.00
[34='eq_9.01'] 	     -1.0000	      0.0000	-19192620456231444.00
[35='eq_9.02'] 	     -1.0000	      0.0000	-17678944023855820.00

R^2= 1.000, N= 141, K= 36
****************************************************************

Test failure with Mojolicious 6

t/dir.t ........... 1/2
    #   Failed test 'Content-Type: application/json'
    #   at t/dir.t line 27.
    #          got: 'application/json;charset=UTF-8'
    #     expected: 'application/json'
    # Looks like you failed 1 test of 3.

#   Failed test 'json'
#   at t/dir.t line 30.
# Looks like you failed 1 test of 2.
t/dir.t ........... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests

Can't locate Mojo/File.pm

It seems that the last change needs also a minimum prerequisite version for Mojolicious. For example, one of my smokers has only Mojolicious 7.05 installed and this is causing failures:

#   Failed test 'use Mojolicious::Plugin::Directory::Stylish;'
#   at t/00_compile.t line 4.
#     Tried to use 'Mojolicious::Plugin::Directory::Stylish'.
#     Error:  Can't locate Mojo/File.pm in @INC (you may need to install the Mojo::File module) (@INC contains: /home/cpansand/.cpan/build/2017042609/Mojolicious-Plugin-Directory-Stylish-1.005-0/blib/lib /home/cpansand/.cpan/build/2017042609/Mojolicious-Plugin-Directory-Stylish-1.005-0/blib/arch /opt/perl-5.20.0/lib/site_perl/5.20.0/x86_64-linux /opt/perl-5.20.0/lib/site_perl/5.20.0 /opt/perl-5.20.0/lib/5.20.0/x86_64-linux /opt/perl-5.20.0/lib/5.20.0 .) at /home/cpansand/.cpan/build/2017042609/Mojolicious-Plugin-Directory-Stylish-1.005-0/blib/lib/Mojolicious/Plugin/Directory/Stylish.pm line 13.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2017042609/Mojolicious-Plugin-Directory-Stylish-1.005-0/blib/lib/Mojolicious/Plugin/Directory/Stylish.pm line 13.
# Compilation failed in require at t/00_compile.t line 4.
# BEGIN failed--compilation aborted at t/00_compile.t line 4.
# Looks like you failed 1 test of 1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.