equinor / komodoenv

Komodoenv is the virtualenv of the Komodo world
GNU General Public License v3.0
1 stars 3 forks source link

jupyter notebook started inside a komodoenv breaks #69

Closed eivindjahren closed 1 month ago

eivindjahren commented 2 months ago

This worked for 2024.02 but is now broken in 2024.04 and 2024.05.

Steps to reproduce:

Then you get the following error message:

./kenv_202405/root/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json'
    Traceback (most recent call last):
      File "/prog/res/komodo/2024.05.00-py38-rhel7/root/lib64/python3.8/site-packages/tornado/web.py", line 1788, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/prog/res/komodo/2024.05.00-py38-rhel7/root/lib64/python3.8/site-packages/tornado/web.py", line 3301, in wrapper
        return method(self, *args, **kwargs)
      File "/prog/res/komodo/2024.05.00-py38-rhel7/root/lib64/python3.8/site-packages/jupyterlab_server/settings_handler.py", line 57, in get
        result, warnings = get_settings(
      File "/prog/res/komodo/2024.05.00-py38-rhel7/root/lib64/python3.8/site-packages/jupyterlab_server/settings_utils.py", line 379, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
      File "/prog/res/komodo/2024.05.00-py38-rhel7/root/lib64/python3.8/site-packages/jupyterlab_server/settings_utils.py", line 55, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: ./kenv_20240503/root/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json)
larsevj commented 2 months ago

Might be relevant: https://github.com/jupyter/notebook/issues/6974