Skip to content

JSONDecodError for SSHCluster() #5929

@morikplay

Description

@morikplay

Details can be found here: #5888

What happened: JSONDecodeError at the time of scheduler launch
Failed Command generated by code: 'set xyz && && C:\Users\maulik\miniconda3\envs\mls\python.exe -m distributed.cli.dask_spec --spec '{"cls": "distributed.Scheduler", "opts": {"port": 8786}}'`

same happens for Worker(s)

What you expected to happen: Scheduler + Worker(s) to launch correctly

Minimal Complete Verifiable Example:

# Put your MCVE code here

Anything else we need to know?:

Environment:

  • windows server 2019
  • python 3.10.1
  • dask 2022.2.1
  • asyncssh 2.9.0
  • installed via miniconda3 (env file in link)
Details quick fix in two files (including `ssh.py`) is attached
[mod_base_dask_code.zip](https://github.com/dask/distributed/files/8227821/mod_base_dask_code.zip)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions