-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should FileStorage.do_store
create the outputpath
directory ?
#635
Comments
Other than |
In my deployments the Ansible playbook is creating the temp folders with correct permissions. So, the error was avoided. Would it help to run this code before
|
@cehbrecht Yes, I think so. I was just not sure if recursive directory creation was meant to be supported. If so, I can submit a PR for it. |
Description
I'm a bit confused on whether or not PyWPS is expected to create the
outputpath
directory if it does not exist.The documentation says server path where to store output files.
If the directory does not exist, PyPWS fails in this call here
but it feels like this failure could be avoided by computing the free space on the drive where the target resides, or the closest existing parent directory. Later in the code,
os.makedirs
is called, suggesting an intent to create recursively the target path.So it's not clear to me exactly what the desired behavior is.
Environment
The text was updated successfully, but these errors were encountered: