Abin Joseph

    Abin Joseph

    2 months ago
    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')
    Anna Geller

    Anna Geller

    2 months ago
    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
    Abin Joseph

    Abin Joseph

    2 months ago
    @Anna Geller I tried this same code. I tried it locally and in Kubernetes. Doesn't work in either
    Anna Geller

    Anna Geller

    2 months ago
    you may open an issue on GitHub and describe in more detail what's not working in your setup
    Abin Joseph

    Abin Joseph

    2 months ago
    @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.
    Kevin Kho

    Kevin Kho

    2 months ago
    See this for the workaround
    Abin Joseph

    Abin Joseph

    2 months ago
    @Kevin Kho That worked! Thank you! Is this being added in the docs?
    Kevin Kho

    Kevin Kho

    2 months ago
    I don’t think so, but I think we’d take a PR for it if you’re interested to add it