https://prefect.io logo
#prefect-server
Title
# prefect-server
a

Abin Joseph

07/08/2022, 7:34 AM
Hi all, Using prefect version: 1.2.3 Whenever I set the
performance_report_path
argument in
DaskExecutor
it fails with the following error:
Unexpected error: ValueError('No global client found and no address provided')
a

Anna Geller

07/08/2022, 11:46 AM
Do you run it locally? this docs page provides some examples, have you tried those? https://docs.prefect.io/orchestration/flow_config/executors.html#performance-reports
a

Abin Joseph

07/08/2022, 1:18 PM
@Anna Geller I tried this same code. I tried it locally and in Kubernetes. Doesn't work in either
a

Anna Geller

07/08/2022, 2:19 PM
you may open an issue on GitHub and describe in more detail what's not working in your setup
a

Abin Joseph

07/08/2022, 2:25 PM
@Anna Geller Will open a GitHub issue. But my setup is simple. Local machine installed with prefect 1.2.3. You can replicate the issue by just running the code in getting started guide. Just adding DaskExecutor with performance_report_path triggers the error.
k

Kevin Kho

07/08/2022, 2:30 PM
See this for the workaround
🙌 1
a

Abin Joseph

07/08/2022, 2:59 PM
@Kevin Kho That worked! Thank you! Is this being added in the docs?
k

Kevin Kho

07/08/2022, 3:01 PM
I don’t think so, but I think we’d take a PR for it if you’re interested to add it
26 Views