Skip Menu |

This queue is for tickets about the DBIx-Class-Schema-Loader CPAN distribution.

Report information
The Basics
Id: 62072
Status: resolved
Priority: 0/
Queue: DBIx-Class-Schema-Loader

People
Owner: Nobody in particular
Requestors: AWNCORP [...] cpan.org
Cc:
AdminCc:

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



Subject: Can't locate object method "new" via package "Data::Dumper" in /DBIx/Class/Schema/Loader/Utils.pm
I think you may simply need to include 'use Data::Dumper' in Util.pm t/10sqlite_common.t ..................... 1/217 # Failed test 'Loader initialization' # at t/lib/dbixcsl_common_tests.pm line 222. # Can't locate object method "new" via package "Data::Dumper" at /root/.cpan/build/DBIx-Class-Schema-Loader-0.07002- XJ9vuT/blib/lib/DBIx/Class/Schema/Loader/Utils.pm line 35. # Failed test 'correct number of files generated' # at t/lib/dbixcsl_common_tests.pm line 245. # got: undef # expected: '44' # Failed test 'Expected loader warning' # at t/lib/dbixcsl_common_tests.pm line 268. # got: '2' # expected: '4' # DBIx::Class::ResultSetManager never left experimental status and # has now been DEPRECATED. This module will be deleted in 09000 so please # migrate any and all code using it to explicit resultset classes using either # __PACKAGE__->resultset_class(...) calls or by switching from using # DBIx::Class::Schema->load_classes() to load_namespaces() and creating # appropriate My::Schema::ResultSet::* classes for it to pick up. at /usr/local/share/perl/5.10.0/DBIx/Class/ResultSetManager.pm line 8. # Can't stat t/var/common_dump: No such file or directory # at t/lib/dbixcsl_common_tests.pm line 224 # Failed test 'Missing PK warning' # at t/lib/dbixcsl_common_tests.pm line 270. # got: '0' # expected: '1' Use of uninitialized value $file_count in numeric ne (!=) at t/lib/dbixcsl_common_tests.pm line 283. # Looks like you planned 217 tests but ran 4. # Looks like you failed 4 tests of 4 run.
fixed, http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits/DBIx- Class-Schema- Loader.git;a=commitdiff;h=61cd4bfc3d10502ab11f7906ada32268fe0bec8c On Tue Oct 12 04:39:32 2010, AWNCORP wrote: Show quoted text
> I think you may simply need to include 'use Data::Dumper' in Util.pm > > t/10sqlite_common.t ..................... 1/217 > # Failed test 'Loader initialization' > # at t/lib/dbixcsl_common_tests.pm line 222. > # Can't locate object method "new" via package "Data::Dumper" at > /root/.cpan/build/DBIx-Class-Schema-Loader-0.07002- > XJ9vuT/blib/lib/DBIx/Class/Schema/Loader/Utils.pm line 35. > > # Failed test 'correct number of files generated' > # at t/lib/dbixcsl_common_tests.pm line 245. > # got: undef > # expected: '44' > > # Failed test 'Expected loader warning' > # at t/lib/dbixcsl_common_tests.pm line 268. > # got: '2' > # expected: '4' > # DBIx::Class::ResultSetManager never left experimental status and > # has now been DEPRECATED. This module will be deleted in 09000 so > please > # migrate any and all code using it to explicit resultset classes
using Show quoted text
> either > # __PACKAGE__->resultset_class(...) calls or by switching from using > # DBIx::Class::Schema->load_classes() to load_namespaces() and
creating Show quoted text
> # appropriate My::Schema::ResultSet::* classes for it to pick up. at > /usr/local/share/perl/5.10.0/DBIx/Class/ResultSetManager.pm line 8. > # Can't stat t/var/common_dump: No such file or directory > # at t/lib/dbixcsl_common_tests.pm line 224 > > # Failed test 'Missing PK warning' > # at t/lib/dbixcsl_common_tests.pm line 270. > # got: '0' > # expected: '1' > Use of uninitialized value $file_count in numeric ne (!=) at > t/lib/dbixcsl_common_tests.pm line 283. > # Looks like you planned 217 tests but ran 4. > # Looks like you failed 4 tests of 4 run.
Fixed in 0.07003 .