mod_python, ElementTree and Aapche 2.0

Discussion in 'Python' started by Rajarshi, Oct 27, 2007.

  1. Rajarshi

    Rajarshi Guest

    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,
    Rajarshi, Oct 27, 2007
    #1
    1. Advertising

  2. On Oct 28, 3:02 am, Rajarshi <> wrote:
    > 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
    Graham Dumpleton, Oct 27, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ElementTree and XPATH

    , Dec 9, 2004, in forum: Python
    Replies:
    3
    Views:
    344
    Martijn Faassen
    Dec 11, 2004
  2. =?utf-8?q?Bj=C3=B6rn_Lindstr=C3=B6m?=

    ElementTree Tidy HTML Tree Builder and comments

    =?utf-8?q?Bj=C3=B6rn_Lindstr=C3=B6m?=, Mar 19, 2005, in forum: Python
    Replies:
    0
    Views:
    345
    =?utf-8?q?Bj=C3=B6rn_Lindstr=C3=B6m?=
    Mar 19, 2005
  3. blbmdsmith
    Replies:
    1
    Views:
    633
    Graham Dumpleton
    Dec 14, 2006
  4. Mark Fitzpatrick

    Re: Asp.net 2.0 / Aapche 2.2.6 / Ajax

    Mark Fitzpatrick, Jun 19, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    514
    darrel
    Jun 20, 2008
  5. Kee Nethery
    Replies:
    12
    Views:
    2,047
    Stefan Behnel
    Jun 27, 2009
Loading...

Share This Page