li li
07/06/2025, 5:22 PMKiran
07/06/2025, 8:11 PMAkash N
07/07/2025, 5:09 AMAkash N
07/07/2025, 5:10 AMCormac
07/07/2025, 8:39 AMgee
07/07/2025, 3:14 PMAveek Duttagupta
07/07/2025, 4:45 PMContainer 'prefect' exited with non-zero exit code 126.
This is the only error that I'm seeing from the flow run within my ECS task definition. Is there any other way to see more logs or more information on what specific command may be causing this? I don't see any other information within the logs on the UI or on cloudwatch other than the task being deprovisioned followed by this errorEric
07/07/2025, 4:55 PMproject-data
: it is the project that stores the python scripts to extract, load data. It has a docker image.
• project-orchestrator
: it is the project containing the tasks and flows. It is running commands on docker images (like the docker image of project-data
Does anyone have this kind of setup? Can this kind of setup work?Patrick Mitchell
07/07/2025, 5:58 PMJonah Duffin
07/07/2025, 8:40 PMentrypoint
to a flow function is incorrect, perhaps after a file is moved
2. The parameters
fail validation, because a string does not match an allowed list of enums, for example
Your switch seems to catch case #1 and an exception is raised, but case #2 passes with your dry run flag and fails for an actual deployment, because it looks like this exception happens server-side rather than client-side:
Traceback (most recent call last):
File "/Users/jduffin/dev/git/eval/fastpass/.venv/lib/python3.10/site-packages/prefect/deployments/runner.py", line 388, in _create
deployment_id = await client.create_deployment(**create_payload)
File "/Users/jduffin/dev/git/eval/fastpass/.venv/lib/python3.10/site-packages/prefect/client/orchestration/_deployments/client.py", line 823, in create_deployment
response = await self.request("POST", "/deployments/", json=payload)
File "/Users/jduffin/dev/git/eval/fastpass/.venv/lib/python3.10/site-packages/prefect/client/orchestration/base.py", line 53, in request
return await self._client.send(request)
File "/Users/jduffin/dev/git/eval/fastpass/.venv/lib/python3.10/site-packages/prefect/client/base.py", line 361, in send
response.raise_for_status()
File "/Users/jduffin/dev/git/eval/fastpass/.venv/lib/python3.10/site-packages/prefect/client/base.py", line 162, in raise_for_status
raise PrefectHTTPStatusError.from_httpx_error(exc) from exc.__cause__
prefect.exceptions.PrefectHTTPStatusError: Client error '422 Unprocessable Entity' for url '<http://localhost:4200/api/deployments/>'
Response: {'exception_message': 'Invalid request received.', 'exception_detail': [{'type': 'value_error', 'loc': ['body'], 'msg': "Value error, Validation failed for field 'harvest_dataset_identifier'. Failure reason: 'example_enum_value' is not valid under any of the given schemas", ....
Ben T
07/07/2025, 9:01 PMJosé Agretti
07/07/2025, 10:31 PMMartin
07/08/2025, 7:28 AM~/.prefect/storage
by default. Is it possible to do something like:
@task(
persist_result=True,
cache_policy=INPUTS,
result_storage="~/storage/{flow.name}/{uuid}/",
)
def fetch_tolkeregning_details(uuid: str) -> dict:
...
Kiran
07/08/2025, 9:07 AMOmar Khudeira
07/08/2025, 8:18 PMSamuel Hinton
07/09/2025, 3:19 AMSrinivas Kandukuri
07/09/2025, 7:27 AMFrantišek
07/09/2025, 7:57 AMMichael Michael
07/09/2025, 12:42 PMArthur Ren
07/09/2025, 3:51 PMCompoundTrigger
is the closest tool for this kind of patten but I couldn’t find any examples around, does anyone ever use such pattern before?
Thank you!Kiran
07/10/2025, 5:10 AMKiran
07/10/2025, 5:11 AMSrinivas Kandukuri
07/10/2025, 10:12 AMAnkit
07/10/2025, 11:02 AMRussell Brooks
07/10/2025, 12:16 PMSrinivas Kandukuri
07/10/2025, 1:17 PMKevin Hu
07/10/2025, 2:52 PMuv run python -m prefect.engine
i know it's trying to run the flow because if the script is not there it throws an error. but it never actually executes my flow.Joe Blauer
07/10/2025, 8:25 PMDavid Martin Calalang
07/10/2025, 8:42 PMsquare
is the name of the task that I'm passing to my flow...
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/distributed/protocol/pickle.py", line 60, in dumps
result = pickle.dumps(x, **dump_kwargs)
_pickle.PicklingError: Can't pickle <function square at 0x7b68d25cd1c0>: it's not the same object as __main__.square
For more context, I'm using the dask task_runner with a pre-existing Fargate cluster I have on AWS ECS. From my understanding prefect serializes tasks prior to sending them to the dask scheduler, and that might be where my issue is. Not quite sure where to look/what to fix in my code regarding this though.
Thanks!Samuel Hinton
07/11/2025, 4:37 AM