Closed piotratlz closed 1 year ago
Hi @piotratlz, thank you for opening this issue. This is a known issue when installing Notebook with Homebrew, previously reported in https://github.com/jupyter/notebook/issues/6974, which has some suggestions for mitigating the issue locally. If you could add your comments to the existing issue that would be appreciated. I will close this issue in favor of #6974.
I'm facing the same issue.
I'm using a virtual environment of Python 3.12 using Pyenv.
I have installed jupyter using pip
and not Homebrew
. Here are the logs
[W 2024-08-20 11:37:32.322 ServerApp] 404 GET /lab/api/settings?1724134052044 (127.0.0.1): Schema not found: /home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/share/jupyter/lab/schemas/@datalayer/jupyter-admin/plugin.json
[W 2024-08-20 11:37:32.322 LabApp] wrote error: 'Schema not found: /home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/share/jupyter/lab/schemas/@datalayer/jupyter-admin/plugin.json'
Traceback (most recent call last):
File "/home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/lib/python3.12/site-packages/tornado/web.py", line 1788, in _execute
result = method(*self.path_args, **self.path_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/lib/python3.12/site-packages/tornado/web.py", line 3301, in wrapper
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/lib/python3.12/site-packages/jupyterlab_server/settings_handler.py", line 58, in get
result, warnings = get_settings(
^^^^^^^^^^^^^
File "/home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/lib/python3.12/site-packages/jupyterlab_server/settings_utils.py", line 392, in get_settings
settings_list, warnings = _list_settings(
^^^^^^^^^^^^^^^
File "/home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/lib/python3.12/site-packages/jupyterlab_server/settings_utils.py", line 217, in _list_settings
schema, version = _get_schema(
^^^^^^^^^^^^
File "/home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/lib/python3.12/site-packages/jupyterlab_server/settings_utils.py", line 61, in _get_schema
raise web.HTTPError(404, notfound_error % path)
tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /home/saptarshi-dey/.pyenv/versions/3.12.2/envs/jupyter_notebook/share/jupyter/lab/schemas/@datalayer/jupyter-admin/plugin.json)
[W 2024-08-20 11:37:32.325 LabApp] 404 GET /lab/api/settings?1724134052044 (2413adbe53614e4abd43aa81d4496cf9@127.0.0.1) 147.51ms referer=http://localhost:8888/tree
Initially I was using Python 3.8 and got the same error message so I thought the error would be resolved if I used the latest version of Python. Hopefully this issue will be fixed in the later versions. For now I'm just downgrading to notebook version 6.5.7
Please answer the following questions for yourself before submitting an issue
Description
Jupyter notebook suddenly returns schema not found error 404.
Reproduce
jupyter notebook
Expected behavior
Jupyter runs without any issues.
Context
Troubleshoot Output
Command Line Output
Browser Output