dask / dask/distributed

unhelpful error from `client.run` with dead scheduler

Open
#5,793 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.7k
Forks
778
Avg merge
2h 50m
Merged PRs (30d)
3

Description

I have a client that was connected to a cluster (now dead).

```
In [15]: client.run(hi)
...
-> 2426 responses = await self.scheduler.broadcast(
2427 msg=dict(
2428 op="run",

AttributeError: 'NoneType' object has no attribute 'broadcast'
```

Seems like it'd be nicer to get a clear message like `Sorry, the scheduler doesn't want to talk to us anymore.`

I can try to get better repro steps if that would help you.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.