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

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

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



Subject: Fwd: Test::WWW::Mechanize/WWW::Mechanize Issue
Date: Wed, 18 Apr 2007 20:37:53 -0400
To: bug-WWW-Mechanize [...] rt.cpan.org
From: hkclark [...] gmail.com
I noticed that I'm having trouble when 'make test' run for Test::WWW::Mechanize if anything after v1.20 of WWW::Mechanize is installed (I have tried v1.21_01, v1.21_02, v1.21_03, v1.21_04, and v1.22 and all have had issues). I'm doing this on a freshly installed CentOS 4 box (RHEL 4)... so Perl v5.8.5. I'm not sure yet where the ultimate "root cause" lies, but it seems to involve the following line in v1.21+ of WWW::Mechanize: my $content = $res->decoded_content; If I change that back to what v1.20 had: my $content = $res->content; Then everything is good. Here is the error message I'm getting with v1.21+ of WWW::Mechanize: [root@localhost Test-WWW-Mechanize-1.12]# prove t/follow_link_ok.t t/follow_link_ok....NOK 4 # Failed test 'Go after first link' # at t/follow_link_ok.t line 29. # 500 Can't connect to localhost:13432 (connect: Connection refused) # Content-Type: text/plain # Client-Date: Sat, 14 Apr 2007 12:37:24 GMT # Client-Warning: Internal response # # 500 Can't connect to localhost:13432 (connect: Connection refused) t/follow_link_ok....FAILED test 4 Failed 1/6 tests, 83.33% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/follow_link_ok.t 6 1 16.67% 4 Failed 1/1 test scripts, 0.00% okay. 1/6 subtests failed, 83.33% okay. [root@localhost Test-WWW-Mechanize-1.12]# Here is the output if comment out lines 1949 and 1950 and insert 'my $content = $res->content;': [root@localhost Test-WWW-Mechanize-1.12]# prove t/follow_link_ok.t t/follow_link_ok....ok All tests successful. Files=1, Tests=6, 0 wallclock secs ( 0.06 cusr + 0.26 csys = 0.32 CPU) [root@localhost Test-WWW-Mechanize-1.12]# Thank you, Kennedy
This "make test" problem is fixed in the next versoin of Mech, out today.
Subject: Re: [rt.cpan.org #26481] Fwd: Test::WWW::Mechanize/WWW::Mechanize Issue
Date: Fri, 11 May 2007 18:01:44 -0400
To: bug-WWW-Mechanize [...] rt.cpan.org
From: hkclark [...] gmail.com
Great! Many thanks! On 5/11/07, Andy Lester via RT <bug-WWW-Mechanize@rt.cpan.org> wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=26481 > > > This "make test" problem is fixed in the next versoin of Mech, out today. >