Hello,<br><br>I get them same test errors when trying to install Catalyst::Controller::DBIC::API with the latest versions of Moose and dependencies, etc.<br><br>-L<br><blockquote class="gmail_quote"></blockquote><div class="gmail_quote">
On Tue, Dec 21, 2010 at 2:01 AM, Seth Daniel <span dir="ltr">&lt;<a href="mailto:catalyst@sethdaniel.org">catalyst@sethdaniel.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
I am attempting to use Catalyst::Controller::DBIC::API.  When I use the<br>
prefetch_allow configuration option my Catalyst server fails to start.  I then<br>
noticed that the C::C::DBIC::API tests have the same issue.<br>
<br>
Here is the test failure I am seeing (version 2.002003):<br>
<br>
t/rest/create.t ............. Couldn&#39;t instantiate component &quot;RestTest::Controller::API::RPC::CD&quot;, &quot;Attribute (prefetch_validator_class) does not pass the type constraint because: Validation failed for &#39;__ANON__&#39; 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<br>

  Catalyst::Controller::DBIC::API::create_prefetch_validator(&#39;RestTest::Controller::API::RPC::CD=HASH(0x638d240)&#39;) called at /opt/perl/5.10/lib/site_perl/5.10.1/MooseX/Role/BuildInstanceOf.pm line 157<br>
  Moose::Meta::Role::__ANON__::SERIAL::3::_build_prefetch_validator(&#39;RestTest::Controller::API::RPC::CD=HASH(0x638d240)&#39;) called at generated method (unknown origin) line 0<br>
  Catalyst::Controller::DBIC::API::prefetch_validator(&#39;RestTest::Controller::API::RPC::CD=HASH(0x638d240)&#39;) 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<br>

  Catalyst::Controller::DBIC::API::RequestArguments::_check_rel(&#39;RestTest::Controller::API::RPC::CD=HASH(0x638d240)&#39;, &#39;tracks&#39;, 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<br>

  Catalyst::Controller::DBIC::API::RequestArguments::_check_rel(&#39;RestTest::Controller::API::RPC::CD=HASH(0x638d240)&#39;, &#39;ARRAY(0x5430aa0)&#39;, 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<br>

  Catalyst::Controller::DBIC::API::RequestArguments::__ANON__(&#39;RestTest::Controller::API::RPC::CD=HASH(0x638d240)&#39;, &#39;ARRAY(0x5430a88)&#39;) called at /opt/perl/5.10/lib/site_perl/5.10.1/x86_64-linux-thread-multi/Moose/Meta/Class.pm line 255<br>

  Moose::Meta::Class::new_object(&#39;Class::MOP::Class::__ANON__::SERIAL::5=HASH(0x55819b8)&#39;, &#39;HASH(0x6394578)&#39;) called at /opt/perl/5.10/lib/site_perl/5.10.1/x86_64-linux-thread-multi/Moose/Object.pm line 25<br>

  Moose::Object::new(&#39;RestTest::Controller::API::RPC::CD&#39;, &#39;RestTest&#39;, &#39;HASH(0x638d120)&#39;) called at generated method (unknown origin) line 3<br>
  Catalyst::Controller::new(&#39;RestTest::Controller::API::RPC::CD&#39;, &#39;RestTest&#39;, &#39;HASH(0x638d120)&#39;) called at /opt/perl/5.10/lib/site_perl/5.10.1/Catalyst/Component.pm line 110<br>
  Catalyst::Component::COMPONENT(&#39;RestTest::Controller::API::RPC::CD&#39;, &#39;RestTest&#39;, &#39;HASH(0x638d120)&#39;) called at /opt/perl/5.10/lib/site_perl/5.10.1/Catalyst.pm line 2515<br>
  eval {...} called at /opt/perl/5.10/lib/site_perl/5.10.1/Catalyst.pm line 2515<br>
  Catalyst::setup_component(&#39;RestTest&#39;, &#39;RestTest::Controller::API::RPC::CD&#39;) called at /opt/perl/5.10/lib/site_perl/5.10.1/Catalyst.pm line 2442<br>
  Catalyst::setup_components(&#39;RestTest&#39;) called at /opt/perl/5.10/lib/site_perl/5.10.1/Catalyst.pm line 1171<br>
  Catalyst::setup(&#39;RestTest&#39;) called at t/lib/RestTest.pm line 32<br>
  require RestTest.pm called at t/rest/create.t line 10<br>
  main::BEGIN() called at t/lib/RestTest.pm line 0<br>
  eval {...} called at t/lib/RestTest.pm line 0&quot;Compilation failed in require at t/rest/create.t line 10.<br>
BEGIN failed--compilation aborted at t/rest/create.t line 10.<br>
<br>
<br>
<br>
Does anyone know what is going on?  I&#39;m still working through it.  It&#39;s using<br>
a number of Moose modules I am unfamiliar with so it is taking some time.<br>
<br>
My initial thought is that I have a too old / too new version of some module,<br>
but I have no idea what that module could be.  During installation the build<br>
process didn&#39;t complain about missing or out-dated modules.<br>
<font color="#888888"><br>
--<br>
seth /\ <a href="http://sethdaniel.org" target="_blank">sethdaniel.org</a><br>
<br>
_______________________________________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br>
</font></blockquote></div><br>