Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin manager doesn't allow users to enable an extension #15486

Closed
divyansshhh opened this issue Dec 4, 2023 · 1 comment · Fixed by #15512
Closed

Plugin manager doesn't allow users to enable an extension #15486

divyansshhh opened this issue Dec 4, 2023 · 1 comment · Fixed by #15512
Assignees
Milestone

Comments

@divyansshhh
Copy link
Contributor

Description

To disable extensions, the plugin manager seems to be writing the page_config to the sys_prefix location and not a location in the user directory. Whenever I try to disable a plugin it throws the following error in the UI -

Error when performing an action.
Reason given:
Error: PermissionError(13, 'Permission denied')

and the following error in the console -

ERROR 16:11:53 500 POST /lab/api/plugins?1701686512826 (choudhdi@10.240.172.120) 382.22ms referer=http://localhost:8888/lab/workspaces/auto-n

Reproduce

Try to disable any extension using the plugin manager.

Expected behavior

It shouldn't throw a permission denied error.

Context

jupyterlab==4.1.0a4

@divyansshhh divyansshhh added the bug label Dec 4, 2023
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Dec 4, 2023
@krassowski
Copy link
Member

Yes, sys_prefix as a non-configurable default was inherited from the extension manager. I think we should make it configurable, it should be rather straightforward (and the CLI commands already have a flag to configure it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants