Vincent Wong
vincentwong at ionetbiz.com
Tue Jul 3 16:37:52 EST 2001
I encountered the following error when I called the module test.py with "test.py/saveform": ---- Mod_python error: "PythonHandler mod_python.publisher" Traceback (most recent call last): File "/usr/local/lib/python2.1/site-packages/mod_python/apache.py", line 193, in Dispatch result = object(req) File "/usr/local/lib/python2.1/site-packages/mod_python/publisher.py", line 128, in handler module = apache.import_module(module_name, _req, [path]) File "/usr/local/lib/python2.1/site-packages/mod_python/apache.py", line 356, in import_module if os.path.exists(filepath[:-1]) : File "/usr/local/lib/python2.1/posixpath.py", line 171, in exists st = os.stat(path) OSError: [Errno 2] No such file or directory: '/home/demo/cgi-bin/test.p' ----- the test.py file: import os, sys def saveform(req): return "OK." Regards, Vincent -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.modpython.org/pipermail/mod_python/attachments/20010703/cdf6c498/attachment-0003.htm
|