Tomas Moreno
10/30/2024, 7:11 PMFlow could not be retrieved from deployment.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/prefect/engine.py", line 422, in retrieve_flow_then_begin_flow_run
else await load_flow_from_flow_run(flow_run, client=client)
File "/usr/local/lib/python3.10/site-packages/prefect/client/utilities.py", line 100, in with_injected_client
return await fn(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/prefect/deployments/deployments.py", line 285, in load_flow_from_flow_run
basepath = deployment.path or Path(deployment.manifest_path).parent
File "/usr/local/lib/python3.10/pathlib.py", line 960, in __new__
self = cls._from_parts(args)
File "/usr/local/lib/python3.10/pathlib.py", line 594, in _from_parts
drv, root, parts = self._parse_args(args)
File "/usr/local/lib/python3.10/pathlib.py", line 578, in _parse_args
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
I'm trying to backtrack and figure out where I went wrong but does anyone know how to get more info from this statement? is it saying that based on the entrypoint
I specified for my flow in the prefect.yaml, it's now unable to find that path in the docker container?Bianca Hoch
10/30/2024, 9:38 PMprefect.yaml
look like now? 👀Bianca Hoch
10/30/2024, 9:40 PMprefect.yaml
itself if you'd prefer.Tomas Moreno
10/30/2024, 9:49 PMBianca Hoch
10/30/2024, 9:55 PMprefect.yaml
pull:
- prefect.deployments.steps.set_working_directory:
directory: /opt/prefect/<WORKING-DIRECTORY>
Tomas Moreno
10/30/2024, 9:56 PMBianca Hoch
10/30/2024, 9:56 PMBianca Hoch
10/30/2024, 9:56 PMTomas Moreno
10/30/2024, 9:57 PM