[Catalyst] DBIx::Class::Core does not define $DBIx::Class::Core::VERSION--version check failed at /usr/local/lib/perl5/site_perl/5.16/Module/Runtime.pm line 386.

Alex Povolotsky tarkhil at over.ru
Mon Feb 17 17:20:20 GMT 2014


Hello

I've started an application with Catalyst, added some fairly simple and 
tested code, and got an error

Couldn't instantiate component "Monitor::Model::DB", "{UNKNOWN}: 
DBIx::Class::Core does not define $DBIx::Class::Core::VERSION--version 
check failed at /usr/local/lib/perl5/site_perl/5.16/Module/Runtime.pm 
line 386.
Compilation failed in require at 
/usr/local/lib/perl5/site_perl/5.16/Class/C3/Componentised.pm line 150. 
at /usr/local/lib/perl5/site_perl/5.16/Class/C3/Componentised.pm line 155
Compilation failed in require at 
/usr/local/lib/perl5/site_perl/5.16/Catalyst/Restarter/Forking.pm line 20.


here is a list of my Catalyst-related modules

p5-Catalyst-Action-REST-1.14   Automated REST Method Dispatching for 
Catalyst
p5-Catalyst-Action-RenderView-0.16 Sensible default end action for Catalyst
p5-Catalyst-ActionRole-ACL-0.07 User role-based authorization action class
p5-Catalyst-Authentication-Store-DBIx-Class-0.1505 A storage class for 
Catalyst Authentication using DBIx::Class
p5-Catalyst-Component-InstancePerContext-0.001001 Return a new instance 
a component on each request
p5-Catalyst-Controller-ActionRole-0.15 Apply roles to action instances
p5-Catalyst-Controller-FormBuilder-0.06 Catalyst FormBuilder Base Controller
p5-Catalyst-Devel-1.38         Catalyst Development Tools
p5-Catalyst-DispatchType-Regex-5.90.032 Regex DispatchType
p5-Catalyst-Model-DBIC-Schema-0.62_1 DBIx::Class::Schema Model Class
p5-Catalyst-Plugin-Authentication-0.10023_1,3 Infrastructure plugin for 
the Catalyst authentication framework
p5-Catalyst-Plugin-ConfigLoader-0.32 Load config files of various types
p5-Catalyst-Plugin-FormBuilder-1.07_1 FormBuilder for Catalyst
p5-Catalyst-Plugin-Session-0.39 Generic Catalyst Session plugin
p5-Catalyst-Plugin-Session-State-Cookie-0.17 Stores a Catalyst Session 
in a Cookie
p5-Catalyst-Plugin-Session-Store-FastMmap-0.16 FastMmap session storage 
backend
p5-Catalyst-Plugin-Session-Store-File-0.18 File storage backend for 
session data
p5-Catalyst-Plugin-Static-Simple-0.31 Make serving static pages painless
p5-Catalyst-Plugin-Unicode-0.93 Unicode aware Catalyst
p5-Catalyst-Runtime-5.90053    The Elegant MVC Web Application Framework 
(Runtime)
p5-Catalyst-View-TT-0.41       Template Toolkit view class for Catalyst
p5-CatalystX-Component-Traits-0.16 Automatic Trait Loading and 
Resolution for Catalyst Components
p5-CatalystX-InjectComponent-0.025 Inject components into your Catalyst 
application
p5-CatalystX-SimpleLogin-0.18  Provide a simple Login controller which 
can be reused
p5-Test-WWW-Mechanize-Catalyst-0.58 Test::WWW::Mechanize for Catalyst

DBIx::Class::Core indeed does not define $VERSION, it is defined in 
DBIx::Class, autogenerated Schema::Result modules uses 
DBIx::Class::Core, but did not attempt to check VERSION

Is any of my modules totally outdated?

Alex



More information about the Catalyst mailing list