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

Mailing List Archive: Catalyst: Users

Inconsistent hierarchy during C3 merge

 

 

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


alok at deeproot

May 29, 2009, 1:54 AM

Post #1 of 5 (667 views)
Permalink
Inconsistent hierarchy during C3 merge

Hi,

I am having trouble running my Catalyst apps which were running properly
till recently. Problem started after some updates and each server throws
error stating "Inconsistent hierarchy during C3 merge of class .... at
/usr/share/perl/5.10/mro.pm ...."


My perl version is => 5.10.0
Catalyst => 5.80003
OS => Debian Etch

Regards Alok



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


bobtfish at bobtfish

May 29, 2009, 2:28 AM

Post #2 of 5 (630 views)
Permalink
Re: Inconsistent hierarchy during C3 merge [In reply to]

Alok Sharma wrote:
> Hi,
>
> I am having trouble running my Catalyst apps which were running properly
> till recently. Problem started after some updates and each server throws
> error stating "Inconsistent hierarchy during C3 merge of class .... at
> /usr/share/perl/5.10/mro.pm ...."

Have a read of:

http://search.cpan.org/~flora/Catalyst-Runtime-5.80004/lib/Catalyst/Upgrading.pod#Issues_with_Class::C3

Hopefully this will get you sorted out.

Cheers
t0m


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


paulm at paulm

May 29, 2009, 4:56 AM

Post #3 of 5 (622 views)
Permalink
Re: Inconsistent hierarchy during C3 merge [In reply to]

On Fri, May 29, 2009 at 9:54 AM, Alok Sharma <alok[at]deeproot.co.in> wrote:
>
> Hi,
>
> I am having trouble running my Catalyst apps which were running properly
> till recently. Problem started after some updates and each server throws
> error stating "Inconsistent hierarchy during C3 merge of class .... at
> /usr/share/perl/5.10/mro.pm ...."

I had the same issue and went through and alphabetized each of my
module's dependencies. This will remove at least one source of
circular/inconsistent hierarchies. In my case, that was all I needed
to fix it.

HTH,
Paul

>
>
> My perl version is =>   5.10.0
> Catalyst                   =>   5.80003
> OS                                 =>   Debian Etch
>
> Regards Alok
>
>
>
> _______________________________________________
> List: Catalyst[at]lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst[at]lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/

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


alok at deeproot

May 30, 2009, 12:08 AM

Post #4 of 5 (607 views)
Permalink
Re: Inconsistent hierarchy during C3 merge [In reply to]

Hi,

>
> I had the same issue and went through and alphabetized each of my
> module's dependencies. This will remove at least one source of
> circular/inconsistent hierarchies. In my case, that was all I needed
> to fix it.
>

This helped in cleaning the circular/inconsistent hierarchies in the starting
and help to get to the bottom of the problem.


Regards Alok




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


bobtfish at bobtfish

May 30, 2009, 7:37 AM

Post #5 of 5 (597 views)
Permalink
Re: Inconsistent hierarchy during C3 merge [In reply to]

On 30 May 2009, at 08:08, Alok Sharma wrote:
> This helped in cleaning the circular/inconsistent hierarchies in
> the starting
> and help to get to the bottom of the problem.

Doc patches to refine the strategies I suggest in the documentation I
pointed too would be very welcome.

http://github.com/rafl/class-c3-adopt-next/tree/master

Cheers
t0m


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

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


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.