Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: CPAN Tests Failing

by blue_cowdawg (Monsignor)
on Mar 20, 2013 at 15:34 UTC ( #1024549=note: print w/ replies, xml ) Need Help??


in reply to CPAN Tests Failing [SOLVED]

Here's a full dump of what I get when I do: perl -MWWW::Shopify::Model::DBIx::Schema:

lib/perl5/site_perl/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-t +hreads-64int /usr/lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686 +-cygwin-threads-64int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5. +10 /usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at + /usr/lib/perl5/site_perl/5.14/Class/C3/Componentised.pm line 150. at + /usr/lib/perl5/site_perl/5.14/Class/C3/Componentised.pm line 155 Compilation failed in require at /usr/lib/perl5/site_perl/5.14/Class/C +3/Componentised.pm line 150. at /usr/lib/perl5/site_perl/5.14/Class/C +3/Componentised.pm line 155 Compilation failed in require at /usr/lib/perl5/site_perl/5.14/Class/C +3/Componentised.pm line 150. at /usr/lib/perl5/site_perl/5.14/Class/C +3/Componentised.pm line 155 Compilation failed in require at /usr/lib/perl5/site_perl/5.14/Class/C +3/Componentised.pm line 150. at /usr/lib/perl5/site_perl/5.14/Class/C +3/Componentised.pm line 155 Compilation failed in require at /usr/lib/perl5/site_perl/5.14/Class/C +3/Componentised.pm line 150. at /usr/lib/perl5/site_perl/5.14/Class/C +3/Componentised.pm line 155 Compilation failed in require at /usr/lib/perl5/site_perl/5.14/Class/C +3/Componentised.pm line 150. at /usr/lib/perl5/site_perl/5.14/Class/C +3/Componentised.pm line 155 Compilation failed in require at /usr/lib/perl5/site_perl/5.14/Class/C +3/Componentised.pm line 150. '; $VAR2 = 'Trace begun at WWW/Shopify/Exception.pm line 16 WWW::Shopify::Exception::new(\'WWW::Shopify::Exception::DBError\', \'D +BIx::Class::Row::throw_exception(): DBIx::Class::Row::throw_exception +(): DBIx::Class::Row::throw_exception(): DBIx::Class::Row::throw_exce +ption(): DBIx::Class::Row::throw_exception(): DBIx::Class::Row::throw +_exception(): Can\\\'t locate WWW/Shopify/Model/DBIx/Schema/Result/Mo +del/MetafieldProduct.pm in @INC (@INC contains: /usr/lib/perl5/site_p +erl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl/5.14 /usr +/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/ +vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64int /usr/l +ib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/vendor_per +l/5.10 /usr/lib/perl5/site_perl/5.8 .) at /usr/lib/perl5/site_perl/5. +14/Class/C3/Componentised.pm line 150. at /usr/lib/perl5/site_perl/5. +14/Class/C3/Componentised.pm line 155^JCompilation failed in require +at /usr/lib/perl5/site_perl/5.14/Class/C3/Componentised.pm line 150. +at /usr/lib/perl5/site_perl/5.14/Class/C3/Componentised.pm line 155^J +Compilation failed in require at /usr/lib/perl5/site_perl/5.14/Class/ +C3/Componentisentised.pm line 155^JCompilation failed in require at / +usr/lib/perl5/site_perl/5.14/Class/C3/Componentised.pm line 150. at / +usr/lib/perl5/site_perl/5.14/Class/C3/Componentised.pm line 155^JComp +ilation failed in require at /usr/lib/perl5/site_perl/5.14/Class/C3/C +omponentised.pm line 150.^J\') called at WWW/Shopify/Model/DBIx/Schem +a.pm line 6 WWW::Shopify::Model::DBIx::Schema::__ANON__(\'DBIx::Class::Row::throw_ +exception(): DBIx::Class::Row::throw_exception(): DBIx::Class::Row::t +hrow_exception(): DBIx::Class::Row::throw_exception(): DBIx::Class::R +ow::throw_exception(): DBIx::Class::Row::throw_exception(): Can\\\'t +locate WWW/Shopify/Model/DBIx/Schema/Result/Model/MetafieldProduct.pm + in @INC (@INC contains: /usr/lib/perl5/site_perl/5.14/i686-cygwin-th +reads-64int /usr/lib/perl5/site_perl/5.14 /usr/lib/perl5/vendor_perl/ +5.14/i686-cygwin-threads-64int /usr/lib/perl5/vendor_perl/5.14 /usr/l +ib/perl5/5.14/i686-cygwin-threads-64int /usr/lib/perl5/5.14 /usr/lib/ +perl5/site_perl/5.10 /usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/s +ite_perl/5.8 .) at /usr/lib/perl5/site_perl/5.14/Class/C3/Componentis +ed.pm line 150. at /usr/lib/perl5/site_perl/5.14/Class/C3/Componentis +ed.pm line 155^JCompilation failed in require at /usr/lib/perl5/site_ +perl/5.14/Class/C3/Componentised.pm line 150. at /usr/lib/perl5/site_ +perl/5.14/Class/C3/Componentised.pm line 155^JCompilation failed in r +equire at /usr/lib/perl5/site_perl/5.14/Class/C3/Componentised.pm lin +e 150. at /usr/lib/perl5/site_perl/5.14/Class/C3/Componentised.pm lin +e 155^JCompilation failed in require at /usr/lib/perl5/site_perl/5.14 +/Class/C3/Componentised.pm line 150. at /usr/lib/perl5/site_perl/5.14 +/Class/C3/Componentised.pm line 155^JCompilation failed in require at + /usr/lib/perl5/site_perl/5.14/Class/C3/Componentised.pm line 150. at + /usr/lib/perl5/site_perl/5.14/Class/C3/Componentised.pm line 155^JCo +mpilation failed in require at /usr/lib/perl5/site_perl/5.14/Class/C3 +/Componentised.pm line 150. at /usr/lib/perl5/site_perl/5.14/Class/C3 +/Componentised.pm line 155^JCompilation failed in require at /usr/lib +/perl5/site_perl/5.14/Class/C3/Componentised.pm line 150.^J\') called + at /usr/lib/perl5/site_perl/5.14/DBIx/Class/Schema.pm line 1084 DBIx::Class::Schema::throw_exception(\'WWW::Shopify::Model::DBIx::Sche +ma\', \'DBIx::Class::Row::throw_exception(): DBIx::Class::Row::throw_ +exception(): DBIx::Class::Row::throw_exception(): DBIx::Class::Row::t +hrow_exception(): DBIx::Class::Row::throw_exception(): DBIx::Class::R +ow::throw_exception(): Can\\\'t locate WWW/Shopify/Model/DBIx/Schema/ +Result/Model/MetafieldProduct.pm in @INC (@INC contains: /usr/lib/per +l5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl/ +5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/l +ib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64i +nt /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/v +endor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at /usr/lib/perl5/sit +e_perl/5.14/Class/C3/Componentised.pm line 150. at /usr/lib/perl5/sit +e_perl/5.14/Class/C3/Componentised.pm line 155^JCompilation failed in + require at /usr/lib/perl5/site_perl/5.14/Class/C3/Componentised.pm l +ine 150. at /usr/lib/perl5/site_perl/5.14/Class/C3/Componentised.pm l +ine 155^JCompilation failed in require at /usr/lib/perl5/site_perl/5. +14/Class/C3/Componentised.pm line 150. at /usr/lib/perl5/site_perl/5. +14/Class/C3/Componentised.pm line 155^JCompilation failed in require +at /usr/lib/perl5/site_perl/5.14/Class/C3/Componentised.pm line 150. +at /usr/lib/perl5/site_perl/5.14/Class/C3/Componentised.pm line 155^J +Compilation failed in require at /usr/lib/perl5/site_perl/5.14/Class/ +C3/Componentised.pm line 150. at /usr/lib/perl5/site_perl/5.14/Class/ +C3/Componentised.pm line 155^JCompilation failed in require at /usr/l +ib/perl5/site_perl/5.14/Class/C3/Componentised.pm line 150. at /usr/l +ib/perl5/site_perl/5.14/Class/C3/Componentised.pm line 155^JCompilati +on failed in require at /usr/lib/perl5/site_perl/5.14/Class/C3/Compon +entised.pm line 150.^J\') called at /usr/lib/perl5/site_perl/5.14/Cla +ss/C3/Componentised.pm line 155 Class::C3::Componentised::ensure_class_loaded(\'WWW::Shopify::Model::D +BIx::Schema\', \'WWW::Shopify::Model::DBIx::Schema::Result::Model::Or +der::TaxLine\') called at /usr/lib/perl5/site_perl/5.14/DBIx/Class/Sc +hema.pm line 244 DBIx::Class::Schema::load_namespaces(\'WWW::Shopify::Model::DBIx::Sche +ma\') called at WWW/Shopify/Model/DBIx/Schema.pm line 7 require WWW/Shopify/Model/DBIx/Schema.pm at - line 0 main::BEGIN at WWW/Shopify/Model/DBIx/Schema.pm line 0 eval {...} at WWW/Shopify/Model/DBIx/Schema.pm line 0 '; Compilation failed in require. BEGIN failed--compilation aborted. </p> Out of all that spew the part I find interesting first is: <code> Can\\\'t locate WWW/Shopify/Model/DBIx/Schema/Result/Model/MetafieldP +roduct.pm in @INC
I did this by sitting at the top of the blib directory in your build. When I search for the offending module, where is what I see:
$ ls -l WWW/Shopify/Model/DBIx/Schema/Result/Model/MetafieldProduct.pm ls: cannot access WWW/Shopify/Model/DBIx/Schema/Result/Model/Metafield +Product.pm: No such file or directory
Is it possible you missed something in your manifest file?


Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg


Comment on Re: CPAN Tests Failing
Select or Download Code
Re^2: CPAN Tests Failing
by tobyink (Abbot) on Mar 20, 2013 at 16:01 UTC

    I concur. There actually seem to be a few missing:

    • WWW::Shopify::Model::DBIx::Schema::Result::Model::BlogMetafield
    • WWW::Shopify::Model::DBIx::Schema::Result::Model::CustomCollectionMetafield
    • WWW::Shopify::Model::DBIx::Schema::Result::Model::CustomerMetafield
    • WWW::Shopify::Model::DBIx::Schema::Result::Model::MetafieldOrder
    • WWW::Shopify::Model::DBIx::Schema::Result::Model::MetafieldProduct
    • WWW::Shopify::Model::DBIx::Schema::Result::Model::MetafieldVariant
    • WWW::Shopify::Model::DBIx::Schema::Result::Model::Page
    package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

      Ah. You guys are 100% right, it was indeed the manifest. Silly of me to miss it really. I guess I just got caught up over the Model::Shop thing and didn't actually just think about what's been changing recently.

      Thanks very much for solving my problem. Really appreciate it.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1024549]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2014-10-24 07:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (130 votes), past polls