Joish
12/01/2023, 11:36 AMTraceback (most recent call last):
File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.10/site-packages/prefect/engine.py", line 2467, in <module>
enter_flow_run_engine_from_subprocess(flow_run_id)
File "/usr/local/lib/python3.10/site-packages/prefect/engine.py", line 297, in enter_flow_run_engine_from_subprocess
state = from_sync.wait_for_call_in_loop_thread(
File "/usr/local/lib/python3.10/site-packages/prefect/_internal/concurrency/api.py", line 242, in wait_for_call_in_loop_thread
waiter.wait()
File "/usr/local/lib/python3.10/site-packages/prefect/_internal/concurrency/waiters.py", line 152, in wait
self._handle_waiting_callbacks()
File "/usr/local/lib/python3.10/site-packages/prefect/_internal/concurrency/waiters.py", line 126, in _handle_waiting_callbacks
callback.run()
File "/usr/local/lib/python3.10/site-packages/prefect/_internal/concurrency/calls.py", line 273, in run
return self.context.run(asyncio.run, self._run_async(coro))
File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
self._run_once()
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1871, in _run_once
event_list = self._selector.select(timeout)
File "/usr/local/lib/python3.10/selectors.py", line 469, in select
fd_event_list = self._selector.poll(timeout, max_ev)
File "/usr/local/lib/python3.10/site-packages/prefect/engine.py", line 1866, in cancel_flow_run
raise TerminationSignal(signal=signal.SIGTERM)
prefect.exceptions.TerminationSignal
rpc error: code = NotFound desc = an error occurred when try to find container "5742094a832ae44a72aef45eaccf8421c33577d21e0631ae96cdd58acbbe96bb": not found
Kevin Grismore
12/01/2023, 12:21 PMJoish
12/01/2023, 12:25 PMJoish
12/01/2023, 1:13 PMKevin Grismore
12/01/2023, 1:19 PMJoish
12/01/2023, 1:21 PMJoish
12/01/2023, 1:23 PMawait asyncio.wait(coroutines)
Kevin Grismore
12/01/2023, 2:25 PMwait
, I usually see people use gather
. I did some reading on the differences between them, and it seems like how they handle exceptions is a little different. Maybe try gather
and see what happens? I'm not familiar with the content of the error itself.Joish
12/01/2023, 3:02 PMKevin Grismore
12/01/2023, 4:06 PMJoish
12/01/2023, 5:33 PMBianca Hoch
12/01/2023, 6:29 PMBianca Hoch
12/01/2023, 6:29 PMBianca Hoch
12/01/2023, 6:30 PMJoish
12/05/2023, 1:32 PMBianca Hoch
12/05/2023, 4:21 PM