[Catalyst] Couldn't instantiate component "AddressBook::Model::AddressDB"

Kiffin Gish kiffin.gish at planet.nl
Wed Apr 22 09:30:17 GMT 2009

I've completed the Catalyst::Manual::Tutorial and am now sawing through
the Definitive Guide to Catalyst.

However, in chapter 3 p. 39 the following script:

$ perl script/addressbook_server.pl -r -d

gives me:

Couldn't instantiate component "AddressBook::Model::AddressDB", "Cannot
load schema class 'AddressBook::Schema::AddressDB':
DBIx::Class::Row::throw_exception(): Can't locate
AddressBook/Schema/AddressDB/People.pm in @INC (@INC
contains: /home/kiffin/catalyst/AddressBook/script/../lib /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/local/share/perl/5.10.0/Class/C3/Componentised.pm line 128.
Compilation failed in require
at /usr/local/share/perl/5.10.0/Class/C3/Componentised.pm line 128.
Compilation failed in require
at /usr/local/share/perl/5.10.0/Catalyst/Model/DBIC/Schema.pm line 333.
 at script/addressbook_server.pl line 55" at
script/addressbook_server.pl line 55
Compilation failed in require at script/addressbook_server.pl line 55.

The errata link at http://dev.catalyst.perl.org/wiki/thebookerrata does
mention something about this but it is very cryptic to say the least.

Can anyone out there help me get over this bump in the road so that I
can continue sawing through the rest of the book?

By the by, does anyone know when the hew Catalyst book will be


Kiffin Gish <Kiffin.Gish at planet.nl>
Gouda, The Netherlands

More information about the Catalyst mailing list