[MojoMojo] Invalid Args('') for action attachment/defaultaction

sjv samjvaughan at gmail.com
Fri Jun 12 07:03:27 GMT 2009


Hi mojo-ers,

I was wondering if anyone has encountered errors such as the following in
CPAN before.  I've had a wild ride trying to get mojomojo working on Mac OS
X 10.5 and this appears to be the final hurdle.  Any suggestions very
gratefully received!

Thanks,

Sam


t/01app.t ....................... 1/2 
#   Failed test 'use Catalyst::Test;'
#   at t/01app.t line 7.
#     Tried to use 'Catalyst::Test'.
#     Error:  Could not load class (MojoMojo) because : Invalid Args('') for
action attachment/defaultaction (use 'Args' or 'Args(<number>)' at
/Library/Perl/5.8.8/Catalyst/Dispatcher.pm line 536
# Compilation failed in require at
/Library/Perl/5.8.8/darwin-thread-multi-2level/Class/MOP.pm line 135.
#  at /Library/Perl/5.8.8/darwin-thread-multi-2level/Class/MOP.pm line 120
# 	Class::MOP::load_first_existing_class('MojoMojo') called at
/Library/Perl/5.8.8/darwin-thread-multi-2level/Class/MOP.pm line 141
# 	Class::MOP::load_class('MojoMojo') called at
/Library/Perl/5.8.8/Catalyst/Test.pm line 23
# 	Catalyst::Test::__ANON__('Catalyst::Test', 'all', 'HASH(0x28e86c0)',
'HASH(0xe38dc8)') called at /Library/Perl/5.8.8/Sub/Exporter.pm line 493
# 	Sub::Exporter::_expand_group('Catalyst::Test', 'HASH(0x28e82a0)',
'ARRAY(0x28e7b88)', 'HASH(0xe38dc8)', 'HASH(0x28e86fc)', 'HASH(0x28e7840)')
called at /Library/Perl/5.8.8/Sub/Exporter.pm line 424
# 	Sub::Exporter::_expand_groups('Catalyst::Test', 'HASH(0x28e82a0)',
'ARRAY(0x28e8318)', 'HASH(0xe38dc8)') called at
/Library/Perl/5.8.8/Sub/Exporter.pm line 742
# 	Sub::Exporter::__ANON__('Catalyst::Test', '-all', 'HASH(0x842648)')
called at /Library/Perl/5.8.8/Catalyst/Test.pm line 106
# 	Catalyst::Test::import('Catalyst::Test', 'MojoMojo') called at (eval
1494) line 2
# 	main::BEGIN() called at /Library/Perl/5.8.8/Catalyst/Test.pm line 2
# 	eval {...} called at /Library/Perl/5.8.8/Catalyst/Test.pm line 2
# 	eval 'package main;
# use Catalyst::Test @{$args[0]};
# 1;
# 
# ;' called at /Library/Perl/Updates/5.8.8/Test/More.pm line 805
# 	Test::More::_eval('package main;\x{a}use Catalyst::Test
@{$args[0]};\x{a}1;\x{a}', 'ARRAY(0x83a228)') called at
/Library/Perl/Updates/5.8.8/Test/More.pm line 780
# 	Test::More::use_ok('Catalyst::Test', 'MojoMojo') called at t/01app.t line
7
# BEGIN failed--compilation aborted at (eval 1494) line 2.
Undefined subroutine &main::request called at t/01app.t line 8.
-- 
View this message in context: http://n2.nabble.com/Invalid-Args%28%27%27%29-for-action-attachment-defaultaction-tp3066285p3066285.html
Sent from the mojomojo mailing list archive at Nabble.com.




More information about the Mojomojo mailing list