Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Error listing extensions when plotly >=6.1.2 installed #5211

Open
Assignees
Labels
P2considered for next cycle bugsomething broken regressionthis used to work
@achhina

Description

Hey folks, after installing the most recent release I'm seeing the following error when attempting to list extensions:

KeyError: 'packageManager' not found inside install.json
$ jupyter labextension list --debug
Searching ['/Users/achhina/venvs/plotly-test/etc/jupyter', '/Users/achhina/.config/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
Looking for jupyter_config in /etc/jupyter
Looking for jupyter_config in /usr/local/etc/jupyter
Looking for jupyter_config in /Users/achhina/.config/jupyter
Looking for jupyter_config in /Users/achhina/venvs/plotly-test/etc/jupyter
Looking for lab_config in /etc/jupyter
Looking for lab_config in /usr/local/etc/jupyter
Looking for lab_config in /Users/achhina/.config/jupyter
Looking for lab_config in /Users/achhina/venvs/plotly-test/etc/jupyter
Yarn configuration loaded.
JupyterLab v4.4.3
/Users/achhina/venvs/plotly-test/share/jupyter/labextensions
 jupyterlab_pygments v0.3.0 enabled OK (python, jupyterlab_pygments)
Traceback (most recent call last):
 File "/Users/achhina/venvs/plotly-test/lib/python3.13/site-packages/jupyterlab/debuglog.py", line 45, in debug_logging
 yield
 File "/Users/achhina/venvs/plotly-test/lib/python3.13/site-packages/jupyterlab/labextensions.py", line 169, in start
 ans = self.run_task()
 File "/Users/achhina/venvs/plotly-test/lib/python3.13/site-packages/jupyterlab/labextensions.py", line 425, in run_task
 list_extensions(
 ~~~~~~~~~~~~~~~^
 app_options=AppOptions(
 ^^^^^^^^^^^^^^^^^^^^^^^
 ...<5 lines>...
 )
 ^
 )
 ^
 File "/Users/achhina/venvs/plotly-test/lib/python3.13/site-packages/jupyterlab/commands.py", line 580, in list_extensions
 return handler.list_extensions()
 ~~~~~~~~~~~~~~~~~~~~~~~^^
 File "/Users/achhina/venvs/plotly-test/lib/python3.13/site-packages/jupyterlab/commands.py", line 788, in list_extensions
 self._list_federated_extensions()
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
 File "/Users/achhina/venvs/plotly-test/lib/python3.13/site-packages/jupyterlab/commands.py", line 1759, in _list_federated_extensions
 extra += " ({}, {})".format(install["packageManager"], install["packageName"])
 ~~~~~~~^^^^^^^^^^^^^^^^^^
KeyError: 'packageManager'
/Users/achhina/venvs/plotly-test/lib/python3.13/site-packages/jupyterlab/debuglog.py:54: UserWarning: An error occurred.
 warnings.warn("An error occurred.")
/Users/achhina/venvs/plotly-test/lib/python3.13/site-packages/jupyterlab/debuglog.py:55: UserWarning: KeyError: 'packageManager'
 warnings.warn(msg[-1].strip())
/Users/achhina/venvs/plotly-test/lib/python3.13/site-packages/jupyterlab/debuglog.py:56: UserWarning: See the log file for details: /var/folders/7d/6v1f4d011x7b9v6tbvw4x6480000gn/T/jupyterlab-debug-xcr2tdtu.log
 warnings.warn(f"See the log file for details: {log_path!s}")
Exiting application: lab

Looks to be related to the changes in #5096, and potentially mixing of source extensions with federated ones?

Metadata

Metadata

Labels

P2considered for next cycle bugsomething broken regressionthis used to work

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /