Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Data-Printer CPAN distribution.

Report information
The Basics
Id: 69102
Status: resolved
Priority: 0/
Queue: Data-Printer

People
Owner: Nobody in particular
Requestors: perl [...] david-raab.de
Cc:
AdminCc:

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



Subject: Test failed for 0.2
It seems you have a checking of colors. On my system i got errors with "bright_*" colornames.
Subject: data-printer.log
cpanm (App::cpanminus) 1.0012 on perl 5.010000 built for x86_64-linux-gnu-thread-multi Work directory is /root/.cpanm/work/1309189374.25715 You have make /usr/bin/make You have LWP 5.835 You have /bin/tar: tar (GNU tar) 1.20 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching Data::Printer on cpanmetadb ... Fetching http://search.cpan.org/CPAN/authors/id/G/GA/GARU/Data-Printer-0.2.tar.gz -> OK Unpacking Data-Printer-0.2.tar.gz Entering Data-Printer-0.2 Checking if you have Module::Build 0.38 ... Yes (0.3800) Configuring Data-Printer-0.19 Running Makefile.PL Cannot determine perl version info from lib/Data/Printer.pm Checking if your kit is complete... Looks good Writing Makefile for Data::Printer Writing MYMETA.yml -> OK Checking dependencies from MYMETA.yml ... Finding PREREQ from Makefile ... Checking if you have Scalar::Util 0 ... Yes (1.19) Checking if you have Term::ANSIColor 1.1 ... Yes (1.12) Checking if you have File::HomeDir 0.91 ... Yes (0.97) Checking if you have Class::MOP 0.65 ... Yes (2.0007) Checking if you have File::Spec 0 ... Yes (3.31) Checking if you have Fcntl 0 ... Yes (1.06) Checking if you have Hash::FieldHash 0 ... Yes (0.10) Checking if you have Carp 0 ... Yes (1.08) Checking if you have Sort::Naturally 0 ... Yes (1.02) Checking if you have Clone 0 ... Yes (0.31) Checking if you have Test::More 0.88 ... Yes (0.98) Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.56) Checking if you have Scalar::Util 0 ... Yes (1.19) Checking if you have Term::ANSIColor 1.1 ... Yes (1.12) Checking if you have File::HomeDir 0.91 ... Yes (0.97) Checking if you have Class::MOP 0.65 ... Yes (2.0007) Checking if you have Fcntl 0 ... Yes (1.06) Checking if you have File::Spec 0 ... Yes (3.31) Checking if you have ExtUtils::MakeMaker 6.42 ... Yes (6.56) Checking if you have Hash::FieldHash 0 ... Yes (0.10) Checking if you have Carp 0 ... Yes (1.08) Checking if you have Test::More 0.88 ... Yes (0.98) Checking if you have Sort::Naturally 0 ... Yes (1.02) Checking if you have Clone 0 ... Yes (0.31) Building and testing Data-Printer-0.19 for Data::Printer cp lib/Data/Printer/Filter.pm blib/lib/Data/Printer/Filter.pm cp lib/Data/Printer/Filter/DateTime.pm blib/lib/Data/Printer/Filter/DateTime.pm cp lib/DDP.pm blib/lib/DDP.pm cp lib/Data/Printer.pm blib/lib/Data/Printer.pm cp lib/Data/Printer/Filter/DB.pm blib/lib/Data/Printer/Filter/DB.pm Manifying blib/man3/Data::Printer::Filter.3pm Manifying blib/man3/Data::Printer::Filter::DateTime.3pm Manifying blib/man3/Data::Printer::Filter::DB.3pm Manifying blib/man3/Data::Printer.3pm PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t # Testing Data::Printer 0.2, Perl 5.010000, /usr/bin/perl t/00-load.t ................. ok t/01-p.t .................... ok Invalid attribute name bright_blue at /root/.cpanm/work/1309189374.25715/Data-Printer-0.2/blib/lib/Data/Printer.pm line 253 # Tests were run but no plan was declared and done_testing() was not seen. t/02-colors.t ............... Dubious, test returned 255 (wstat 65280, 0xff00) All 2 subtests passed t/03-conf.t ................. ok t/03-conf_not_ref.t ......... ok t/04-multiline.t ............ ok t/05-obj.t .................. ok t/06-obj2.t ................. ok t/07-sort.t ................. ok t/08-deparse.t .............. ok t/09-alias.t ................ ok t/10-filter.t ............... ok t/11-aliased_with_filter.t .. ok t/12-filter_class.t ......... ok t/13-filter_datetime.t ...... ok t/13.2-filter_db.t .......... ok Invalid attribute name bright_yellow at /root/.cpanm/work/1309189374.25715/Data-Printer-0.2/blib/lib/Data/Printer.pm line 256 # Tests were run but no plan was declared and done_testing() was not seen. t/14-local_conf.t ........... Dubious, test returned 255 (wstat 65280, 0xff00) All 2 subtests passed Invalid attribute name bright_yellow at /root/.cpanm/work/1309189374.25715/Data-Printer-0.2/blib/lib/Data/Printer.pm line 256 # Tests were run but no plan was declared and done_testing() was not seen. t/15-rc_file.t .............. Dubious, test returned 255 (wstat 65280, 0xff00) All 1 subtests passed Invalid attribute name bright_yellow at /root/.cpanm/work/1309189374.25715/Data-Printer-0.2/blib/lib/Data/Printer.pm line 256 # Tests were run but no plan was declared and done_testing() was not seen. t/16-rc_file2.t ............. Dubious, test returned 255 (wstat 65280, 0xff00) All 5 subtests passed t/17-parallel.t ............. ok t/18-class_method.t ......... ok t/19-tied.t ................. ok t/20-handles.t .............. ok t/21-ddp.t .................. ok t/22-class_method.t ......... ok Invalid attribute name bright_cyan at /root/.cpanm/work/1309189374.25715/Data-Printer-0.2/blib/lib/Data/Printer.pm line 633 # Tests were run but no plan was declared and done_testing() was not seen. t/23-caller_info.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) All 2 subtests passed t/24-no_prototypes.t ........ ok Invalid attribute name bright_blue at /root/.cpanm/work/1309189374.25715/Data-Printer-0.2/blib/lib/Data/Printer.pm line 253 # Tests were run but no plan was declared and done_testing() was not seen. t/25-weak.t ................. Dubious, test returned 255 (wstat 65280, 0xff00) All 3 subtests passed t/pod.t ..................... ok Test Summary Report ------------------- t/02-colors.t (Wstat: 65280 Tests: 2 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/14-local_conf.t (Wstat: 65280 Tests: 2 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/15-rc_file.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/16-rc_file2.t (Wstat: 65280 Tests: 5 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/23-caller_info.t (Wstat: 65280 Tests: 2 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/25-weak.t (Wstat: 65280 Tests: 3 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=29, Tests=175, 5 wallclock secs ( 0.10 usr 0.07 sys + 4.06 cusr 0.60 csys = 4.83 CPU) Result: FAIL Failed 6/29 test programs. 0/175 subtests failed. make: *** [test_dynamic] Error 255 -> FAIL Installing Data::Printer failed. See /root/.cpanm/build.log for details.
From: perl [...] david-raab.de
I found the solution. I upgraded Term::ANSIColor to the latest Version (3.00) from (1.12). After that Data::Printer Testsuite runs fine. You need to raise the dependencie on Term::ANSIColor higher. At the moment you have (1.1) with this version it does not run. I don't knew what the lowest version is to run Data::Printer, but it runs fine with 3.00.
On Mon Jun 27 11:56:06 2011, SidBurn wrote: Show quoted text
> I found the solution. I upgraded Term::ANSIColor to the latest Version > (3.00) from (1.12). After that Data::Printer Testsuite runs fine. > > You need to raise the dependencie on Term::ANSIColor higher. At the > moment you have (1.1) with this version it does not run. I don't knew > what the lowest version is to run Data::Printer, but it runs fine with > 3.00.
You're absolutely right. I lowered the version for Term::ANSIColor in hopes it would be easier for people to install Data::Printer, but when looking for the oldest possible version I missed the fact that older versions had only 8 colors, not 16. The "bright_*" versions were added in Term::ANSIColor 3.00 so for Data::Printer 0.21 I raised the dependency again. I took the liberty of adding you to the "Contributors" list on the documentation (David Raab) =) Thanks for reporting and figuring this out!