Error while restarting kernel in VS code

Hi I have been facing problem to run vs code after the reboot. It says:

Failed to start the Kernel. Failed to start the Kernel ‘clusterlens (Python 3.9.12)’. View Jupyter log for further details. EACCES: permission denied, open ‘/tmp/kernel-v2-172701nNqu2V3V1e5.json’

I think It might be because the tmp folder has been moved?

Please help!

Thanks,
Sayan

Here is the log

error 12:38:55.378: Error in execution (get message for cell) [r [Error]: 
	at new r (/home/users/s/sahasay2/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1303220346/out/extension.node.js:17:33623)
	at Function.from (/home/users/s/sahasay2/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1303220346/out/extension.node.js:17:33701)
	at t.Kernel.createJupyterSession (/home/users/s/sahasay2/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1303220346/out/extension.node.js:2:2101776)
	at async t.Kernel.start (/home/users/s/sahasay2/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1303220346/out/extension.node.js:2:2095530)
	at async Function.wrapKernelMethodImpl (/home/users/s/sahasay2/.vscode-server/extensions/ms-toolsai.jupyter-2022.9.1303220346/out/extension.node.js:2:2349214)

Error: EACCES: permission denied, open '/tmp/kernel-v2-172703hmpielCy50N.json'] {
  category: 'unknown',
  originalException: [Error: EACCES: permission denied, open '/tmp/kernel-v2-172703hmpielCy50N.json'] {
    errno: -13,
    code: 'EACCES',
    syscall: 'open',
    path: '/tmp/kernel-v2-172703hmpielCy50N.json'
  }
}

Hi, this should be fixed, please try again.

Best

Yann

1 Like

Yup! Thanks for prompt response!