[Catalyst] Database schema -- Can't locate object method "new" via package

Matt S Trout dbix-class at trout.me.uk
Fri Jun 16 21:17:10 CEST 2006


Sarah Berry wrote:
> When I run the vieSEB_server.pl script, I see this table. Is that where 
> I should be looking?
> 
> .-------------------------------------------------------------------+----------. 
> 
> | Class                                                             | 
> Type     |
> +-------------------------------------------------------------------+----------+
> | vieSEB::Controller::dbixdemo                                      | 
> instance |
> | vieSEB::Controller::demo                                          | 
> instance |
> | vieSEB::Controller::first                                         | 
> instance |
> | vieSEB::Controller::nightdemo                                     | 
> instance |
> | vieSEB::Model::SensorLogDB                                        | 
> class    |
> | vieSEB::View::TT                                                  | 
> instance |
> '-------------------------------------------------------------------+----------'

It says Model::SensorLogDB is a class. That suggested that it isn't the 
Catalyst::Model::DBIC::schema subclass it should be.

-- 
      Matt S Trout       Offering custom development, consultancy and support
   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Catalyst mailing list