jupyter / jupyter/notebook

Jupyter Runtime dir disappears

Open
#3,718 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

Hi,

I noticed that the Jupyter Runtime dir (`/run/user/$UID/jupyter`) disappears sometimes.

So I have to recreate it to prevent a Kernel error (`Failed to start the kernel`) :

```python
FileNotFoundError: [Errno 2] No such file or directory: '/run/user/1000/jupyter/kernel-01da634f-a030-4bde-9e0a-d56944ebe60c.json'
```

Can you help ?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the missing `/run/user/$UID/jupyter` directory and the `Failed to start the kernel` error, then trace the notebook runtime and kernel-startup entry points that create or access the directory. Done means the runtime directory and kernel connection remain available without manual recreation; no source files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.