Application launch error Jupyter Notebook 7.0.8

Hi,
I’m running Navigator 2.6.1 on Windows 11 and when launching the Jupyter Notebook 7.0.8 following error appears

[I 2024-07-06 18:58:11.075 ServerApp] Extension package aext_assistant took 0.2712s to import
[I 2024-07-06 18:58:11.098 ServerApp] ****************** ENVIRONMENT Environment.PRODUCTION ******************
[I 2024-07-06 18:58:11.101 ServerApp] ****************** ENVIRONMENT Environment.PRODUCTION ******************
[W 2024-07-06 18:58:11.132 ServerApp] A _jupyter_server_extension_points function was not found in jupyter_lsp. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[W 2024-07-06 18:58:11.250 ServerApp] A _jupyter_server_extension_points function was not found in notebook_shim. Instead, a _jupyter_server_extension_paths function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[I 2024-07-06 18:58:12.208 ServerApp] Extension package panel.io.jupyter_server_extension took 0.9569s to import
[I 2024-07-06 18:58:12.208 ServerApp] aext_assistant | extension was successfully linked.
[I 2024-07-06 18:58:12.209 ServerApp] aext_core | extension was successfully linked.
[I 2024-07-06 18:58:12.209 ServerApp] aext_panels | extension was successfully linked.
[I 2024-07-06 18:58:12.209 ServerApp] aext_share_notebook | extension was successfully linked.
[I 2024-07-06 18:58:12.209 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2024-07-06 18:58:12.213 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2024-07-06 18:58:12.218 ServerApp] jupyterlab | extension was successfully linked.
[I 2024-07-06 18:58:12.224 ServerApp] notebook | extension was successfully linked.
[I 2024-07-06 18:58:12.591 ServerApp] notebook_shim | extension was successfully linked.
[I 2024-07-06 18:58:12.592 ServerApp] panel.io.jupyter_server_extension | extension was successfully linked.
[I 2024-07-06 18:58:12.632 ServerApp] notebook_shim | extension was successfully loaded.
[I 2024-07-06 18:58:12.633 ServerApp] Registered aext_assistant server extension
[I 2024-07-06 18:58:12.633 ServerApp] aext_assistant | extension was successfully loaded.
[I 2024-07-06 18:58:12.633 ServerApp] Registered aext_core server extension
[I 2024-07-06 18:58:12.633 ServerApp] aext_core | extension was successfully loaded.
[I 2024-07-06 18:58:12.634 ServerApp] Registered aext_panels server extension
[I 2024-07-06 18:58:12.634 ServerApp] aext_panels | extension was successfully loaded.
[I 2024-07-06 18:58:12.635 ServerApp] Registered aext_share_notebook_server server extension
[I 2024-07-06 18:58:12.635 ServerApp] aext_share_notebook | extension was successfully loaded.
[I 2024-07-06 18:58:12.637 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2024-07-06 18:58:12.637 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2024-07-06 18:58:12.644 LabApp] JupyterLab extension loaded from C:\Users\Lord_\anaconda3\Lib\site-packages\jupyterlab
[I 2024-07-06 18:58:12.644 LabApp] JupyterLab application directory is C:\Users\Lord_\anaconda3\share\jupyter\lab
[I 2024-07-06 18:58:12.645 LabApp] Extension Manager is ‘pypi’.
[I 2024-07-06 18:58:12.647 ServerApp] jupyterlab | extension was successfully loaded.
[I 2024-07-06 18:58:12.654 ServerApp] notebook | extension was successfully loaded.
[I 2024-07-06 18:58:12.655 ServerApp] panel.io.jupyter_server_extension | extension was successfully loaded.
[I 2024-07-06 18:58:12.656 ServerApp] Serving notebooks from local directory: C:\Users\Lord_
[I 2024-07-06 18:58:12.656 ServerApp] Jupyter Server 2.14.1 is running at:
[I 2024-07-06 18:58:12.656 ServerApp] http://localhost:8888/tree?token=953484b3435dd2df1ce5a574677885586af379a273a8f1e0
[I 2024-07-06 18:58:12.656 ServerApp] http://127.0.0.1:8888/tree?token=953484b3435dd2df1ce5a574677885586af379a273a8f1e0
[I 2024-07-06 18:58:12.656 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[E 2024-07-06 18:58:12.656 ServerApp] Failed to write server-info to C:\Users\Lord_\AppData\Roaming\jupyter\runtime\jpserver-17556.json: PermissionError(13, ‘Permission denied’)
Traceback (most recent call last):
File “C:\Users\Lord_\anaconda3\Scripts\jupyter-notebook-script.py”, line 10, in
sys.exit(main())
^^^^^^
File “C:\Users\Lord_\anaconda3\Lib\site-packages\jupyter_server\extension\application.py”, line 623, in launch_instance
serverapp.start()
File “C:\Users\Lord_\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 3119, in start
self.start_app()
File “C:\Users\Lord_\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 3023, in start_app
self.write_browser_open_files()
File “C:\Users\Lord_\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 2890, in write_browser_open_files
self.write_browser_open_file()
File “C:\Users\Lord_\anaconda3\Lib\site-packages\jupyter_server\serverapp.py”, line 2913, in write_browser_open_file
with open(self.browser_open_file, “w”, encoding=“utf-8”) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: ‘C:\Users\Lord_\AppData\Roaming\jupyter\runtime\jpserver-17556-open.html’

I’ve already done a cleanup and reinstalled Navigator again but the problem stays active.
All tips and tricks are welcome :slight_smile:

1 Like

Hello,

This issue can be resolved by giving full permission to the runtime folder.
Step 1: Right-click the File or Folder
Step 2: Select “Properties”
Step 3: Go to the “Security” Tab
Step 4: Click “Edit”
Step 6: Adjust the Permissions

Try to relaunch the Jupyter Notebook 7.0.8

2 Likes

Hi,

Problem solved :partying_face:

thx for the reply on my question