[dancer-users] Dancer2 install errors

mark jones mjemail at me.com
Fri Jun 5 13:46:50 BST 2015


Hi,

Can anyone help with the errors that I'm getting while trying to install Dancer2, looks a problem with core.app.before_request but there are also some errors regarding new_from_plack.  I'm using a fresh install of Ubuntu 64 bit, 14.04.

t/00-report-prereqs.t .................................. ok
[main:25555] error @2015-06-05 13:28:24> Exception caught in 'core.app.before_request' filter: Hook error: Can't locate object method "failure" via package "Foo" (perhaps you forgot to load "Foo"?) at t/app.t line 150.
 at /home/mj/.cpanm/work/1433507299.25464/Dancer2-0.160002/blib/lib/Dancer2/Core/App.pm line 953. in /home/mj/.cpanm/work/1433507299.25464/Dancer2-0.160002/blib/lib/Dancer2/Core/App.pm l. 526
t/app.t ................................................ ok
t/app_alone.t .......................................... ok
t/author-no-tabs.t ..................................... skipped: these tests are for testing by the author
t/auto_page.t .......................................... ok
t/caller.t ............................................. ok
t/charset_server.t ..................................... ok
t/classes/Dancer2-Core-Factory/new.t ................... ok
t/classes/Dancer2-Core-Hook/new.t ...................... ok
    # Running test with XS_URL_DECODE
    # Running test without XS_PARSE_QUERY_STRING
    # Running test without XS_URL_DECODE
t/classes/Dancer2-Core-Request/new.t ................... ok
t/classes/Dancer2-Core-Response-Delayed/after_hooks.t .. ok
t/classes/Dancer2-Core-Response-Delayed/new.t .......... ok
coercion for "headers" failed: Not an ARRAY reference at /home/mj/.cpanm/work/1433507299.25464/Dancer2-0.160002/blib/lib/Dancer2/Core/Role/Headers.pm line 16.
    # Child (new_from_plack) exited without calling finalize()

#   Failed test 'new_from_plack'
#   at /usr/local/share/perl/5.18.2/Test/Builder.pm line 279.
# Looks like you failed 1 test of 3.
# Looks like your test exited with 29 just after 3.
t/classes/Dancer2-Core-Response/new_from.t .............
Dubious, test returned 29 (wstat 7424, 0x1d00)
Failed 1/3 subtests

I can provide the full log if needed.

Cheers

MJ



More information about the dancer-users mailing list