Closed DPeterK closed 3 years ago
Thanks for letting us know about this @DPeterK! It looks like there's a poor interaction between the JupyterLab event loop and the event loop coiled
is using. We'll look into it!
It looks like the inspect and maybe other CLI methods are creating their own event loop. In this case one thing we could do is take the functions in cloud/cli/utils.py
and put them on the Cloud
object. Maybe most logic/interactions should go on that object rather than in separate functions. CLI functions should maybe also be pointers to code in core.py rather than the other way around.
Thanks @mrocklin. I was just revisiting this issue as it came up elsewhere recently. I'll give moving some functions in cloud/cli/utils.py
toCloud
methods a shot.
Thanks for reporting @DPeterK! This will be fixed in the next coiled
release
Great stuff! Thanks @jrbourbeau and @mrocklin
If you try to inspect a coiled software environment in JupyterLab you hit an error:
I get a near-identical error if I run
coiled.install("tiledb")
.I don't get either error if I just use a plain Python prompt. I'm using coiled
v0.0.27
here.Note this isn't preventing me from being able to use coiled at all. I just happened to come across it, so thought I'd raise 🙂