[mod_python] [SPAM] fixuphandler problem with mod_python-3.3.0b

m.banaouas banaouas.medialog at wanadoo.fr
Sat Dec 30 13:29:37 EST 2006


hi,
I encouter a problem with mod_python-3.3.0b after installed it with mod_python-3.3.0b.win32-py2.4-Apache2.2.exe.

my fixuphandler in not founded anymore, although it's always there (D:/mydir/fixuphandler.py).
after installing again mod_python-3.2.10, every thing works fine again.
Here in the browser output (PythonDebug On):

MOD_PYTHON ERROR

ProcessId:      3520
Interpreter:    'MACHIN.domaine.local'

ServerName:     'MACHIN.domaine.local'
DocumentRoot:   'C:/Apache/htdocs'

URI:            '/mydir/api'
Location:       None
Directory:      'D:/mydir/'
Filename:       'D:/mydir/api'
PathInfo:       ''

Phase:          'PythonFixupHandler'
Handler:        'fixuphandler.fixuphandler'

Traceback (most recent call last):

  File "C:\Python\Lib\site-packages\mod_python\importer.py", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "C:\Python\Lib\site-packages\mod_python\importer.py", line 1202, in _process_target
    module = import_module(module_name, path=path)

  File "C:\Python\Lib\site-packages\mod_python\importer.py", line 304, in import_module
    return __import__(module_name, {}, {}, ['*'])

ImportError: No module named fixuphandler.fixuphandler

and here is my httpd.conf contribution:
---
Alias /mydir "D:/mydir"

<Directory D:/mydir>
    Allow from All
    SetHandler mod_python
    PythonFixupHandler fixuphandler.fixuphandler
    PythonHandler mod_python.publisher
    PythonDebug On
</Directory>
---





More information about the Mod_python mailing list