Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 2874
Status: resolved
Priority: 95/
Queue: WWW-Mechanize

People
Owner: andy [...] petdance.com
Requestors: mactech [...] webdragon.net
Cc:
AdminCc:

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



Date: Tue, 1 Jul 2003 13:03:43 -0400 (EDT)
From: "Scott R. Godin" <mactech [...] webdragon.net>
To: bug-WWW-Mechanize [...] rt.cpan.org
Subject: Re: I got a "WOAH" for WWW::Mechanize 0.51 (fwd)
Show quoted text
---------- Forwarded message ---------- Date: Tue, 1 Jul 2003 11:25:59 -0400 (EDT) From: Scott R. Godin <mactech@webdragon.net> To: Andy Lester <andy@petdance.com> Subject: Re: I got a "WOAH" for WWW::Mechanize 0.51 On Tue, 1 Jul 2003, Andy Lester wrote:
> > If your script requires an updated Test::Builder, it should be > >in the PreReq's anyway, right?
> > Not if I didn't know that it needed a newer one. :-) > > Please run the failing test directly: > > perl -Mblib t/tick.t > > Thanks, > xoxo, > Andy > >
Still got a 'Woah' 11:21am {5} pcp01501167pcs:/root># cpan cpan shell -- CPAN exploration and modules installation (v1.70) ReadLine support enabled
cpan> look WWW::Mechanize
CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Tue, 01 Jul 2003 13:43:54 GMT Running look for module WWW::Mechanize Trying to open a subshell in the build directory... CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for /root/.cpan/sources/authors/id/P/PE/PETDANCE/WWW-Mechanize-0.51.tar.gz ok Scanning cache /root/.cpan/build for sizes Deleting from cache: /root/.cpan/build/libnet-1.16 (35.0>35.0 MB) WWW-Mechanize-0.51/ WWW-Mechanize-0.51/t/ WWW-Mechanize-0.51/t/click-local.t WWW-Mechanize-0.51/t/follow.t WWW-Mechanize-0.51/t/00.load.t WWW-Mechanize-0.51/t/99.pod.t WWW-Mechanize-0.51/t/find_link.html WWW-Mechanize-0.51/t/follow_link.t WWW-Mechanize-0.51/t/follow-local.t WWW-Mechanize-0.51/t/submit-local.t WWW-Mechanize-0.51/t/reload.t WWW-Mechanize-0.51/t/field.html WWW-Mechanize-0.51/t/click.t WWW-Mechanize-0.51/t/add_header.t WWW-Mechanize-0.51/t/get-local.t WWW-Mechanize-0.51/t/back.t WWW-Mechanize-0.51/t/find_link.t WWW-Mechanize-0.51/t/form.t WWW-Mechanize-0.51/t/new-local.t WWW-Mechanize-0.51/t/field.t WWW-Mechanize-0.51/t/reload-local.t WWW-Mechanize-0.51/t/google.html WWW-Mechanize-0.51/t/tick.html WWW-Mechanize-0.51/t/tick.t WWW-Mechanize-0.51/t/page_stack.t WWW-Mechanize-0.51/t/lib/ WWW-Mechanize-0.51/t/lib/Test/ WWW-Mechanize-0.51/t/lib/Test/HTTP/ WWW-Mechanize-0.51/t/lib/Test/HTTP/LocalServer.pm WWW-Mechanize-0.51/t/lib/Test/HTTP/log-server WWW-Mechanize-0.51/t/form-local.t WWW-Mechanize-0.51/t/new.t WWW-Mechanize-0.51/t/get.t WWW-Mechanize-0.51/t/submit.t WWW-Mechanize-0.51/Changes WWW-Mechanize-0.51/MANIFEST WWW-Mechanize-0.51/lib/ WWW-Mechanize-0.51/lib/WWW/ WWW-Mechanize-0.51/lib/WWW/Mechanize.pm WWW-Mechanize-0.51/lib/WWW/Mechanize/ WWW-Mechanize-0.51/lib/WWW/Mechanize/Examples.pod WWW-Mechanize-0.51/etc/ WWW-Mechanize-0.51/etc/www-mechanize-logo.png WWW-Mechanize-0.51/Makefile.PL WWW-Mechanize-0.51/script/ WWW-Mechanize-0.51/script/mech-forms Removing previously used /root/.cpan/build/WWW-Mechanize-0.51 Working directory is /root/.cpan/build/WWW-Mechanize-0.51 11:21am {1} pcp01501167pcs:/root/.cpan/build/WWW-Mechanize-0.51># perl Makefile.PL Do you want to install the mech-forms utility? [y] Checking if your kit is complete... Looks good Writing Makefile for WWW::Mechanize 11:22am {2} pcp01501167pcs:/root/.cpan/build/WWW-Mechanize-0.51># make cp lib/WWW/Mechanize/Examples.pod blib/lib/WWW/Mechanize/Examples.pod cp lib/WWW/Mechanize.pm blib/lib/WWW/Mechanize.pm cp script/mech-forms blib/script/mech-forms /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/mech-forms Manifying blib/man3/WWW::Mechanize::Examples.3pm Manifying blib/man3/WWW::Mechanize.3pm 12:04pm {10} pcp01501167pcs:/root/.cpan/build/WWW-Mechanize-0.51># perl -Mblib t/tick.t 1..5 ok 1 - use WWW::Mechanize; ok 2 - The object isa WWW::Mechanize ok 3 - The object isa URI::file Invalid value for shared scalar at /usr/lib/perl5/5.8.0/Test/Builder.pm line 319. WHOA! Somehow you got a different number of results than tests ran! This should never happen! Please contact the author immediately! END failed--call queue aborted. just in case here's the full details on which Test::Builder : 11:24am {61} pcp01501167pcs:/home/webdragon>$ m Test::Builder CPAN: Storable loaded ok Going to read /home/webdragon/.cpan/Metadata Database was generated on Tue, 01 Jul 2003 13:43:54 GMT Module id = Test::Builder CPAN_USERID MSCHWERN (Michael G Schwern <mschwern@cpan.org>) CPAN_VERSION 0.17 CPAN_FILE M/MS/MSCHWERN/Test-Simple-0.47.tar.gz MANPAGE Test::Builder - Backend for building test libraries INST_FILE /usr/lib/perl5/5.8.0/Test/Builder.pm INST_VERSION 0.17 HTH -- Laughing Dragon Services http://www.webdragon.net/
From: Woodrow Jarvis Hill
[mactech@webdragon.net - Tue Jul 1 13:03:50 2003]: Show quoted text
> > ---------- Forwarded message ---------- > Date: Tue, 1 Jul 2003 11:25:59 -0400 (EDT) > From: Scott R. Godin <mactech@webdragon.net> > To: Andy Lester <andy@petdance.com> > Subject: Re: I got a "WOAH" for WWW::Mechanize 0.51 > > On Tue, 1 Jul 2003, Andy Lester wrote: >
> > > If your script requires an updated Test::Builder, it should be > > >in the PreReq's anyway, right?
> > > > Not if I didn't know that it needed a newer one. :-) > > > > Please run the failing test directly: > > > > perl -Mblib t/tick.t > > > > Thanks, > > xoxo, > > Andy > > > >
> > > Still got a 'Woah' > > 11:21am {5} pcp01501167pcs:/root># cpan > > cpan shell -- CPAN exploration and modules installation (v1.70) > ReadLine support enabled >
> cpan> look WWW::Mechanize
> CPAN: Storable loaded ok > Going to read /root/.cpan/Metadata > Database was generated on Tue, 01 Jul 2003 13:43:54 GMT > Running look for module WWW::Mechanize > > Trying to open a subshell in the build directory... > CPAN: Digest::MD5 loaded ok > CPAN: Compress::Zlib loaded ok > Checksum for > /root/.cpan/sources/authors/id/P/PE/PETDANCE/WWW-Mechanize-0.51.tar.gz > ok > Scanning cache /root/.cpan/build for sizes > Deleting from cache: /root/.cpan/build/libnet-1.16 (35.0>35.0 MB) > WWW-Mechanize-0.51/ > WWW-Mechanize-0.51/t/ > WWW-Mechanize-0.51/t/click-local.t > WWW-Mechanize-0.51/t/follow.t > WWW-Mechanize-0.51/t/00.load.t > WWW-Mechanize-0.51/t/99.pod.t > WWW-Mechanize-0.51/t/find_link.html > WWW-Mechanize-0.51/t/follow_link.t > WWW-Mechanize-0.51/t/follow-local.t > WWW-Mechanize-0.51/t/submit-local.t > WWW-Mechanize-0.51/t/reload.t > WWW-Mechanize-0.51/t/field.html > WWW-Mechanize-0.51/t/click.t > WWW-Mechanize-0.51/t/add_header.t > WWW-Mechanize-0.51/t/get-local.t > WWW-Mechanize-0.51/t/back.t > WWW-Mechanize-0.51/t/find_link.t > WWW-Mechanize-0.51/t/form.t > WWW-Mechanize-0.51/t/new-local.t > WWW-Mechanize-0.51/t/field.t > WWW-Mechanize-0.51/t/reload-local.t > WWW-Mechanize-0.51/t/google.html > WWW-Mechanize-0.51/t/tick.html > WWW-Mechanize-0.51/t/tick.t > WWW-Mechanize-0.51/t/page_stack.t > WWW-Mechanize-0.51/t/lib/ > WWW-Mechanize-0.51/t/lib/Test/ > WWW-Mechanize-0.51/t/lib/Test/HTTP/ > WWW-Mechanize-0.51/t/lib/Test/HTTP/LocalServer.pm > WWW-Mechanize-0.51/t/lib/Test/HTTP/log-server > WWW-Mechanize-0.51/t/form-local.t > WWW-Mechanize-0.51/t/new.t > WWW-Mechanize-0.51/t/get.t > WWW-Mechanize-0.51/t/submit.t > WWW-Mechanize-0.51/Changes > WWW-Mechanize-0.51/MANIFEST > WWW-Mechanize-0.51/lib/ > WWW-Mechanize-0.51/lib/WWW/ > WWW-Mechanize-0.51/lib/WWW/Mechanize.pm > WWW-Mechanize-0.51/lib/WWW/Mechanize/ > WWW-Mechanize-0.51/lib/WWW/Mechanize/Examples.pod > WWW-Mechanize-0.51/etc/ > WWW-Mechanize-0.51/etc/www-mechanize-logo.png > WWW-Mechanize-0.51/Makefile.PL > WWW-Mechanize-0.51/script/ > WWW-Mechanize-0.51/script/mech-forms > Removing previously used /root/.cpan/build/WWW-Mechanize-0.51 > Working directory is /root/.cpan/build/WWW-Mechanize-0.51 > 11:21am {1} pcp01501167pcs:/root/.cpan/build/WWW-Mechanize-0.51># perl > Makefile.PL > Do you want to install the mech-forms utility? [y] > Checking if your kit is complete... > Looks good > Writing Makefile for WWW::Mechanize > 11:22am {2} pcp01501167pcs:/root/.cpan/build/WWW-Mechanize-0.51># make > cp lib/WWW/Mechanize/Examples.pod blib/lib/WWW/Mechanize/Examples.pod > cp lib/WWW/Mechanize.pm blib/lib/WWW/Mechanize.pm > cp script/mech-forms blib/script/mech-forms > /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" > blib/script/mech-forms > Manifying blib/man3/WWW::Mechanize::Examples.3pm > Manifying blib/man3/WWW::Mechanize.3pm > 12:04pm {10} pcp01501167pcs:/root/.cpan/build/WWW-Mechanize-0.51># > perl -Mblib t/tick.t > 1..5 > ok 1 - use WWW::Mechanize; > ok 2 - The object isa WWW::Mechanize > ok 3 - The object isa URI::file > Invalid value for shared scalar at > /usr/lib/perl5/5.8.0/Test/Builder.pm > line 319. > WHOA! Somehow you got a different number of results than tests ran! > This should never happen! Please contact the author immediately! > END failed--call queue aborted. > > just in case here's the full details on which Test::Builder : > > 11:24am {61} pcp01501167pcs:/home/webdragon>$ m Test::Builder > CPAN: Storable loaded ok > Going to read /home/webdragon/.cpan/Metadata > Database was generated on Tue, 01 Jul 2003 13:43:54 GMT > Module id = Test::Builder > CPAN_USERID MSCHWERN (Michael G Schwern <mschwern@cpan.org>) > CPAN_VERSION 0.17 > CPAN_FILE M/MS/MSCHWERN/Test-Simple-0.47.tar.gz > MANPAGE Test::Builder - Backend for building test libraries > INST_FILE /usr/lib/perl5/5.8.0/Test/Builder.pm > INST_VERSION 0.17 > > HTH >
Seconded; just ran across it: Show quoted text
cpan> install P/PE/PETDANCE/WWW-Mechanize-0.51.tar.gz
Running make for P/PE/PETDANCE/WWW-Mechanize-0.51.tar.gz Is already unwrapped into directory /root/.cpan/build/WWW-Mechanize-0.51 Has already been processed within this session Running make test PERL_DL_NONLAZY=1 /usr/bin/perl5.8.0 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00.load.........ok t/99.pod..........skipped all skipped: Test::Pod v0.95 required for testing POD t/add_header......ok t/back............skipped all skipped: This doesn't work at all yet, and people were freaking at the unexpected successes. t/click-local.....ok t/click...........ok t/field...........ok t/find_link.......ok t/follow-local....ok t/follow..........ok t/follow_link.....ok t/form-local......ok t/form............ok t/get-local.......ok t/get.............ok t/new-local.......ok t/new.............ok t/page_stack......ok t/reload-local....ok t/reload..........ok t/submit-local....ok t/submit..........ok t/tick............ok 2/5Invalid value for shared scalar at /usr/lib/perl5/5.8.0/Test/Builder.pm line 319. t/tick............ok 3/5WHOA! Somehow you got a different number of results than tests ran! This should never happen! Please contact the author immediately! END failed--call queue aborted. t/tick............dubious Test returned status 2 (wstat 512, 0x200) Scalar found where operator expected at (eval 151) line 1, near "'int' $__val" (Missing operator before $__val?) DIED. FAILED tests 4-5 Failed 2/5 tests, 60.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/tick.t 2 512 5 2 40.00% 4-5 2 tests skipped. Failed 1/23 test scripts, 95.65% okay. 2/222 subtests failed, 99.10% 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 ========================(and...)========================== Show quoted text
cpan> install Test::Builder
Test::Builder is up to date. (My email is asim@mindspring.com)
From: Woodrow Jarvis Hill
[guest - Thu Jul 3 21:15:26 2003]: (OUCH -- sorry about the extra lines, gentlemen -- WJH)
Version 0.53 will explicitly stringify the URI::file objects in the .t file. I hope that this will fix it up.