Hello, I get them same test errors when trying to install Catalyst::Controller::DBIC::API with the latest versions of Moose and dependencies, etc.
-L > On Tue, Dec 21, 2010 at 2:01 AM, Seth Daniel <[email protected]>wrote: > Hi, > > I am attempting to use Catalyst::Controller::DBIC::API. When I use the > prefetch_allow configuration option my Catalyst server fails to start. I > then > noticed that the C::C::DBIC::API tests have the same issue. > > Here is the test failure I am seeing (version 2.002003): > > t/rest/create.t ............. Couldn't instantiate component > "RestTest::Controller::API::RPC::CD", "Attribute (prefetch_validator_class) > does not pass the type constraint because: Validation failed for '__ANON__' > with value undef at > /opt/perl/5.10/lib/site_perl/5.10.1/x86_64-linux-thread-multi/Moose/Meta/Method/Delegation.pm > line 90 > > Catalyst::Controller::DBIC::API::create_prefetch_validator('RestTest::Controller::API::RPC::CD=HASH(0x638d240)') > called at /opt/perl/5.10/lib/site_perl/5.10.1/MooseX/Role/BuildInstanceOf.pm > line 157 > > Moose::Meta::Role::__ANON__::SERIAL::3::_build_prefetch_validator('RestTest::Controller::API::RPC::CD=HASH(0x638d240)') > called at generated method (unknown origin) line 0 > > Catalyst::Controller::DBIC::API::prefetch_validator('RestTest::Controller::API::RPC::CD=HASH(0x638d240)') > called at > /home/sdaniel/src/trunk/build_tools/rpm/BUILD/Catalyst-Controller-DBIC-API-2.002003/blib/lib/Catalyst/Controller/DBIC/API/RequestArguments.pm > line 168 > > Catalyst::Controller::DBIC::API::RequestArguments::_check_rel('RestTest::Controller::API::RPC::CD=HASH(0x638d240)', > 'tracks', 1) called at > /home/sdaniel/src/trunk/build_tools/rpm/BUILD/Catalyst-Controller-DBIC-API-2.002003/blib/lib/Catalyst/Controller/DBIC/API/RequestArguments.pm > line 154 > > Catalyst::Controller::DBIC::API::RequestArguments::_check_rel('RestTest::Controller::API::RPC::CD=HASH(0x638d240)', > 'ARRAY(0x5430aa0)', 1) called at > /home/sdaniel/src/trunk/build_tools/rpm/BUILD/Catalyst-Controller-DBIC-API-2.002003/blib/lib/Catalyst/Controller/DBIC/API/RequestArguments.pm > line 174 > > Catalyst::Controller::DBIC::API::RequestArguments::__ANON__('RestTest::Controller::API::RPC::CD=HASH(0x638d240)', > 'ARRAY(0x5430a88)') called at > /opt/perl/5.10/lib/site_perl/5.10.1/x86_64-linux-thread-multi/Moose/Meta/Class.pm > line 255 > > Moose::Meta::Class::new_object('Class::MOP::Class::__ANON__::SERIAL::5=HASH(0x55819b8)', > 'HASH(0x6394578)') called at > /opt/perl/5.10/lib/site_perl/5.10.1/x86_64-linux-thread-multi/Moose/Object.pm > line 25 > Moose::Object::new('RestTest::Controller::API::RPC::CD', 'RestTest', > 'HASH(0x638d120)') called at generated method (unknown origin) line 3 > Catalyst::Controller::new('RestTest::Controller::API::RPC::CD', > 'RestTest', 'HASH(0x638d120)') called at > /opt/perl/5.10/lib/site_perl/5.10.1/Catalyst/Component.pm line 110 > Catalyst::Component::COMPONENT('RestTest::Controller::API::RPC::CD', > 'RestTest', 'HASH(0x638d120)') called at > /opt/perl/5.10/lib/site_perl/5.10.1/Catalyst.pm line 2515 > eval {...} called at /opt/perl/5.10/lib/site_perl/5.10.1/Catalyst.pm line > 2515 > Catalyst::setup_component('RestTest', > 'RestTest::Controller::API::RPC::CD') called at > /opt/perl/5.10/lib/site_perl/5.10.1/Catalyst.pm line 2442 > Catalyst::setup_components('RestTest') called at > /opt/perl/5.10/lib/site_perl/5.10.1/Catalyst.pm line 1171 > Catalyst::setup('RestTest') called at t/lib/RestTest.pm line 32 > require RestTest.pm called at t/rest/create.t line 10 > main::BEGIN() called at t/lib/RestTest.pm line 0 > eval {...} called at t/lib/RestTest.pm line 0"Compilation failed in > require at t/rest/create.t line 10. > BEGIN failed--compilation aborted at t/rest/create.t line 10. > > > > Does anyone know what is going on? I'm still working through it. It's > using > a number of Moose modules I am unfamiliar with so it is taking some time. > > My initial thought is that I have a too old / too new version of some > module, > but I have no idea what that module could be. During installation the > build > process didn't complain about missing or out-dated modules. > > -- > seth /\ sethdaniel.org > > _______________________________________________ > List: [email protected] > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ >
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
