-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple jupyter kernel doesn't work correctly #14146
Comments
Thanks for reporting this. I think this is a case where we're waiting for a shell reply and so no other shell requests go out. I'm going to tackle this next as I see it affects a good number of kernels in Rust and R. Python and Deno seem to send back shell replies in response to requests always. |
This bug is the same as the one I've experienced with the Ark (R) kernel, where we're stuck waiting for a |
Closes #14146, for the time being before a networking refactoring to split reads and writes on the ROUTER/DEALER ZeroMQ sockets.
Ok I've opted to just not send |
Try this out again with your kernel on Nightly when you get a chance. |
Thanks @rgbkrk it works now, here is the kernel https://github.com/sigmaSd/IRust/blob/master/crates/irust_repl/irust_kernel/irust_kernel/kernel.py |
Check for existing issues
Describe the bug / provide steps to reproduce it
I have a simple jupyter kernel, that works in vscode/jupyter
In zed, repl run works the first time, then it only shows Queued
here is the do_execute override
I also tried the EchoKernel example from https://jupyter-client.readthedocs.io/en/latest/wrapperkernels.html and it errors as well, although with a different error, it doesn't connect at all
@rgbkrk would be great if you take a look
Environment
Zed: v0.145.0 (Zed Nightly 07dc405)
OS: Linux Wayland fedora 40
Memory: 7.6 GiB
Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: