Code: Select all
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/cherrypy/_cprequest.py", line 663, in respond
self.body.process()
File "/usr/lib/python3/dist-packages/cherrypy/_cpreqbody.py", line 989, in process
super(RequestBody, self).process()
File "/usr/lib/python3/dist-packages/cherrypy/_cpreqbody.py", line 558, in process
proc(self)
File "/usr/lib/python3/dist-packages/cherrypy/_cpreqbody.py", line 223, in process_multipart_form_data
process_multipart(entity)
File "/usr/lib/python3/dist-packages/cherrypy/_cpreqbody.py", line 215, in process_multipart
part.process()
File "/usr/lib/python3/dist-packages/cherrypy/_cpreqbody.py", line 556, in process
self.default_proc()
File "/usr/lib/python3/dist-packages/cherrypy/_cpreqbody.py", line 715, in default_proc
self.file = self.read_into_file()
File "/usr/lib/python3/dist-packages/cherrypy/_cpreqbody.py", line 729, in read_into_file
fp_out = self.make_file()
File "/usr/lib/python3/dist-packages/cherrypy/_cpreqbody.py", line 512, in make_file
return tempfile.TemporaryFile()
File "/usr/lib/python3.8/tempfile.py", line 719, in TemporaryFile
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File "/usr/lib/python3.8/tempfile.py", line 256, in _sanitize_params
dir = gettempdir()
File "/usr/lib/python3.8/tempfile.py", line 425, in gettempdir
tempdir = _get_default_tempdir()
File "/usr/lib/python3.8/tempfile.py", line 357, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/usr/bin']