Vince Buonassisi
vjb at vuit.com
Mon Apr 28 17:36:43 EST 2003
hi, i am getting the following error from mod_python when my python script imports the module test: Mod_python error: "PythonHandler myscript" Traceback (most recent call last): File "/usr/local/lib/python2.2/site-packages/mod_python/apache.py", line 320, in HandlerDispatch module = import_module(module_name, config) File "/usr/local/lib/python2.2/site-packages/mod_python/apache.py", line 499, in import_module module = imp.load_module(mname, f, p, d) File "/usr/local/apache/htdocs/myscript.py", line 4, in ? from WVWService.test import HTTPClient ImportError: No module named test just before this import statement there is another import statement that imports a module from the same area and it seems to work just fine: from WVWService.util import XMLUtil from WVWService.test import HTTPClient i have the following environment environment: mod_pythonq 3.0.3 python 2.2.2 apache 2.0.45 os redhat 8.0 does anyone have any ideas on how i can solve this problem? thanks, vince
|