Package: python3-jupyterlab Version: 4.0.8+ds1-2 Severity: important X-Debbugs-Cc: chol...@gmail.com
Jupyter lab does not start up When executing jupyter lab or jupyter-lab I get a stack trace from Python: >>> START Traceback (most recent call last): File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 645, in get value = obj._trait_values[self.name] ~~~~~~~~~~~~~~~~~^^^^^^^^^^^ KeyError: 'core_config' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/jupyter-lab", line 33, in <module> sys.exit(load_entry_point('jupyterlab==0.0.0', 'console_scripts', 'jupyter- lab')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/bin/jupyter-lab", line 25, in importlib_load_entry_point return next(matches).load() ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1204, in _gcd_import File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/jupyterlab/labapp.py", line 99, in <module> app_version = get_app_version() ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/jupyterlab/commands.py", line 585, in get_app_version handler = _AppHandler(app_options) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/jupyterlab/commands.py", line 619, in __init__ self.core_data = deepcopy(options.core_config._data) ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 686, in __get__ return self.get(obj, cls) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 648, in get default = obj.trait_defaults(self.name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 1752, in trait_defaults return self._get_trait_default_generator(names[0])(self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/traitlets/traitlets.py", line 1132, in __call__ return self.func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/jupyterlab/commands.py", line 380, in _default_core_config return CoreConfig() ^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/jupyterlab/coreconfig.py", line 50, in __init__ self._data = _get_default_core_data() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/jupyterlab/coreconfig.py", line 18, in _get_default_core_data with open(pjoin(HERE, "staging", "package.json")) as fid: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist- packages/jupyterlab/staging/package.json' <<< END This looks a little like the distributed code isn't built for deployment but for building the final package (the `staging` part of the above error). Also, the package seems to dump code all over `/usr/lib/python3/dist-packages`, for example >>> START ... /usr/lib/python3/dist-packages/docs/source /usr/lib/python3/dist-packages/docs/source/conf.py /usr/lib/python3/dist-packages/examples /usr/lib/python3/dist-packages/examples/app /usr/lib/python3/dist-packages/examples/app/main.py ... /usr/lib/python3/dist-packages/packages /usr/lib/python3/dist-packages/packages/extensionmanager-extension /usr/lib/python3/dist-packages/packages/extensionmanager-extension/examples /usr/lib/python3/dist-packages/packages/extensionmanager- extension/examples/listings /usr/lib/python3/dist-packages/packages/extensionmanager- extension/examples/listings/main.py ... /usr/lib/python3/dist-packages/scripts /usr/lib/python3/dist-packages/scripts/i18n_check.py <<< END That also seems to be a mistake. Perhaps the installation into the package distribution is messed up? -- System Information: Debian Release: trixie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.5.0-4-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python3-jupyterlab depends on: ii node-jupyterlab 4.0.10+ds1+~cs11.25.27-1 ii nodejs 18.19.0+dfsg-6 ii python3 [python3-supported-min] 3.11.6-1 ii python3-async-lru 2.0.4-1 ii python3-importlib-metadata 4.12.0-1 ii python3-ipykernel 6.24.0-3 ii python3-jinja2 3.1.2-1 ii python3-jupyter-core 5.3.2-1 ii python3-jupyter-events 0.9.0-2 ii python3-jupyter-server 1.23.3-2 ii python3-jupyterlab-server 2.16.5-1 ii python3-notebook-shim 0.2.3-3 ii python3-packaging 23.2-1 ii python3-rpds-py 0.12.0-1 ii python3-tomli 2.0.1-2 ii python3-tornado 6.3.2-1 ii python3-traitlets 5.5.0-2 python3-jupyterlab recommends no packages. python3-jupyterlab suggests no packages. -- no debconf information -- Christian Holm Christensen ------------------------------------------------- Sankt Hans Gade 23, 4, DK-2200 Copenhagen http://cern.ch/cholm, +4524618591