mod_python, ElementTree and Aapche 2.0

R

Rajarshi

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,
 
G

Graham Dumpleton

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?

Try reading:

http://www.dscpl.com.au/wiki/ModPython/Articles/ExpatCausingApacheCrash

Graham
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top