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

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top