Skip Menu |

This queue is for tickets about the Net-Download-Queue CPAN distribution.

Report information
The Basics
Id: 21097
Status: resolved
Priority: 0/
Queue: Net-Download-Queue

People
Owner: Nobody in particular
Requestors: ben.hengst [...] gmail.com
Cc:
AdminCc:

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



Subject: getting testing errors (help I'm new)
I keep getting testing errors, I'm kinda new to cpan and dont quite know what I'm doing wrong. This is on an OSX 10.4.7 box, if there is any thing else that I can provide you with to figure out whats going on please feel free to email me (ben.hengst@gmail.com). PERL VERSION: This is perl, v5.8.6 built for darwin-thread-multi-2level OS VERSION: Darwin benhs-Computer.local 8.7.0 Darwin Kernel Version 8.7.0: Fri May 26 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power Macintosh powerpc I have tried to quit the cpan shell and start again (its worked for some modules) and that didnt work for me. Here are the test errors that I am getting: CPAN: Module::Build loaded ok CPAN.pm: Going to build J/JO/JOHANL/Net-Download-Queue-0.04.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Net::Download::Queue CPAN: YAML loaded ok cp lib/Net/Download/Queue/Download.pm blib/lib/Net/Download/Queue/Download.pm cp lib/Net/Download/Queue/DownloadStatus.pm blib/lib/Net/Download/Queue/DownloadStatus.pm cp lib/Net/Download/Queue/database/sqlite/create.sql blib/lib/Net/Download/Queue/database/sqlite/create.sql cp lib/Net/Download/Queue.pm blib/lib/Net/Download/Queue.pm cp lib/Net/Download/Queue/DBI.pm blib/lib/Net/Download/Queue/DBI.pm cp bin/download_queue blib/script/download_queue /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/download_queue Manifying blib/man1/download_queue.1 Manifying blib/man3/Net::Download::Queue::Download.3pm Manifying blib/man3/Net::Download::Queue::DownloadStatus.3pm Manifying blib/man3/Net::Download::Queue.3pm Manifying blib/man3/Net::Download::Queue::DBI.3pm /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load................................ok t/Download-Queue-Database-create.........ok t/Download-Queue-Database................ok t/Download-Queue-DBI.....................ok t/Download-Queue-Download-status-list....ok 4/22fileDownload is not a column of Net::Download::Queue::Download at t/Download-Queue-Download-status-list.t line 33 # Looks like you planned 22 tests but only ran 4. # Looks like your test died just after 4. t/Download-Queue-Download-status-list....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 5-22 Failed 18/22 tests, 18.18% okay t/Download-Queue-Download................ok 6/21fileDownload is not a column of Net::Download::Queue::Download at t/Download-Queue-Download.t line 36 No root path(s) specified at t/Download-Queue-Download.t line 57 Use of uninitialized value in -d at t/Download-Queue-Download.t line 58. t/Download-Queue-Download................ok 7/21# Looks like you planned 21 tests but only ran 7. # Looks like your test died just after 7. t/Download-Queue-Download................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 8-21 Failed 14/21 tests, 33.33% okay t/Download-Queue.........................ok 4/18dirDownload is not a column of Net::Download::Queue::Download at ../lib/Net/Download/Queue.pm line 97 # Looks like you planned 18 tests but only ran 4. # Looks like your test died just after 4. t/Download-Queue.........................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 5-18 Failed 14/18 tests, 22.22% okay t/pod-coverage...........................ok t/pod....................................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/Download-Queue-Download-status- 255 65280 22 36 163.64% 5-22 t/Download-Queue-Download.t 255 65280 21 28 133.33% 8-21 t/Download-Queue.t 255 65280 18 28 155.56% 5-18 Failed 3/9 test scripts, 66.67% okay. 46/76 subtests failed, 39.47% okay. make: *** [test_dynamic] Error 2 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Failed during this command: JOHANL/Net-Download-Queue-0.04.tar.gz : make_test NO I hope that this helps. If there is any thing that I can do to help out or things that I need to do diffrently please email me and let me know. Thanks so much for posting this to CPAN. benh~
Subject: Re: [rt.cpan.org #21097] getting testing errors (help I'm new)
Date: Mon, 21 Aug 2006 09:41:48 +0200
To: bug-Net-Download-Queue [...] rt.cpan.org
From: Johan Lindstrom <johanl [...] DarSerMan.com>
At 08:15 2006-08-21, you wrote: Show quoted text
> >t/Download-Queue-Download-status-list....ok 4/22fileDownload is not a >column of Net::Download::Queue::Download at >t/Download-Queue-Download-status-list.t line 33
This indicates that Class::DBI isn't loaded properly. Can you check wich version of CDBI you have? /J -------- ------ ---- --- -- -- -- - - - - - Johan Lindström Sourcerer @ Boss Casinos johanl AT DarSerMan.com Latest bookmark: "TCP Connection Passing" http://tcpcp.sourceforge.net/ dmoz: /Computers/Programming/Languages/JavaScript/ 12
From: ben.hengst [...] gmail.com
Sure: Show quoted text
cpan> install Class::DBI
CPAN: Storable loaded ok Going to read /var/root/.cpan/Metadata Database was generated on Sat, 19 Aug 2006 21:29:41 GMT Class::DBI is up to date (v3.0.14). hope this helps. benh~ On Mon Aug 21 03:42:41 2006, johanl@DarSerMan.com wrote: Show quoted text
> At 08:15 2006-08-21, you wrote:
> > > >t/Download-Queue-Download-status-list....ok 4/22fileDownload is not a > >column of Net::Download::Queue::Download at > >t/Download-Queue-Download-status-list.t line 33
> > This indicates that Class::DBI isn't loaded properly. > > Can you check wich version of CDBI you have? > > > /J > > -------- ------ ---- --- -- -- -- - - - - - > Johan Lindström Sourcerer @ Boss Casinos johanl AT DarSerMan.com > > Latest bookmark: "TCP Connection Passing" > http://tcpcp.sourceforge.net/ > dmoz: /Computers/Programming/Languages/JavaScript/ 12 >
Subject: Re: [rt.cpan.org #21097] getting testing errors (help I'm new)
Date: Mon, 21 Aug 2006 12:59:32 +0200
To: bug-Net-Download-Queue [...] rt.cpan.org
From: Johan Lindstrom <johanl [...] DarSerMan.com>
At 10:05 2006-08-21, you wrote: Show quoted text
>cpan> install Class::DBI
>CPAN: Storable loaded ok >Going to read /var/root/.cpan/Metadata > Database was generated on Sat, 19 Aug 2006 21:29:41 GMT >Class::DBI is up to date (v3.0.14).
Hmmm... Okay... I use CDBI v0.96. I'm not sure I remember exactly what happened after that technically, but IIRC later versions broke backwards compatibility in some way. Maybe that is the problem. As a workaround, what you could try to do is to uninstall CDBI, download CDBI 0.96 from http://search.cpan.org/~tmtm/Class-DBI-0.96/ and install it with the usual perl Makefile.PL && make && make test && make install mantra, and see if that works better. I'm personally stuck on 0.96 for the time being because of other apps, but perhaps I should migrate to DBIC or Rose::DB::Object for this module. It's not on the immediate todo-list though. /J -------- ------ ---- --- -- -- -- - - - - - Johan Lindström Sourcerer @ Boss Casinos johanl AT DarSerMan.com Latest bookmark: "TCP Connection Passing" http://tcpcp.sourceforge.net/ dmoz: /Computers/Programming/Languages/JavaScript/ 12
From: ben.hengst [...] gmail.com
Cool thanks for looking in to it for me. benh~ On Mon Aug 21 07:00:10 2006, johanl@DarSerMan.com wrote: Show quoted text
> At 10:05 2006-08-21, you wrote:
> >cpan> install Class::DBI
> >CPAN: Storable loaded ok > >Going to read /var/root/.cpan/Metadata > > Database was generated on Sat, 19 Aug 2006 21:29:41 GMT > >Class::DBI is up to date (v3.0.14).
> > Hmmm... Okay... > > I use CDBI v0.96. I'm not sure I remember exactly what happened after
that Show quoted text
> technically, but IIRC later versions broke backwards compatibility in
some Show quoted text
> way. Maybe that is the problem. > > As a workaround, what you could try to do is to uninstall CDBI, download > CDBI 0.96 from > http://search.cpan.org/~tmtm/Class-DBI-0.96/ > and install it with the usual > perl Makefile.PL && make && make test && make install > mantra, and see if that works better. > > I'm personally stuck on 0.96 for the time being because of other apps,
but Show quoted text
> perhaps I should migrate to DBIC or Rose::DB::Object for this module.
It's Show quoted text
> not on the immediate todo-list though. > > > /J > > -------- ------ ---- --- -- -- -- - - - - - > Johan Lindström Sourcerer @ Boss Casinos johanl AT DarSerMan.com > > Latest bookmark: "TCP Connection Passing" > http://tcpcp.sourceforge.net/ > dmoz: /Computers/Programming/Languages/JavaScript/ 12 >