Mod_python psp import module problem
grahamd at dscpl.com.au
grahamd at dscpl.com.au
Sat Jun 11 02:41:08 EDT 2005
May be related to this bug:
http://issues.apache.org/jira/browse/MODPYTHON-12
Where you have:
import mod_python.psp
change it to:
psp = apache.import_module("mod_python.psp")
Access the PSP object then as:
psp.PSP
and not:
mod_python.psp.PSP
It will happen where somewhere else within the same document tree
there is a PythonHandler specified as mod_python.psp as well as
the explicit import of mod_python.psp. Depending on which ones gets
triggered first, it will screw up.
Graham
More information about the Python-list
mailing list