[Catalyst] Inconsistent hierarchy....

Duncan Hutty dhutty at allgoodbits.org
Wed Aug 19 16:43:58 GMT 2009


mrchips wrote:
> i have a working application which i'm installing on a fresh box, with a
> fresh build of everything. But i've run into this:
> 
> Couldn't instantiate component "threesixty::Model::CDBI", "Inconsistent
> hierarchy during C3 merge of class 'Class::DBI::__::Base':
>         current merge results [
>                 Class::DBI::__::Base,
>                 Class::Accessor,
>         ]
>         merging failed on 'Class::Data::Inheritable' at
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Class/C3/XS.pm line
> 53."Compilation failed in require at ./script/threesixty_server.pl line 49.

I have a similar situation with Catalyst::Controller:FormBuilder on a 
CentOS 5.3 box using my own perl5.10 with Catalyst 5.8007 from 
Task::Catalyst.

Inconsistent hierarchy during C3 merge of class 
'MyApp::Controller::Articles': merging failed on parent 
'Catalyst::Controller' at /usr/local/lib/perl5/5.10.0/mro.pm line 23.

I can recreate this from scratch with:
catalyst.pl MyApp
myapp_create.pl controller Articles
and adding use base 'Catalyst::Controller::FormBuilder'; to 
MyApp/Controller/Articles.pm as suggested in the synopsis of the 
C::C::FormBuilder docs.

Is there something I'm misunderstanding about how to use this? Or have I 
run across a problem?

--
Duncan Hutty



More information about the Catalyst mailing list