Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Users

Catalyst Data Model Error

 

 

Catalyst users RSS feed   Index | Next | Previous | View Threaded


clive.projects at gmail

Aug 17, 2009, 7:48 AM

Post #1 of 2 (743 views)
Permalink
Catalyst Data Model Error

Hi all,



I’m attempting to get catalyst 5.80007 up and running on active state perl
5.8.9 826. It seems to install properly and i’ve been working my way
through the catalyst book. However when i try to create a model using:



perl script/myapp_create.pl model MyAppDB DBIC::Schema MyAppDB
dbi:mysql:myapp "myapp" "password"



I get the following error:



Can't call method "flatten" on unblessed reference at
C:/Perl/site/lib/Catalyst/Helper/Model/DBIC/Schema.pm line 164.



I’ve done a Data::Dumper on the data ($self->args) that this error kicks out
and it shows:



$VAR1 = [

'dbi:mysql:myapp',

'myapp',

'password'

];


I’ve uninstalled perl and catalyst and reinstalled them more than once and i
still get the error. I've installed the latest versions of autobox and
Moose::Autobox even before installing Catalyst::Runtime and Catalyst::Devel

Any help much appreciated!



Thanks,

clive


bobtfish at bobtfish

Aug 17, 2009, 1:43 PM

Post #2 of 2 (655 views)
Permalink
Re: Catalyst Data Model Error [In reply to]

On 17 Aug 2009, at 15:48, clive glew wrote:

> I’m attempting to get catalyst 5.80007 up and running on active
> state perl 5.8.9 826. It seems to install properly and i’ve been
> working my way through the catalyst book. However when i try to
> create a model using:

The 'autobox' package shipped in ppm is TOTALLY TOTALLY BROKEN.

Install it from CPAN?

Cheers
t0m


_______________________________________________
List: Catalyst [at] lists
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst [at] lists/
Dev site: http://dev.catalyst.perl.org/

Catalyst users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.