[Dbix-class] Current DBIC does not pass tests on fresh Perl/CPAN install

Toby Corkindale toby at dryft.net
Mon Jan 13 03:08:33 GMT 2014


Hi,
The current stable version of DBIC
(http://www.cpan.org/authors/id/R/RI/RIBASUSHI/DBIx-Class-0.08250.tar.gz)
does not pass its unit tests on a fresh Perl/CPAN install.

ie. Install Perl (via perlbrew, source, whatever) and then install
cpanminus, and then run
cpanm DBIx::Class

The error is:
t/storage/replicated.t                            (Wstat: 65280 Tests:
4 Failed: 0)
   Non-zero exit status: 255

The method 'connect_info' was not found in the inheritance hierarchy
for DBIx::Class::Storage::DBI::Replicated at /
usr/local/strategic/perl/lib/site_perl/5.16.3/x86_64-linux-thread-multi/Moose/Exception.pm
line 38
        Moose::Exception::_build_trace('Moose::Exception::MethodNameNotFoundInInheritanceHierarchy=HASH(0x2501780)'
) called at reader Moose::Exception::trace (defined at
/usr/local/strategic/perl/lib/site_perl/5.16.3/x86_64-linux-
thread-multi/Moose/Exception.pm line 12) line 7
        Moose::Exception::trace('Moose::Exception::MethodNameNotFoundInInheritanceHierarchy=HASH(0x2501780)')
calle
d at /usr/local/strategic/perl/lib/site_perl/5.16.3/x86_64-linux-thread-multi/Moose/Exception.pm
line 50
        Moose::Exception::BUILD('Moose::Exception::MethodNameNotFoundInInheritanceHierarchy=HASH(0x2501780)',
'HASH
(0x27c27e0)') called at
/usr/local/strategic/perl/lib/site_perl/5.16.3/x86_64-linux-thread-multi/Class/MOP/Method.p
m line 131
        Class::MOP::Method::execute('Moose::Meta::Method=HASH(0x28a5230)',
'Moose::Exception::MethodNameNotFoundInI
nheritanceHierarchy=HASH(0x2501780)', 'HASH(0x27c27e0)') called at
/usr/local/strategic/perl/lib/site_perl/5.16.3/x
86_64-linux-thread-multi/Moose/Object.pm line 59
        Moose::Object::BUILDALL('Moose::Exception::MethodNameNotFoundInInheritanceHierarchy=HASH(0x2501780)',
'HASH
(0x27c27e0)') called at
/usr/local/strategic/perl/lib/site_perl/5.16.3/x86_64-linux-thread-multi/Moose/Meta/Class.p
m line 285
        Moose::Meta::Class::new_object('Moose::Meta::Class=HASH(0x2502338)',
'HASH(0x27c27e0)') called at /usr/loca
l/strategic/perl/lib/site_perl/5.16.3/x86_64-linux-thread-multi/Moose/Object.pm
line 30
        Moose::Object::new('Moose::Exception::MethodNameNotFoundInInheritanceHierarchy',
'class', 'Moose::Meta::Cla
ss=HASH(0x23e6780)', 'method_name', 'connect_info') called at
/usr/local/strategic/perl/lib/site_perl/5.16.3/x86_64
-linux-thread-multi/Moose/Util.pm line 54
        Moose::Util::throw_exception('MethodNameNotFoundInInheritanceHierarchy',
'class', 'Moose::Meta::Class=HASH(
0x23e6780)', 'method_name', 'connect_info') called at
/usr/local/strategic/perl/lib/site_perl/5.16.3/x86_64-linux-t
hread-multi/Class/MOP/Class.pm line 1065
        Class::MOP::Class::__ANON__('Moose::Meta::Class=HASH(0x23e6780)',
'connect_info') called at /usr/local/stra
tegic/perl/lib/site_perl/5.16.3/x86_64-linux-thread-multi/Class/MOP/Class.pm
line 1112
        Class::MOP::Class::add_around_method_modifier('Moose::Meta::Class=HASH(0x23e6780)',
'connect_info', 'CODE(0
x23e6360)') called at
/usr/local/strategic/perl/lib/site_perl/5.16.3/x86_64-linux-thread-multi/Moose/Util.pm
line 2
82
        Moose::Util::add_method_modifier('Moose::Meta::Class=HASH(0x23e6780)',
'around', 'ARRAY(0x261ba20)') called
 at /usr/local/strategic/perl/lib/site_perl/5.16.3/x86_64-linux-thread-multi/Moose.pm
line 92
        Moose::around(undef, 'connect_info') called at
/usr/local/strategic/perl/lib/site_perl/5.16.3/x86_64-linux-
thread-multi/Moose/Exporter.pm line 408
        Moose::around('connect_info', 'CODE(0x23e6360)') called at
t/storage/replicated.t line 140
# Tests were run but no plan was declared and done_testing() was not seen.



More information about the DBIx-Class mailing list