Giter Club home page Giter Club logo

mojox-scaffold's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

kmcgrath jshy

mojox-scaffold's Issues

Fail To Build From Source with Mojolicious 2.37

Log:

--> Working on .
Entering /home/matthew/workspace/Conifer/paperwall-copy/forwardever-mojox-scaffold-79804ab
Configuring /home/matthew/workspace/Conifer/paperwall-copy/forwardever-mojox-scaffold-79804ab
Running Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Mojolicious-Plugin-ResourcefulRoutes' version '0.04'
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0 ... Yes (0.98)
Checking if you have Mojolicious 0.999929 ... Yes (2.37)
Building and testing Mojolicious-Plugin-ResourcefulRoutes-0.04
Building Mojolicious-Plugin-ResourcefulRoutes
Can't locate object method "new" via package "app" at /home/matthew/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Mojo/Server.pm line 13.

Looks like your test exited with 2 before it could output anything.

t/resources.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 185/185 subtests

Test Summary Report


t/resources.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 185 tests but ran 0.
Files=1, Tests=0, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.20 cusr 0.01 csys = 0.25 CPU)
Result: FAIL
Failed 1/1 test programs. 0/0 subtests failed.
-> FAIL Installing . failed. See /home/matthew/.cpanm/build.log for details.

test fails (Test::Mojo->new signature changed)

It seems that the signature for Test::Mojo->new is that it takes the class or app object as its only parameter, so:

Test::Mojo->new('Test') # OK
Test::Mojo->new(app => 'Test') # WRONG

Cheers,
-R

Install OK, but tests fails (Mojo 0.999950)

I am new at this, let me know if you need more info.

Mac OSX Snow Leopard 10.6.5
macports installed perl 5.12
This is perl 5, version 12, subversion 2 (v5.12.2) built for darwin-thread-multi-2level

Full log won't show, but is saved - edit this so see full log.

$ sudo cpanm -v .

You have make /usr/bin/make
You have LWP 5.837
You have /usr/bin/tar: bsdtar 2.6.2 - libarchive 2.6.2
You have /usr/bin/unzip
--> Working on .
Entering /Users/fleveillee/Downloads/forwardever-mojox-scaffold-b0c1cd2
Configuring /Users/fleveillee/Downloads/forwardever-mojox-scaffold-b0c1cd2 ... Running Build.PL
WARNING: the following files are missing in your kit:
MYMETA.yml
Please inform the author.

Creating new 'MYMETA.yml' with configuration results
Creating new 'Build' script for 'Mojolicious-Plugin-ResourcefulRoutes' version '0.04'
OK
Checking dependencies from MYMETA.yml ...
Finding PREREQ from Makefile ...
Checking if you have Mojolicious 0.999929 ... Yes (0.999950)
Checking if you have Test::More 0 ... Yes (0.96)
Checking if you have Mojolicious 0.999931 ... Yes (0.999950)
Building and testing Mojolicious-Plugin-ResourcefulRoutes-0.04 ... Building Mojolicious-Plugin-ResourcefulRoutes
t/resources.t .. 1/125
Failed test '200 OK'
at t/resources.t line 47.
got: '404'
expected: '200'

Failed test 'exact match for content'
at t/resources.t line 47.
got: '<!doctype html>

<title>Not Found</title>
<style type="text/css">
body {
font: 0.9em Verdana, "Bitstream Vera Sans", sans-serif;
}
</style>



Page not found, want to go home?

expected: 'Template for displaying a form that allows to delete an existing resource item! Route name: users_delete_form'
Use of uninitialized value in lc at /Users/fleveillee/Downloads/forwardever-mojox-scaffold-b0c1cd2/blib/lib/Mojolicious/Plugin/ResourcefulRoutes.pm line 20.
Use of uninitialized value in lc at /Users/fleveillee/Downloads/forwardever-mojox-scaffold-b0c1cd2/blib/lib/Mojolicious/Plugin/ResourcefulRoutes.pm line 23.
t/resources.t .. 59/125

Failed test '200 OK'
at t/resources.t line 115.
got: '404'
expected: '200'

Failed test 'exact match for content'
at t/resources.t line 115.
got: '<!doctype html>

<title>Not Found</title>
<style type="text/css">
body {
font: 0.9em Verdana, "Bitstream Vera Sans", sans-serif;
}
</style>



Page not found, want to go home?

expected: 'Template for displaying a form that allows to delete an existing resource item! Route name: admin-users_delete_form'
Use of uninitialized value in lc at /Users/fleveillee/Downloads/forwardever-mojox-scaffold-b0c1cd2/blib/lib/Mojolicious/Plugin/ResourcefulRoutes.pm line 20.
Use of uninitialized value in lc at /Users/fleveillee/Downloads/forwardever-mojox-scaffold-b0c1cd2/blib/lib/Mojolicious/Plugin/ResourcefulRoutes.pm line 23.

Failed test '200 OK'
at t/resources.t line 161.
got: '404'
expected: '200'

Failed test 'exact match for content'
at t/resources.t line 161.
got: '<!doctype html>

