Hi,
while a http upload I got a Disk quota exceeded exception, thrown from
the cgi module.
The tempdir was by default set to /tmp

Where is the best place in a pylons application to set the
tempfile.tempdir path?

cheers,
Alex.


File
'/home/agreif/Python-2.4.2/lib/python2.4/site-packages/Paste-0.5-py2.4.egg/paste/exceptions/errormiddleware.py',
line 138 in __call__
 app_iter = self.application(environ, detect_start_response)
File
'/home/agreif/Python-2.4.2/lib/python2.4/site-packages/Paste-0.5-py2.4.egg/paste/httpexceptions.py',
line 619 in __call__
 self.send_http_response, catch=HTTPException)
File
'/home/agreif/Python-2.4.2/lib/python2.4/site-packages/Paste-0.5-py2.4.egg/paste/wsgilib.py',
line 112 in catch_errors_app
 app_iter = application(environ, start_response)
File
'/home/agreif/Python-2.4.2/lib/python2.4/site-packages/Pylons-0.8-py2.4.egg/pylons/middleware.py',
line 23 in __call__
 return self.app(environ, start_response)
File
'/home/agreif/Python-2.4.2/lib/python2.4/site-packages/PasteDeploy-0.5-py2.4.egg/paste/deploy/config.py',
line 157 in __call__
 app_iter = self.application(environ, start_response)
File
'/home/agreif/Python-2.4.2/lib/python2.4/site-packages/Pylons-0.8-py2.4.egg/pylons/wsgiapp.py',
line 35 in __call__
 return self.app.handle(environ, start_response)
File
'/home/agreif/Python-2.4.2/lib/python2.4/site-packages/Myghty-1.0.1-py2.4.egg/myghty/http/WSGIHandler.py',
line 59 in handle
 httpreq = WSGIRequest(environ, start_response)
File
'/home/agreif/Python-2.4.2/lib/python2.4/site-packages/Myghty-1.0.1-py2.4.egg/myghty/http/WSGIHandler.py',
line 87 in __init__
 keep_blank_values = True
File '/home/agreif/Python-2.4.2/Lib/cgi.py', line 526 in __init__
 self.read_multi(environ, keep_blank_values, strict_parsing)
File '/home/agreif/Python-2.4.2/Lib/cgi.py', line 651 in read_multi
 environ, keep_blank_values, strict_parsing)
File '/home/agreif/Python-2.4.2/Lib/cgi.py', line 528 in __init__
 self.read_single()
File '/home/agreif/Python-2.4.2/Lib/cgi.py', line 661 in read_single
 self.read_lines()
File '/home/agreif/Python-2.4.2/Lib/cgi.py', line 683 in read_lines
 self.read_lines_to_outerboundary()
File '/home/agreif/Python-2.4.2/Lib/cgi.py', line 730 in
read_lines_to_outerboundary
 self.__write(odelim + line)
File '/home/agreif/Python-2.4.2/Lib/cgi.py', line 693 in __write
 self.file.write(line)
exceptions.IOError: [Errno 122] Disk quota exceeded


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to