[mod_python] Example doesn't work

Wai-Sun Chia waisun.chia at hp.com
Wed Apr 21 15:57:38 EST 2004


Hello list,
WARNING: Newbie here...

I've been trying to get the example site running..

http://www.modpython.org/examples/psp_site/

But I'm getting this error:
*******************************************************
mod_python error: "PythonHandler mod_python.publisher"

Traceback (most recent call last):

   File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 
299, in HandlerDispatch
     result = object(req)

   File "/usr/lib/python2.3/site-packages/mod_python/publisher.py", line 
98, in handler
     path=[path])

   File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 
454, in import_module
     f, p, d = imp.find_module(parts[i], path)

ImportError: No module named HTTP_NOT_FOUND
*******************************************************

Running:

python-2.3.3-3
mod_python-3.1.3-2

Please help.
Thanks.


-- 
           a8888b.
          d888888b.
          8P"YP"Y88       Wai-Sun "Squidster" Chia
          8|o||o|88       Technical Consultant (RHCE)
          8'    .88       Linux/Unix Development
          8`._.' Y8.      Consulting & Integration
         d/      `8b.     HP Services Malaysia
        dP   .    Y8b.
       d8:'  "  `::88b
      d8"         'Y88b
     :8P    '      :888
      8a.   :     _a88P
    ._/"Yaa_:   .| 88P|
    \    YP"    `| 8P  `.
    /     \.___.d|    .'
    `--..__)8888P`._.'

    "Phear the Penguins!"


  "I'm not out to destroy Microsoft.
  That will just be a completely unintentional side effect."
  - Linus Torvalds -

					
					
					


More information about the Mod_python mailing list