[Zope] error with simple python script loop

Jonathan dev101 at magma.ca
Fri Nov 24 18:42:51 EST 2006


----- Original Message ----- 
From: "Christian Steinhauer" <steinhauer at know-it.net>
To: <zope at zope.org>
Sent: Friday, November 24, 2006 6:08 PM
Subject: Re: [Zope] error with simple python script loop


>
> now i shrink my test script to one line ;)
>
> ###
> for i in range(2):
>  context.MailHost.send('bodytext', "rec at mail.com", "sender at mail.com",
> 'subj'+str(i))
> ###
>
>
> The error occured with IE, with Firefox i cant replicate the error. Here 
> is
> the output of the Z2.log when calling the script over URL directly.
>
>
> localhost- christian [24/Nov/2006:23:48:27 +0200] "GET
> /VirtualHostBase/https/dev.***.de:443/VirtualHostRoot/Christian/rangeEMAIL.p
> y HTTP/1.1" 204 210 "" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
> SV1; .NET CLR 2.0.50727)"
>
> localhost- christian [24/Nov/2006:23:48:28 +0200] "GET
> /VirtualHostBase/https/dev.***.de:443/VirtualHostRoot/Christian/rangeEMAIL.p
> y HTTP/1.1" 204 210 "" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
> SV1; .NET CLR 2.0.50727)"
>
> localhost- christian [24/Nov/2006:23:52:13 +0200] "GET
> /VirtualHostBase/https/dev.***.de:443/VirtualHostRoot/Christian/rangeEMAIL.p
> y HTTP/1.1" 204 210 "" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
> rv:1.8.1) Gecko/20061010 Firefox/2.0"

If you think it may be an IE browser problem, ieHTTPHeaders may be of some 
help:

http://www.blunck.se/iehttpheaders/iehttpheaders.html


Jonathan 




More information about the Zope mailing list