mod_python, ElementTree and Aapche 2.0

Rajarshi rajarshi.guha at gmail.com
Sat Oct 27 18:02:34 CEST 2007


Hi, this is a slightly vague question but I'm really puzzled as to
when I write a mod_python (3.1.3) program that makes use of
ElementTree and call it via a URL, the program simply stops when I do
something like

s = # some XML document in a string
root = XML(s)

There is no exception at all - the browser just shows a blank page

But running the code outside of the web server makes it run fine.

This is on a RHEL 4 machine, with Apache 2.0.52 and Python 2.3.4

Has anybody ever seen this type of behavior?

Thanks,




More information about the Python-list mailing list