Skip Menu |

This queue is for tickets about the Class-C3-Componentised CPAN distribution.

Report information
The Basics
Id: 32881
Status: resolved
Priority: 0/
Queue: Class-C3-Componentised

People
Owner: Nobody in particular
Requestors: cpan [...] desert-island.me.uk
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



This had me editing Componentised.pm to figure out what the heck I'd done.. Not that I'm sure how C::C3::C could actually catch it: ensure_class_loaded: __PACKAGE__ DBIx::Class::Schema::throw_exception(): DBIx::Class::Row::throw_exception(): DBIx::Class::Row::throw_exception(): DBIx::Class::Row::throw_exception(): DBIx::Class::Row::throw_exception(): Can't locate Class::C3::Componentised in @INC (@INC contains: /usr/src/perl/ reaction2/svn/lib lib /home/castaway/perl/lib/i686-linux-thread-multi / home/castaway/perl/lib /home/theorb/perl/lib /etc/perl /usr/lib/perl5/ site_perl/5.8.7/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7 / usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i686-linux- thread-multi /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/ vendor_perl /usr/lib/perl5/5.8.7/i686-linux-thread-multi /usr/lib/perl5/ 5.8.7 /usr/local/lib/site_perl .) at (eval 90)[/usr/lib/perl5/site_perl/ 5.8.7/Class/C3/Componentised.pm:127] line 1. Compilation failed in require at (eval 73)[/usr/lib/perl5/site_perl/ 5.8.7/Class/C3/Componentised.pm:127] line 3. Compilation failed in require at (eval 69)[/usr/lib/perl5/site_perl/ 5.8.7/Class/C3/Componentised.pm:127] line 3. Compilation failed in require at (eval 51)[/usr/lib/perl5/site_perl/ 5.8.7/Class/C3/Componentised.pm:127] line 3. Compilation failed in require at (eval 17)[/usr/lib/perl5/site_perl/ 5.8.7/Class/C3/Componentised.pm:127] line 3. Compilation failed in require at -e line 1. .. I made a global search&replace with something to __PACKAGE__, accidentally ending up having it quoted in one of my dbic relationships.. the result just gave me the error "Can't find Class::C3::Componentised in @INC .. ", which is daft.. only after adding perl -d and some debugging did I figure what I'd done..
Matt asked me to check Catalyst::Utils and Class::MOP. Class::MOP gets it right, so Ive stolen code from there and committed it in Componentised.pm On Sat Feb 02 10:01:51 2008, JROBINSON wrote: Show quoted text
> This had me editing Componentised.pm to figure out what the heck I'd > done.. Not that I'm sure how C::C3::C could actually catch it: > > ensure_class_loaded: __PACKAGE__ > > DBIx::Class::Schema::throw_exception(): > DBIx::Class::Row::throw_exception(): > DBIx::Class::Row::throw_exception(): > DBIx::Class::Row::throw_exception(): > DBIx::Class::Row::throw_exception(): Can't locate > Class::C3::Componentised in @INC (@INC contains: /usr/src/perl/ > reaction2/svn/lib lib /home/castaway/perl/lib/i686-linux-thread-multi
/ Show quoted text
> home/castaway/perl/lib /home/theorb/perl/lib /etc/perl /usr/lib/perl5/ > site_perl/5.8.7/i686-linux-thread-multi /usr/lib/perl5/site_perl/
5.8.7 / Show quoted text
> usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.7/i686-linux- > thread-multi /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/ > vendor_perl /usr/lib/perl5/5.8.7/i686-linux-thread-multi /usr/lib/
perl5/ Show quoted text
> 5.8.7 /usr/local/lib/site_perl .) at (eval 90)[/usr/lib/perl5/
site_perl/ Show quoted text
> 5.8.7/Class/C3/Componentised.pm:127] line 1. > Compilation failed in require at (eval 73)[/usr/lib/perl5/site_perl/ > 5.8.7/Class/C3/Componentised.pm:127] line 3. > Compilation failed in require at (eval 69)[/usr/lib/perl5/site_perl/ > 5.8.7/Class/C3/Componentised.pm:127] line 3. > Compilation failed in require at (eval 51)[/usr/lib/perl5/site_perl/ > 5.8.7/Class/C3/Componentised.pm:127] line 3. > Compilation failed in require at (eval 17)[/usr/lib/perl5/site_perl/ > 5.8.7/Class/C3/Componentised.pm:127] line 3. > Compilation failed in require at -e line 1. > > .. I made a global search&replace with something to __PACKAGE__, > accidentally ending up having it quoted in one of my dbic > relationships.. the result just gave me the error "Can't find > Class::C3::Componentised in @INC .. ", which is daft.. only after > adding perl -d and some debugging did I figure what I'd done..