Skip to content

jupyter: Broken, Schema not found #255923

@lucasew

Description

@lucasew

Describe the bug

Jupyter is broken

Steps To Reproduce

Steps to reproduce the behavior:

  1. Bring jupyter to your environment (ex: with nix-shell)
  2. jupyter notebook
  3. Realise it's broken

Expected behavior

It nicely starts, launches my browser and shows the folder list successfully

Screenshots

[I 2023-09-18 13:18:44.699 ServerApp] Package notebook took 0.0000s to import
[I 2023-09-18 13:18:44.706 ServerApp] notebook | extension was successfully linked.
[I 2023-09-18 13:18:44.751 ServerApp] notebook | extension was successfully loaded.
[I 2023-09-18 13:18:44.751 ServerApp] The port 8888 is already in use, trying another port.
[I 2023-09-18 13:18:44.752 ServerApp] The port 8889 is already in use, trying another port.
[I 2023-09-18 13:18:44.753 ServerApp] Serving notebooks from local directory: /home/lucasew/WORKSPACE/da-folder
[I 2023-09-18 13:18:44.754 ServerApp] Jupyter Server 2.7.0 is running at:
[I 2023-09-18 13:18:44.754 ServerApp] http://localhost:8890/tree?token=347792e0ff6e64e5369f25fba598166792071f4af7454b75
[I 2023-09-18 13:18:44.754 ServerApp]     http://127.0.0.1:8890/tree?token=347792e0ff6e64e5369f25fba598166792071f4af7454b75
[I 2023-09-18 13:18:44.754 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2023-09-18 13:18:44.926 ServerApp] 
    
    To access the server, open this file in a browser:
        file:///home/lucasew/.local/share/jupyter/runtime/jpserver-1444539-open.html
    Or copy and paste one of these URLs:
        http://localhost:8890/tree?token=347792e0ff6e64e5369f25fba598166792071f4af7454b75
        http://127.0.0.1:8890/tree?token=347792e0ff6e64e5369f25fba598166792071f4af7454b75
[W 2023-09-18 13:18:49.167 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-09-18 13:18:49.169 JupyterNotebookApp] Settings directory does not exist at /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas
[W 2023-09-18 13:18:49.303 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-09-18 13:18:49.303 ServerApp] 404 GET /lab/api/settings/@jupyter-notebook/application-extension:shell?1695053929296 (::1): Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json
[W 2023-09-18 13:18:49.303 JupyterNotebookApp] wrote error: 'Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json'
    Traceback (most recent call last):
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 1711, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 3208, in wrapper
        return method(self, *args, **kwargs)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json)
[W 2023-09-18 13:18:49.305 JupyterNotebookApp] 404 GET /lab/api/settings/@jupyter-notebook/application-extension:shell?1695053929296 (fd1165a633594a18ba70dd3d8ea2bb87@::1) 5.72ms referer=http://localhost:8890/tree
[W 2023-09-18 13:18:49.311 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-09-18 13:18:49.311 ServerApp] 404 GET /lab/api/settings/@jupyterlab/translation-extension:plugin?1695053929297 (::1): Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json
[W 2023-09-18 13:18:49.311 JupyterNotebookApp] wrote error: 'Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json'
    Traceback (most recent call last):
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 1711, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 3208, in wrapper
        return method(self, *args, **kwargs)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-09-18 13:18:49.311 JupyterNotebookApp] 404 GET /lab/api/settings/@jupyterlab/translation-extension:plugin?1695053929297 (fd1165a633594a18ba70dd3d8ea2bb87@::1) 5.50ms referer=http://localhost:8890/tree
[W 2023-09-18 13:18:49.312 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-09-18 13:18:49.312 ServerApp] 404 GET /lab/api/settings/@jupyterlab/apputils-extension:sanitizer?1695053929299 (::1): Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json
[W 2023-09-18 13:18:49.313 JupyterNotebookApp] wrote error: 'Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json'
    Traceback (most recent call last):
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 1711, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 3208, in wrapper
        return method(self, *args, **kwargs)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json)
[W 2023-09-18 13:18:49.314 JupyterNotebookApp] 404 GET /lab/api/settings/@jupyterlab/apputils-extension:sanitizer?1695053929299 (fd1165a633594a18ba70dd3d8ea2bb87@::1) 5.58ms referer=http://localhost:8890/tree
[W 2023-09-18 13:18:49.365 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-09-18 13:18:49.366 ServerApp] 404 GET /lab/api/settings/@jupyterlab/application-extension:top-bar?1695053929359 (::1): Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json
[W 2023-09-18 13:18:49.366 JupyterNotebookApp] wrote error: 'Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json'
    Traceback (most recent call last):
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 1711, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 3208, in wrapper
        return method(self, *args, **kwargs)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json)
[W 2023-09-18 13:18:49.368 JupyterNotebookApp] 404 GET /lab/api/settings/@jupyterlab/application-extension:top-bar?1695053929359 (fd1165a633594a18ba70dd3d8ea2bb87@::1) 5.89ms referer=http://localhost:8890/tree
[W 2023-09-18 13:18:49.374 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-09-18 13:18:49.374 ServerApp] 404 GET /lab/api/settings/@jupyterlab/apputils-extension:notification?1695053929360 (::1): Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json
[W 2023-09-18 13:18:49.374 JupyterNotebookApp] wrote error: 'Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json'
    Traceback (most recent call last):
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 1711, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 3208, in wrapper
        return method(self, *args, **kwargs)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json)
[W 2023-09-18 13:18:49.375 JupyterNotebookApp] 404 GET /lab/api/settings/@jupyterlab/apputils-extension:notification?1695053929360 (fd1165a633594a18ba70dd3d8ea2bb87@::1) 5.90ms referer=http://localhost:8890/tree
[W 2023-09-18 13:18:49.379 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-09-18 13:18:49.379 ServerApp] 404 GET /lab/api/settings/@jupyterlab/shortcuts-extension:shortcuts?1695053929361 (::1): Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json
[W 2023-09-18 13:18:49.379 JupyterNotebookApp] wrote error: 'Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json'
    Traceback (most recent call last):
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 1711, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 3208, in wrapper
        return method(self, *args, **kwargs)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json)
[W 2023-09-18 13:18:49.380 JupyterNotebookApp] 404 GET /lab/api/settings/@jupyterlab/shortcuts-extension:shortcuts?1695053929361 (fd1165a633594a18ba70dd3d8ea2bb87@::1) 4.58ms referer=http://localhost:8890/tree
[W 2023-09-18 13:18:49.384 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-09-18 13:18:49.385 ServerApp] 404 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1695053929373 (::1): Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json
[W 2023-09-18 13:18:49.385 JupyterNotebookApp] wrote error: 'Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json'
    Traceback (most recent call last):
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 1711, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 3208, in wrapper
        return method(self, *args, **kwargs)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json)
[W 2023-09-18 13:18:49.386 JupyterNotebookApp] 404 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1695053929373 (fd1165a633594a18ba70dd3d8ea2bb87@::1) 4.96ms referer=http://localhost:8890/tree
[W 2023-09-18 13:18:49.397 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-09-18 13:18:49.397 ServerApp] 404 GET /lab/api/settings/@jupyterlab/notebook-extension:panel?1695053929375 (::1): Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json
[W 2023-09-18 13:18:49.398 JupyterNotebookApp] wrote error: 'Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json'
    Traceback (most recent call last):
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 1711, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 3208, in wrapper
        return method(self, *args, **kwargs)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json)
[W 2023-09-18 13:18:49.400 JupyterNotebookApp] 404 GET /lab/api/settings/@jupyterlab/notebook-extension:panel?1695053929375 (fd1165a633594a18ba70dd3d8ea2bb87@::1) 12.87ms referer=http://localhost:8890/tree
[W 2023-09-18 13:18:49.401 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-09-18 13:18:49.401 ServerApp] 404 GET /lab/api/settings/@jupyterlab/extensionmanager-extension:plugin?1695053929364 (::1): Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json
[W 2023-09-18 13:18:49.401 JupyterNotebookApp] wrote error: 'Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json'
    Traceback (most recent call last):
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 1711, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 3208, in wrapper
        return method(self, *args, **kwargs)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json)
