[Zope] (newbie) External Method continues to run.

working4aliving working4aliving@hotmail.com
Tue, 7 Jan 2003 08:48:26 -0500


Thanx Dieter, we'll do that.

----- Original Message -----
From: "Dieter Maurer" <dieter@handshake.de>
To: "working4aliving" <working4aliving@hotmail.com>
Cc: <zope@zope.org>
Sent: Monday, January 06, 2003 1:40 PM
Subject: Re: [Zope] (newbie) External Method continues to run.


> working4aliving wrote at 2003-1-3 16:17 -0500:
>  > I'm validating the resolution of url's supplied by customers through
the
>  > following...
>  > (testing w/ 7000 records right now)
>  > my DTML method calls a python script that calls a zsql method.  It then
>  > passes the result (row by row)
>  > to a hacked version of webclient.py, and my result gets passed back (1
or
>  > 0).  I list the results (failures) in a resulting method.
>  > If I cancel the request (via the stop button on the browser)  my
logging
>  > shows the external method contining to run.
>  > Realizing that it's server side, it's not necessarily wrong, but if
anyone
>  > can give me an explaination on why (or more like
>  > how to stop it), that'd be great.
> You may search "comp.lang.python" or the mailing list archive.
>
>    You are interested in why threads cannot be aborted/stopped/canceled
>    in Python.
>
>
> Dieter
>