[Zope] python TTW script kills zope
Gilles Lenfant
gilles@pilotsystems.net
Wed, 23 Jul 2003 17:18:31 +0200
Hi!
I noticed a strange behaviour in an old Zope 2.3.3 that's raised by this
simple Python script (run by a Manager)
aclu =3D container.acl_users
allUsers =3D aclu.getUsers()
print len(allUsers), "users"
for someUser in allUsers:
print 'an user' # this raises the error
print "Termin=E9"
return printed
This kills Zope and the console shows this...
assertion "STACK_LEVEL() <=3D f->f_stacksize" failed: file "Python/ceval.=
c",
line 695
------
2003-07-23T12:53:03 ERROR(200) zdaemon zdaemon: Wed Jul 23 14:53:03 2003:
Aiieee! 83355 exited with error code: 6
When changing "print 'an use'" with "pass", this runs OK.
Any idea ?
Thanks in advance.
--Gilles