[W 2023-09-18 13:18:49.402 JupyterNotebookApp] 404 GET /lab/api/settings/@jupyterlab/extensionmanager-extension:plugin?1695053929364 (fd1165a633594a18ba70dd3d8ea2bb87@::1) 13.73ms referer=http://localhost:8890/tree
[W 2023-09-18 13:18:49.403 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-09-18 13:18:49.404 ServerApp] 404 GET /lab/api/settings/@jupyterlab/codemirror-extension:plugin?1695053929367 (::1): Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json
[W 2023-09-18 13:18:49.405 JupyterNotebookApp] wrote error: 'Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json'
    Traceback (most recent call last):
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 1711, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 3208, in wrapper
        return method(self, *args, **kwargs)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json)
[W 2023-09-18 13:18:49.405 JupyterNotebookApp] 404 GET /lab/api/settings/@jupyterlab/codemirror-extension:plugin?1695053929367 (fd1165a633594a18ba70dd3d8ea2bb87@::1) 13.04ms referer=http://localhost:8890/tree
[W 2023-09-18 13:18:49.411 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-09-18 13:18:49.411 ServerApp] 404 GET /lab/api/settings/@jupyterlab/notebook-extension:tracker?1695053929381 (::1): Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json
[W 2023-09-18 13:18:49.412 JupyterNotebookApp] wrote error: 'Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json'
    Traceback (most recent call last):
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 1711, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 3208, in wrapper
        return method(self, *args, **kwargs)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json)
[W 2023-09-18 13:18:49.417 JupyterNotebookApp] 404 GET /lab/api/settings/@jupyterlab/notebook-extension:tracker?1695053929381 (fd1165a633594a18ba70dd3d8ea2bb87@::1) 10.08ms referer=http://localhost:8890/tree
[W 2023-09-18 13:18:49.428 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-09-18 13:18:49.428 ServerApp] 404 GET /lab/api/settings/@jupyter-notebook/notebook-extension:scroll-output?1695053929386 (::1): Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json
[W 2023-09-18 13:18:49.428 JupyterNotebookApp] wrote error: 'Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json'
    Traceback (most recent call last):
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 1711, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 3208, in wrapper
        return method(self, *args, **kwargs)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json)
[W 2023-09-18 13:18:49.429 JupyterNotebookApp] 404 GET /lab/api/settings/@jupyter-notebook/notebook-extension:scroll-output?1695053929386 (fd1165a633594a18ba70dd3d8ea2bb87@::1) 10.85ms referer=http://localhost:8890/tree
[W 2023-09-18 13:18:49.429 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-09-18 13:18:49.430 ServerApp] 404 GET /lab/api/settings/@jupyterlab/console-extension:tracker?1695053929379 (::1): Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json
[W 2023-09-18 13:18:49.430 JupyterNotebookApp] wrote error: 'Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json'
    Traceback (most recent call last):
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 1711, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/nix/store/yd5nig04qx60pnbk1vl9fk1q2jrdz5gf-python3.10-tornado-6.2.0/lib/python3.10/site-packages/tornado/web.py", line 3208, in wrapper
        return method(self, *args, **kwargs)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
      File "/nix/store/b0z81drhiiq3z1cn2wgc55snx6mncnbj-python3.10-jupyterlab_server-2.24.0/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /nix/store/2c7sgx69p6mmp76cvmi5j6c72dj76jj8-python3-3.10.12/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json)
[W 2023-09-18 13:18:49.432 JupyterNotebookApp] 404 GET /lab/api/settings/@jupyterlab/console-extension:tracker?1695053929379 (fd1165a633594a18ba70dd3d8ea2bb87@::1) 6.30ms referer=http://localhost:8890/tree

image

Additional context

Also tried and reproduced with nix run the latest stable and unstable.

Also tried testing it after removing everythin from ~/.local/share/jupyter (I am able to regenerate the jupyter kernel that matters to me)

As a workaround I am using the jupyter from release-22.11 branch.

Notify maintainers

@natsukium

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken6.topic: jupyterInteractive computing tooling: kernels, notebook, jupyterlab

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions