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: 2395
Status: resolved
Priority: 0/
Queue: WWW-Mechanize

Owner: Nobody in particular
Requestors: andy [...]
Michael-W.J.West [...]

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

Subject: WWW::Mechanize fails tests on my cygwin version
To: bug-WWW-Mechanize [...]
CC: andy [...]
From: "Michael W J West" <Michael-W.J.West [...]>
Date: Mon, 14 Apr 2003 17:31:09 -0400
Download (untitled) / with headers
text/plain 5.3k
I once emailed you to comment that on my WIN2000/cygwin platform, that WWW::Mechanize failed by spewing binary. You later inquired whether the later version was better. It does not spew binary for me now (thanks!), but it still fails tests. Below is a transcript including "perl -V". I would like to use your module, and I am happy to try installing a bug-fix version by hand. Thanks for your efforts for the perl community. Regards, Mike Fetching with LWP: Checksum for /cygdrive/c/cygperl_westmj/.cpan/sources/authors/id/P/PE/PETDANCE/W WW-Mechanize-0.39.tar.gz ok WWW-Mechanize-0.39/ WWW-Mechanize-0.39/t/ WWW-Mechanize-0.39/t/click.t WWW-Mechanize-0.39/t/page_stack.t WWW-Mechanize-0.39/t/add_header.t WWW-Mechanize-0.39/t/form.t WWW-Mechanize-0.39/t/follow.t WWW-Mechanize-0.39/t/field.t WWW-Mechanize-0.39/t/field.html WWW-Mechanize-0.39/t/new.t WWW-Mechanize-0.39/t/submit.t WWW-Mechanize-0.39/t/get.t WWW-Mechanize-0.39/t/00.load.t WWW-Mechanize-0.39/Changes WWW-Mechanize-0.39/lib/ WWW-Mechanize-0.39/lib/WWW/ WWW-Mechanize-0.39/lib/WWW/ WWW-Mechanize-0.39/MANIFEST WWW-Mechanize-0.39/Makefile.PL WWW-Mechanize-0.39/README Going to build P/PE/PETDANCE/WWW-Mechanize-0.39.tar.gz Checking if your kit is complete... Looks good Writing Makefile for WWW::Mechanize cp lib/WWW/ blib/lib/WWW/ Manifying blib/man3/WWW.Mechanize.3 /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/cygperl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1 /cygwin-multi -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose ); $verbose=0; runtests @ARGV;' t/*.t t/00.load...........ok t/add_header........ok t/click.............ok t/field.............ok 2/4# Failed test (t/field.t at line 17) Can't call method "value" on an undefined value at blib/lib/WWW/ lin e 346. # Looks like you planned 4 tests but only ran 3. # Looks like your test died just after 3. t/field.............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 3-4 Failed 2/4 tests, 50.00% okay t/follow............ok t/form..............ok t/get...............ok t/new...............ok t/page_stack........ok t/submit............ok Failed Test Status Wstat Total Fail Failed List of Failed -------------------------------------------------------------------------------- t/field.t 255 65280 4 2 50.00% 3-4 Failed 1/10 test scripts, 90.00% okay. 2/93 subtests failed, 97.85% 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 Show quoted text
$ cygperl -V Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=cygwin, osvers=1.3.2(0.3932), archname=cygwin-multi uname='cygwin_nt-4.0 loreley 1.3.2(0.3932) 2001-05-20 23:28 i686 unknown ' config_args='-de -Dusemultiplicity' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=defi ne useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local /include', optimize='-O2', cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='2.95.3-5 (cygwin special)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize =4 alignbytes=8, usemymalloc=y, prototype=define Linker and Libraries: ld='ld2', ldflags =' -s -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -lcrypt perllibs=-lcrypt libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl5_6_1.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s' cccdlflags=' ', lddlflags=' -s -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under cygwin Compiled at Aug 22 2001 01:05:05 @INC: /usr/lib/perl5/5.6.1/cygwin-multi /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/cygwin-multi /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl . This communication is for use by the intended recipient and contains information that may be privileged, confidential or copyrighted under applicable law. If you are not the intended recipient, you are hereby formally notified that any use, copying or distribution of this e-mail, in whole or in part, is strictly prohibited. Please notify the sender by return e-mail and delete this e-mail from your system. Unless explicitly and conspicuously designated as "E-Contract Intended", this e-mail does not constitute a contract offer, a contract amendment, or an acceptance of a contract offer. This e-mail does not constitute a consent to the use of sender's contact information for direct marketing purposes or for transfers of data to third parties. Francais Deutsch Italiano Espanol Portugues Japanese Chinese Korean
Date: Mon, 14 Apr 2003 18:29:25 -0500
Subject: Re: WWW::Mechanize fails tests on my cygwin version
CC: bug-WWW-Mechanize [...]
To: "Michael W J West" <Michael-W.J.West [...]>
From: Andy Lester <andy [...]>
Download (untitled) / with headers
text/plain 282b
I'm at a disadvantage since I'm not on Windows. Try this, please: Go to the www-mechanize build directory, and run perl -Mblib t/field.t and send me the results. Thanks, Andy -- Andy Lester, AIM:petdance
Fixed by 0.40.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to