[Catalyst] Going through tutorial, part 2 and getting error

Andrew archan2000 at yahoo.com
Sun Jan 6 06:59:30 GMT 2008


A newbie getting back into perl and decided to start using it w/ Catalyst.  

I'm going through the tutorial, part 2 and modifying it by changing the Models, and slightly different presentation, but the structure of the data is the same (e.g. instead of a Book object I'm using a Customer object, but it's the same in that a Book can have many authors, a Customer can have many credit cards). So I'm making the example more applicable to what I'd to use it for and basically renaming stuff.

When I run "script/myApp_server.pl" I get the following error:
"
Couldn't instantiate component "register::Model::registerModel", "Cannot load schema class 'registerDB': DBIx::Class::Schema::throw_exception(): Can't locate MyAppDB/Customer.pm in @INC (@INC contains: /mnt/hgfs/mac/Desktop/share/catalyst/webpage/apps/register/script/../lib /home/owner/local/lib/perl5 /home/owner/local/share/perl/5.8.8 /home/owner/local/lib/perl/5.8.8 /home/owner/local/lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 110) line 3.
Compilation failed in require at /usr/local/share/perl/5.8.8/Catalyst/Model/DBIC/Schema.pm line 271.
 at script/register_server.pl line 53" at script/register_server.pl line 53
Compilation failed in require at script/register_server.pl line 53.
"

Could I be running the helper scripts w/ the wrong arguments?  I know I have all the dependencies installed since I got the tutorial code from SVN, deployed in the same environment and it ran as expected.  I tried redoing it to see if I made any syntax mistakes and still same error message.  Any suggestions?  


       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080105/b8ee93dd/attachment.htm


More information about the Catalyst mailing list