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

2009-04-22 Thread Matt S Trout
On Wed, Apr 22, 2009 at 01:15:18PM +0200, Kiffin Gish wrote: > Actually both People.pm and Address.pp were generated and can be found > in the directory: lib/AddressBook/Schema/AddressDB/Result/. > > I thinks that's the problem. Right, the DBIx::Class helper now uses load_namespaces style by defa

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

2009-04-22 Thread Kiffin Gish
Oops, I meant the book 'Catalyst Accelerating Perl Web Application Development' (sorry). - Kiffin Gish Gouda, The Netherlands On Wed, 2009-04-22 at 22:31 +1000, Kieren Diment wrote: > On 22/04/2009, at 10:06 PM, Kiffin Gish wrote: > > > Can you please be specific when you mean the 'other' bo

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

2009-04-22 Thread Ian Wells
2009/4/22 Kiffin Gish : > Actually both People.pm and Address.pp were generated and can be found > in the directory: lib/AddressBook/Schema/AddressDB/Result/. > > I thinks that's the problem. Passing observation, that's the load_namespaces way that DBIx::Class uses nowadays. The book is based on

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

2009-04-22 Thread Kieren Diment
On 22/04/2009, at 10:06 PM, Kiffin Gish wrote: Can you please be specific when you mean the 'other' book? I thought there is only one Catalyst book available now and it is the Packt book, or am I mistaken? Which then is the 'correct' book I should be using? You mentioned the definitive gu

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

2009-04-22 Thread Kiffin Gish
Can you please be specific when you mean the 'other' book? I thought there is only one Catalyst book available now and it is the Packt book, or am I mistaken? Which then is the 'correct' book I should be using? - Kiffin Gish Gouda, The Netherlands On Wed, 2009-04-22 at 21:12 +1000, Kieren Di

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

2009-04-22 Thread Matthew Topper
Just throwing ideas out there. I once had a similar problem with not being able to instantiate a class that was obviously there when I created a class method called 'new'. Once I got rid of that, everything worked perfectly. -Matt On Wed, 22 Apr 2009 13:15:18 +0200 Kiffin Gish wrote: > Actual

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

2009-04-22 Thread Kiffin Gish
Actually both People.pm and Address.pp were generated and can be found in the directory: lib/AddressBook/Schema/AddressDB/Result/. I thinks that's the problem. - Kiffin Gish Gouda, The Netherlands On Wed, 2009-04-22 at 11:22 +0100, Oliver Charles wrote: > lib/AddressBook/Schema/AddressDB/Pe

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

2009-04-22 Thread Kieren Diment
On 22/04/2009, at 8:22 PM, Oliver Charles wrote: On Wed, Apr 22, 2009 at 10:30 AM, Kiffin Gish wrote: 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_serv

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

2009-04-22 Thread Oliver Charles
On Wed, Apr 22, 2009 at 10:30 AM, Kiffin Gish wrote: > 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: It seems you are mis

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

2009-04-22 Thread Kiffin Gish
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 cla