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

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

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



Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id E977C4D80AB for <bug-WWW-Mechanize [...] rt.cpan.org>; Mon, 6 Nov 2006 10:44:15 -0500 (EST)
Received: (qmail 20103 invoked by alias); 6 Nov 2006 15:44:15 -0000
Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.191) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 06 Nov 2006 07:44:12 -0800
Received: by nf-out-0910.google.com with SMTP id o63so2475128nfa for <bug-WWW-Mechanize [...] rt.cpan.org>; Mon, 06 Nov 2006 07:43:09 -0800 (PST)
Received: by 10.82.172.15 with SMTP id u15mr1183569bue.1162827788439; Mon, 06 Nov 2006 07:43:08 -0800 (PST)
Received: by 10.82.125.7 with HTTP; Mon, 6 Nov 2006 07:43:08 -0800 (PST)
Delivered-To: cpan-bug+www-mechanize [...] diesel.bestpractical.com
MIME-Version: 1.0
Subject: Timeouts failing when using WWW::Mechanize (expections not being propagated?)
Domainkey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Lry34puM1LxNvYaS4jUG75KRBdlg0fzhuVrXcpBcEn0SlCvjgbHYzLatTS/TqvISJ26qB+nIHV66y8mnce+PKNgn3/Pu5509EZsWFV6hEeWUBJaSiGmHIEGRwEdMK8owB2QqN7dh74bruKjjzguUSI00PqdGGZoLaaxXjRhjhAw=
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,DK_SIGNED,DK_VERIFIED,SPF_PASS
Return-Path: <tethys [...] gmail.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-WWW-Mechanize [...] rt.cpan.org
Date: Mon, 6 Nov 2006 15:43:08 +0000
Received-SPF: pass (x1.develooper.com: domain of tethys [...] gmail.com designates 64.233.182.191 as permitted sender)
Message-Id: <264d99b00611060743w5a4a8200s4f329dedf68cc06a [...] mail.gmail.com>
Content-Type: multipart/mixed; boundary="----=_Part_53938_16905574.1162827788356"
To: bug-WWW-Mechanize [...] rt.cpan.org
From: "- Tethys" <tethys [...] gmail.com>
Content-Length: 0
content-type: text/plain; charset="utf-8"; format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: ISO-8859-1
Content-Length: 534
Download (untitled) / with headers
text/plain 534b
I'm trying to timeout long running operations. Some (but not all) of those operations make use of WWW::Mechanize. When they do, the timeouts don't work. See the attached file for an example. The alarm is received, but the call to CORE::die() doesn't seem to have any effect, as if the exception isn't be propagated to the parent (where it should be caught by an eval). I get the same results if I use Time::Out, rather than rolling my own timeout code. I'm at a loss to find a generic way of timing out long running operations. Tet
content-type: application/octet-stream; name="timeout.pl"
content-disposition: attachment; filename="timeout.pl"
X-Attachment-Id: f_eu71k3wd
Content-Transfer-Encoding: base64
Content-Length: 1662
Download timeout.pl
text/x-perl 1.6k

Message body is not shown because sender requested not to inline it.

MIME-Version: 1.0
In-Reply-To: <264d99b00611060743w5a4a8200s4f329dedf68cc06a [...] mail.gmail.com>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-3379-1194634760-956.22845-0-0 [...] rt.cpan.org>
References: <264d99b00611060743w5a4a8200s4f329dedf68cc06a [...] mail.gmail.com>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 96
If this is still an issue, please resubmit to http://code.google.com/p/www-mechanize/issues/list


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.