[Zope] error with simple python script loop

Christian Steinhauer steinhauer at know-it.net
Fri Nov 24 18:08:28 EST 2006


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"

tomorrow i will check the zdb debugger with the script. 
thx for the hints to solve the problem. 



More information about the Zope mailing list