Skip to content

workdir is removed before process has started #370

@cehbrecht

Description

@cehbrecht

Description

The process workdir is removed before the process has started.

The suspicious line of code is here:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions