Barbara & Joshua Fierer
barbara.joshua at worldnet.att.net
Sun Mar 17 10:27:54 EST 2002
Hi, I am trying to upload files HTML forms and mod_python.publisher. I am using the "form" member of the req object. Sometimes the upload works fine, just like expected, but then all of a sudden it doesn't work and I get "Internal Server Error". I am running Apache 1.3.22/mod_python 2.7.6/python 2.1.1 on Redhat 7.1. Below you find the error message from the apache errorlog file. Does anyone know how to fix this ? I really appreciate your help. thanks. Stephan Altmueller Apache Error log: ============= [Sat Mar 16 16:44:49 2002] [error] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.1/site-packages/mod_python/apache.py", line 193, in Dispatch result = object(req) [Sat Mar 16 16:44:49 2002] [error] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.1/site-packages/mod_python/publisher.py", line 96, in handler fs = util.FieldStorage(req, keep_blank_values=1) [Sat Mar 16 16:44:49 2002] [error] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.1/site-packages/mod_python/util.py", line 180, in __init__ file = self.make_file() [Sat Mar 16 16:44:49 2002] [error] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.1/site-packages/mod_python/util.py", line 207, in make_file return tempfile.TemporaryFile("w+b") [Sat Mar 16 16:44:49 2002] [error] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.1/tempfile.py", line 149, in TemporaryFile name = mktemp(suffix) [Sat Mar 16 16:44:49 2002] [error] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.1/tempfile.py", line 116, in mktemp if not os.path.exists(file): [Sat Mar 16 16:44:49 2002] [error] PythonHandler mod_python.publisher: File "/usr/local/lib/python2.1/posixpath.py", line 171, in exists st = os.stat(path) [Sat Mar 16 16:44:49 2002] [error] PythonHandler mod_python.publisher: OSError: [Errno 2] No such file or directory: '/tmp/@8407.10' -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.modpython.org/pipermail/mod_python/attachments/20020317/c0097d26/attachment-0003.htm
|