<title>Not Found</title>
<style type="text/css">
body {
font: 0.9em Verdana, "Bitstream Vera Sans", sans-serif;
}
</style>



Page not found, want to go home?

' expected: 'Template for displaying a form that allows to create a new resource item! Route name: member_new_form'

Failed test '200 OK'
at t/resources.t line 167.
got: '404'
expected: '200'

Failed test 'exact match for content'
at t/resources.t line 167.
got: '<!doctype html>

<title>Not Found</title>
<style type="text/css">
body {
font: 0.9em Verdana, "Bitstream Vera Sans", sans-serif;
}
</style>



Page not found, want to go home?

' expected: 'Template for displaying a single resource item! Route name: member_show'

Failed test '200 OK'
at t/resources.t line 173.
got: '404'
expected: '200'

Failed test 'exact match for content'
at t/resources.t line 173.
got: '<!doctype html>

<title>Not Found</title>
<style type="text/css">
body {
font: 0.9em Verdana, "Bitstream Vera Sans", sans-serif;
}
</style>



Page not found, want to go home?

' expected: 'Template for displaying a form that allows to edit an existing resource item! Route name: member_edit_form'

Failed test '200 OK'
at t/resources.t line 179.
got: '404'
expected: '200'

Failed test 'exact match for content'
at t/resources.t line 179.
got: '<!doctype html>

<title>Not Found</title>
<style type="text/css">
body {
font: 0.9em Verdana, "Bitstream Vera Sans", sans-serif;
}
</style>



Page not found, want to go home?

' expected: 'Template for displaying a form that allows to delete an existing resource item! Route name: member_delete_form' Use of uninitialized value in lc at /Users/fleveillee/Downloads/forwardever-mojox-scaffold-b0c1cd2/blib/lib/Mojolicious/Plugin/ResourcefulRoutes.pm line 20. Use of uninitialized value in lc at /Users/fleveillee/Downloads/forwardever-mojox-scaffold-b0c1cd2/blib/lib/Mojolicious/Plugin/ResourcefulRoutes.pm line 23.

Failed test '200 OK'
at t/resources.t line 185.
got: '404'
expected: '200'

Failed test 'exact match for content'
at t/resources.t line 185.
got: '<!doctype html>

<title>Not Found</title>
<style type="text/css">
body {
font: 0.9em Verdana, "Bitstream Vera Sans", sans-serif;
}
</style>



Page not found, want to go home?

' expected: 'POST request, create method executed! Route name: member_create'

Failed test '200 OK'
at t/resources.t line 191.
got: '404'
expected: '200'

Failed test 'exact match for content'
at t/resources.t line 191.
got: '<!doctype html>

<title>Not Found</title>
<style type="text/css">
body {
font: 0.9em Verdana, "Bitstream Vera Sans", sans-serif;
}
</style>



Page not found, want to go home?

' expected: 'PUT request, update method executed! Route name: member_update'

Failed test '200 OK'
at t/resources.t line 197.
got: '404'
expected: '200'

Failed test 'exact match for content'
at t/resources.t line 197.
got: '<!doctype html>

<title>Not Found</title>
<style type="text/css">
body {
font: 0.9em Verdana, "Bitstream Vera Sans", sans-serif;
}
</style>



Page not found, want to go home?

' expected: 'PUT request, update method executed! Route name: member_update'

Failed test '200 OK'
at t/resources.t line 203.
got: '404'
expected: '200'

Failed test 'exact match for content'
at t/resources.t line 203.
got: '<!doctype html>

<title>Not Found</title>
<style type="text/css">
body {
font: 0.9em Verdana, "Bitstream Vera Sans", sans-serif;
}
</style>



Page not found, want to go home?

' expected: 'DELETE request, delete method executed! Route name: member_delete'

Failed test '200 OK'
at t/resources.t line 209.
got: '404'
expected: '200'

Failed test 'exact match for content'
at t/resources.t line 209.
got: '<!doctype html>

<title>Not Found</title>
<style type="text/css">
body {
font: 0.9em Verdana, "Bitstream Vera Sans", sans-serif;
}
</style>



Page not found, want to go home?

' expected: 'DELETE request, delete method executed! Route name: member_delete' Looks like you failed 22 tests of 125. t/resources.t .. Dubious, test returned 22 (wstat 5632, 0x1600) Failed 22/125 subtests ## Test Summary Report

t/resources.t (Wstat: 5632 Tests: 125 Failed: 22)
Failed tests: 20, 22, 63, 65, 91, 93, 95, 97, 99, 101
103, 105, 107, 109, 111, 113, 115, 117
119, 121, 123, 125
Non-zero exit status: 22
Files=1, Tests=125, 1 wallclock secs ( 0.06 usr 0.02 sys + 0.81 cusr 0.08 csys = 0.97 CPU)
Result: FAIL
Failed 1/1 test programs. 22/125 subtests failed.
FAIL
! Installing . failed. See /Users/fleveillee/.cpanm/build.log for details.

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.