Closed bolshakov closed 4 months ago
Try to view the list of installed Jupyter kernels.
jupyter kernelspec list
Check if the ruby kernel is listed.
@kojix2 the kernel is listed:
$ jupyter kernelspec list
Available kernels:
python3 /opt/homebrew/Cellar/jupyterlab/4.2.1/libexec/lib/python3.12/site-packages/ipykernel/resources
ruby /Users/bolshakov/Library/Jupyter/kernels/ruby
I can select the ruby kernel in the Jupyter Lab UI.
Hi, @bolshakov, @kojix2.
Probably the same or related issue on similar setup except it is Linux. IRuby 0.7.4 Ruby 3.3.1 Rocky Linux 9.
Kernel is listed, I'm able to choose ruby kernel in the UI and it produces three connection tries.
[I 2024-06-24 10:23:04.875 ServerApp] Adapting from protocol version 5.0 (kernel 91d8f8b8-333e-489d-ae4b-0eb9af5808c3) to 5.3 (client).
[I 2024-06-24 10:23:04.875 ServerApp] Adapting from protocol version 5.0 (kernel 91d8f8b8-333e-489d-ae4b-0eb9af5808c3) to 5.3 (client).
[I 2024-06-24 10:23:04.875 ServerApp] Adapting from protocol version 5.0 (kernel 91d8f8b8-333e-489d-ae4b-0eb9af5808c3) to 5.3 (client).
[I 2024-06-24 10:23:04.876 ServerApp] Connecting to kernel 91d8f8b8-333e-489d-ae4b-0eb9af5808c3.
[I 2024-06-24 10:23:04.878 ServerApp] Connecting to kernel 91d8f8b8-333e-489d-ae4b-0eb9af5808c3.
[I 2024-06-24 10:23:04.880 ServerApp] Connecting to kernel 91d8f8b8-333e-489d-ae4b-0eb9af5808c3.
But the kernel doesn't respond to any actions.
Hi @orlando-labs
I cannot reproduce the problem. After removing the existing IRuby kernel and installing a new IRuby kernel, do you still get the same error?
jupyter kernelspec remove ruby3
gem install specific_install
gem specific_install https://github.com/SciRuby/iruby
iruby register --force
@kojix2 installing from GitHub did help. Thank a bunch 🙇
@kojix2, I can confirm too: the version directly from github works as expected. Thanks I installed it without specific_install. Just set in Gemfile: gem "iruby", github: 'SciRuby/iruby'
Versions:
I install Jupyter from howebrew if it matters (but tried pip as well).
When I start Jupyher Lab, the ruby kernel does not respond. The following errors are in the logs:
This setup worked in the past, but stopped working all of the sudden. I appreciate you can guide me to the right direction.