Dave Aitel
08/25/2024, 5:28 PM(base) dave@dave-VirtualBox:~/CODE/RUSTMONSTER$ poetry run python flow.py
The currently activated Python version 3.9.19 is not supported by the project (>=3.10,<3.13).
Trying to find and use a compatible version.
Using python3.10 (3.10.12)
Traceback (most recent call last):
File "/home/dave/CODE/RUSTMONSTER/flow.py", line 68, in <module>
flag = ctf_flow()
File "/home/dave/.cache/pypoetry/virtualenvs/rustmonster-GKhQY2Y4-py3.10/lib/python3.10/site-packages/prefect/flows.py", line 1334, in __call__
return run_flow(
File "/home/dave/.cache/pypoetry/virtualenvs/rustmonster-GKhQY2Y4-py3.10/lib/python3.10/site-packages/prefect/flow_engine.py", line 804, in run_flow
return run_flow_sync(**kwargs)
File "/home/dave/.cache/pypoetry/virtualenvs/rustmonster-GKhQY2Y4-py3.10/lib/python3.10/site-packages/prefect/flow_engine.py", line 679, in run_flow_sync
with engine.start():
File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
return next(self.gen)
File "/home/dave/.cache/pypoetry/virtualenvs/rustmonster-GKhQY2Y4-py3.10/lib/python3.10/site-packages/prefect/flow_engine.py", line 618, in start
with self.initialize_run():
File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
return next(self.gen)
File "/home/dave/.cache/pypoetry/virtualenvs/rustmonster-GKhQY2Y4-py3.10/lib/python3.10/site-packages/prefect/flow_engine.py", line 537, in initialize_run
with SyncClientContext.get_or_create() as client_ctx:
File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
return next(self.gen)
File "/home/dave/.cache/pypoetry/virtualenvs/rustmonster-GKhQY2Y4-py3.10/lib/python3.10/site-packages/prefect/context.py", line 236, in get_or_create
with SyncClientContext() as ctx:
File "/home/dave/.cache/pypoetry/virtualenvs/rustmonster-GKhQY2Y4-py3.10/lib/python3.10/site-packages/prefect/context.py", line 210, in __init__
client=get_client(sync_client=True, httpx_settings=httpx_settings),
File "/home/dave/.cache/pypoetry/virtualenvs/rustmonster-GKhQY2Y4-py3.10/lib/python3.10/site-packages/prefect/client/orchestration.py", line 218, in get_client
server.start()
File "/home/dave/.cache/pypoetry/virtualenvs/rustmonster-GKhQY2Y4-py3.10/lib/python3.10/site-packages/prefect/server/api/server.py", line 812, in start
raise RuntimeError(error_message)
RuntimeError: Timed out while attempting to connect to ephemeral Prefect API server.