DTML documents killing Zope (was RE: [Zope] ZServer dying)

Evan Simpson evan@4-am.com
Wed, 28 Mar 2001 14:22:28 -0500


From: "Mayers, Philip J" <p.mayers@ic.ac.uk>
> I have a PythonScript (called as a Web page) which renders the HTML by
> calling external DTML documents, and supplies form field variables as 10
> keyword arguments. This seems to crash Zope if called under load. If I
don't
> supply the keyword arguments (and of course, the field isn't filled in)
then
> everything is OK.

Just to get this out of the way as a possible cause, if you grep
PythonScript.py for "magic", does the following line have quote marks around
the first 'Python_magic' (in getattr)?  It should.

if getattr(self, 'Python_magic', None) != Python_magic:

Cheers,

Evan @ digicool