Stream: jupyterlab-hub

Topic: Error starting kernel


view this post on Zulip Matt Long (May 17 2022 at 15:19):

I am attempting to start work on jupyterhub.hpc.ucar.edu (Casper PBS Batch) and encountering the following error when selecting a kernel for my notebooks:

Error Starting Kernel
[Errno 2] No such file or directory: '/glade/u/home/mclong/.jupyter_rt_asm/kernel-99d3c958-377d-4d59-877e-30c2e4a06df6.json'

I don't get an error using the Hub for Cheyenne Login.

view this post on Zulip Matt Long (May 17 2022 at 15:20):

It doesn't seem to matter which kernel—they all trigger a similar error (different missing file)

view this post on Zulip Matt Long (May 17 2022 at 15:29):

Restarting my server has solved the problem. I noticed that the directory ~/.jupyter_rt_asm was missing ("asm" was my named server), but ~/.jupyter_rt_ch was there ("ch" was my Cheyenne Login server).

Something must have gone wrong in the start up sequence...

view this post on Zulip Jared Baker (May 17 2022 at 16:09):

I'll have a closer look. Those rt directories are only supposed to be purged on sigterm of the PBS job. I'll have to see if it proliferates if you get sigterm on a kernel triggering the trap.

view this post on Zulip Dan Amrhein (May 18 2022 at 18:59):

I had the same issue; restarting worked for me as well.

view this post on Zulip Holly Olivarez (Jun 15 2022 at 18:58):

Thanks for posting your issue and solution here, Matt, as I had the same problem today and your post helped me resolve it faster that I might have!


Last updated: May 16 2025 at 17:14 UTC