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

People
Owner: Nobody in particular
Requestors: Brent.Cowgill [...] FT.com
Cc:
AdminCc:

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



Subject: Strange death trying get()
To: bug-WWW-Mechanize [...] rt.cpan.org
From: Brent.Cowgill [...] FT.com
Date: Tue, 4 Feb 2003 12:34:45 +0000
I'm trying to use WWW::Mechanize and I get a very weird death: Here's the program: #!/usr/bin/perl use strict; use warnings; use Data::Dumper; use WWW::Mechanize; my $rBrowser = WWW::Mechanize->new(); $rBrowser->get('http://apps.svc.ft.com/IPGateway-admin'); Here's the result: Can't call method "uri" on an undefined value at /usr/lib/perl5/site_perl/5.6.0/HTTP/Response.pm line 173. Here's some details: Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration: Platform: osname=linux, osvers=2.4.6-3.1enterprise, archname=i386-linux Stack Trace: LWP::Protocol::http::request line 279 v 1.52 (eval) line 212 (LWP::UserAgent) LWP::UserAgent::simple_request v.1.80 LWP::UserAgent::request WWW::Mechanize::_do_request v.0.35 WWW::Mechanize::get MAIN At this point when I step it in the debugger, it dies and is caught at LWP::UserAgent line 216 with $@ = Can't report tag lists yet at /usr/lib/perl5.... HTML::Parser.pm line 82. I've got HTML::Parser v. 3.25 ********************************************************************************** This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. We may monitor email to and from our network.
[Brent.Cowgill@FT.com - Tue Feb 4 07:34:41 2003]: Show quoted text
> I'm trying to use WWW::Mechanize and I get a very weird death: > Here's the program: > #!/usr/bin/perl > use strict; > use warnings; > use Data::Dumper; > use WWW::Mechanize; > my $rBrowser = WWW::Mechanize->new(); > $rBrowser->get('http://apps.svc.ft.com/IPGateway-admin');
Any luck on this? It works fine for me under 5.8.0. I see you're running Perl 5.6.0. It's a pretty buggy release. At the very least, can you try under 5.6.1?
Haven't heard back. I'll assume it's all good.