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.
It doesn't seem to matter which kernel—they all trigger a similar error (different missing file)
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...
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.
I had the same issue; restarting worked for me as well.
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