RuntimeError: Cannot add child handler (on Google Cloud Shell/GKE)
See original GitHub issueWhat happened:
Running the basic quickstart example with dask-kubernetes==2021.10.0
, I get the following error (full trace below the fold).
RuntimeError: Cannot add child handler, the child watcher does not have a loop attached
What you expected to happen: Start a basic cluster.
Minimal Complete Verifiable Example:
pip install dask-kubernetes==2021.10.0
from dask_kubernetes import KubeCluster
# yaml copied from quickstart
cluster = KubeCluster("worker-spec.yaml")
cluster.scale(1)
Anything else we need to know?:
It works on version 2021.3.1
.
Environment:
- Dask version: 2021.10.0
- Python version: 3.7.3
- Operating System: Debian buster (running on Google Cloud Shell)
- Install method (conda, pip, source): pip
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Error messages - Resource Manager - Google Cloud
This document identifies some of the error codes and messages that Google APIs return. Specifically, the errors listed here are in the global,...
Read more >Google Cloud Platform
Google Cloud Platform lets you build, deploy, and scale applications, websites, and services on the same infrastructure as Google.
Read more >Google Cloud Pub/Sub error "Closed subscriber cannot be ...
Well, Google's own documentation states that the code I was using would automatically close the subscription because of the with block.
Read more >Incidents - Google Cloud Service Health
BigQuery Data Transfer Service. No incidents reported. See more ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just ran the same code on
python3.9.9
(on Google Cloud Shell) and it seems to work.Yes this is a known issue in Python 3.7. We are dropping Python 3.7 support soon (dask/community#213) so please upgrade to a more recent version.