[Dancer-users] Newbie questions: filter fail

Joel Roth joelz at pobox.com
Tue Nov 23 14:49:39 CET 2010


On Tue, Nov 23, 2010 at 10:17:41AM +0200, sawyer x wrote:
> Hi Joel.
> 
> I tried to recreate your error but couldn't.
> 
> Are you using the latest Dancer? (1.2000)

Thanks, Sawyer.

I didn't know a new Dancer was out.
I just installed it... fixes the filter error
 
> Also, there is a community plugin to handle authorization; you might want to
> check it out:
> http://search.cpan.org/perldoc?Dancer::Plugin::Authorize

I'd like to try it however, when I install, I get an error
in 002_isa.t

Any suggestions would be welcome. :-)

Joel

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/001_load.t .. ok
Use of uninitialized value $_[0] in join or string at /usr/lib/perl5/File/Spec/Unix.pm line 86, <DATA> line 37.
session_dir /sessions cannot be created at /home/jroth/perl5/lib/perl5/Dancer/Session.pm line 16
# Looks like you planned 22 tests but ran 2.
# Looks like your test exited with 13 just after 2.
t/002_isa.t ... 
Dubious, test returned 13 (wstat 3328, 0xd00)
Failed 20/22 subtests 
Use of uninitialized value $_[0] in join or string at /usr/lib/perl5/File/Spec/Unix.pm line 86, <DATA> line 37.
session_dir /sessions cannot be created at /home/jroth/perl5/lib/perl5/Dancer/Session.pm line 16
# Looks like you planned 16 tests but ran 2.
# Looks like your test exited with 13 just after 2.
t/003_can.t ... 
Dubious, test returned 13 (wstat 3328, 0xd00)
Failed 14/16 subtests 

Test Summary Report
-------------------
t/002_isa.t (Wstat: 3328 Tests: 2 Failed: 0)
  Non-zero exit status: 13
  Parse errors: Bad plan.  You planned 22 tests but ran 2.
t/003_can.t (Wstat: 3328 Tests: 2 Failed: 0)
  Non-zero exit status: 13
  Parse errors: Bad plan.  You planned 16 tests but ran 2.
Files=3, Tests=6,  2 wallclock secs ( 0.04 usr  0.03 sys +  1.08 cusr  0.15 csys =  1.30 CPU)
Result: FAIL
Failed 2/3 test programs. 0/6 subtests failed.
make: *** [test_dynamic] Error 13
-> FAIL Installing Dancer::Plugin::Authorize failed. See /home/jroth/.cpanm/build.log for details.

 
> S.

-- 
Joel Roth


More information about the Dancer-users mailing list