-
Notifications
You must be signed in to change notification settings - Fork 150
Description
Bug description
After running the jupyter labextension disable command on jupyter-server-proxy, the extension is still being loaded.
jupyter labextension disable @jupyterlab/server-proxy
Expected behaviour
The server extension should still be loaded, but the frontend extension should not be activated when loading jupyterlab.
Actual behaviour
The jupyterlab extension is activated regardless of the enable/disable status of jupyter-server-proxy labextension status.
How to reproduce
In a virtual environment:
pip install jupyterlab jupyter-server-proxy jupyter-rsession-proxy
jupyter labextension disable @jupyterlab/server-proxy
jupyter lab
- The RStudio button still shows up in Jupyterlab launcher.
More details
The reason why I want to disable the jupyterlab extension while maintaining the server extension is because I have an extension that handles the server proxy launcher items instead of jupyter-server-proxy (i.e: jupyter-lmod).
I suspect the issue stems from the way jupyter-server-proxy install its lab extension using setup.py instead of using the jupyter labextension
commands. What leads me to think that is that if I try to uninstall just the lab extension of jupyter-server-proxy like this:
$ jupyter labextension uninstall @jupyterlab/server-proxy
I am greeted with the following message:
JupyterLab cannot uninstall @jupyterlab/server-proxy since it was installed outside of JupyterLab. Use the same method used to install this extension to uninstall this extension.