Skip to content

Engine fails if python deployer is in the config and the python binary is not found #191

@dustinblack

Description

@dustinblack

Describe the bug

Any time the python deployer is defined in the config file, if the python binary cannot be found, the engine will fail to run a workflow even if that workflow does not use the python deployer.

To reproduce

Add the python deployer to your config.yaml and ensure that the python binary cannot be found by the engine, and then try to run a workflow. An error such at this should occur:

2024-06-13T16:15:09+02:00	error	source=main	Failed to initialize engine with config file  (failed to create plugin step provider (invalid local deployer configuration, please check your Arcaflow configuration file (python binary check failed with error: pythonPath executable not found in a valid path with error: exec: "python": executable file not found in $PATH)))

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions