-
Notifications
You must be signed in to change notification settings - Fork 118
Closed
Description
Description
The process workdir is removed before the process has started.
The suspicious line of code is here:
pywps/pywps/response/execute.py
Line 209 in fbd5b3a
| self.process.clean() |
When I disable it then it works.
@gschwind @jachym Could you please check the reasoning for this code line? Otherwise I would just comment it with a PR.
If your process has ComplexInputs then the workdir is created again and you might not notice this bug.
Steps to Reproduce
Try a process with no ComplexInputs and which creates a file in self.workdir:
https://github.com/cehbrecht/ecas-wps-demo/blob/759a83d390ef28641825eaa1aafde791a4c4a815/ecaswps/processes/wps_index_tn.py#L77
Additional Information
The mentioned line of code was introduced in PR #358.
jachym