arcalot / arcaflow-engine

Arcaflow is a highly-portable workflow engine enabling modular and validated pipelines through containerized plugins.
https://arcalot.io/arcaflow/
Apache License 2.0
7 stars 9 forks source link

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

Open dustinblack opened 5 months ago

dustinblack commented 5 months ago

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.