Project

General

Profile

Bug #22047

upload_file page without choosing file

Added by Stephen White over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03/04/2019
Due date:
% Done:

100%

Estimated time:
First Occurred:
Scope:
Internal
Experiment:
-
Stakeholders:
Duration:

Description

Pressing upload button without a choosen file dumps the error:
Traceback (most recent call last):
File "/home/poms/venvs/poms36_venv/lib/python3.6/site-packages/cherrypy/_cprequest.py", line 630, in respond
self._do_respond(path_info)
File "/home/poms/venvs/poms36_venv/lib/python3.6/site-packages/cherrypy/_cprequest.py", line 689, in _do_respond
response.body = self.handler()
File "/home/poms/venvs/poms36_venv/lib/python3.6/site-packages/cherrypy/lib/encoding.py", line 221, in call
self.body = self.oldhandler(*args, **kwargs)
File "/home/poms/venvs/poms36_venv/lib/python3.6/site-packages/cherrypy/_cpdispatch.py", line 54, in call
return self.callable(*self.args, **self.kwargs)
File "/home/poms/poms_releases/current/poms/poms/webservice/logit.py", line 18, in wrapper
return function(*args, **kwargs)
File "/home/poms/poms_releases/current/poms/poms/webservice/poms_service.py", line 943, in upload_file
filename
File "/home/poms/poms_releases/current/poms/poms/webservice/FilesPOMS.py", line 374, in upload_file
f = open(outf, "wb")
IsADirectoryError: [Errno 21] Is a directory: '/home/poms//uploads/samdev/swhite/'
Developers: the displayed stack trace can be stopped by setting dump = false in poms.ini. It will still appear in the log.

History

#1 Updated by Marc Mengel over 1 year ago

  • Subject changed from uplad_file page to upload_file page without choosing file

#2 Updated by Stephen White over 1 year ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

#3 Updated by Stephen White about 1 year ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF