You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing, verifying installation, and restarting Jupyterlab, the format icon doesn't appear in the toolbar. Nor does Jupyterlab Code Formatter appear in the settings.
Reproduce
pip install jupyterlab-code-formatter
pip install black
jupyter server extension list
Config dir: /home/sagemaker-user/.jupyter
Config dir: /home/sagemaker-user/.conda/envs/erk-python-env/etc/jupyter
jupyter_lsp enabled
- Validating jupyter_lsp...
jupyter_lsp 2.2.5 OK
jupyter_server_terminals enabled
- Validating jupyter_server_terminals...
jupyter_server_terminals 0.5.3 OK
jupyterlab enabled
- Validating jupyterlab...
Extension package jupyterlab took 0.1989s to import
jupyterlab 4.3.4 OK
jupyterlab_code_formatter enabled
- Validating jupyterlab_code_formatter...
jupyterlab_code_formatter 3.0.2 OK
notebook_shim enabled
- Validating notebook_shim...
notebook_shim OK
Config dir: /usr/local/etc/jupyter
jupyter labextension list
JupyterLab v4.3.4
/home/sagemaker-user/.conda/envs/erk-python-env/share/jupyter/labextensions
jupyterlab_pygments v0.3.0 enabled OK (python, jupyterlab_pygments)
jupyterlab_code_formatter v3.0.2 enabled OK (python, jupyterlab_code_formatter)
restart-jupyter-server
I also tried restarting the Jupyterlab space itself
Expected behavior
Format icon should appear in toolbar. Extension should appear in settings.
Operating System and its version: Ubuntu 22.04.5 LTS
Browser and its version: Chrome 131.0.6778.265
Command Line Output
[I 2025-01-17 07:45:50.959 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2025-01-17 07:45:50.968 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2025-01-17 07:45:50.985 ServerApp] jupyterlab | extension was successfully linked.
[I 2025-01-17 07:45:50.986 ServerApp] jupyterlab_code_formatter | extension was successfully linked.
[I 2025-01-17 07:45:51.306 ServerApp] notebook_shim | extension was successfully linked.
[I 2025-01-17 07:45:51.339 ServerApp] notebook_shim | extension was successfully loaded.
[I 2025-01-17 07:45:51.341 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2025-01-17 07:45:51.343 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2025-01-17 07:45:51.344 LabApp] JupyterLab extension loaded from /home/sagemaker-user/.conda/envs/erk-python-env/lib/python3.13/site-packages/jupyterlab
[I 2025-01-17 07:45:51.344 LabApp] JupyterLab application directory is /home/sagemaker-user/.conda/envs/erk-python-env/share/jupyter/lab
[I 2025-01-17 07:45:51.345 LabApp] Extension Manager is 'pypi'.
[I 2025-01-17 07:45:51.481 ServerApp] jupyterlab | extension was successfully loaded.
[I 2025-01-17 07:45:51.482 ServerApp] Registered jupyterlab_code_formatter server extension
[I 2025-01-17 07:45:51.482 ServerApp] jupyterlab_code_formatter | extension was successfully loaded.
[I 2025-01-17 07:45:51.482 ServerApp] The port 8888 is already in use, trying another port.
[I 2025-01-17 07:45:51.485 ServerApp] Serving notebooks from local directory: /home/sagemaker-user
[I 2025-01-17 07:45:51.485 ServerApp] Jupyter Server 2.15.0 is running at:
[I 2025-01-17 07:45:51.485 ServerApp] http://localhost:8889/lab?token=ac301581af7d485c572bc0e98674ee13d28b0681a37ae5fb
[I 2025-01-17 07:45:51.485 ServerApp] http://127.0.0.1:8889/lab?token=ac301581af7d485c572bc0e98674ee13d28b0681a37ae5fb
[I 2025-01-17 07:45:51.485 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 2025-01-17 07:45:51.498 ServerApp] No web browser found: Error('could not locate runnable browser').
[C 2025-01-17 07:45:51.498 ServerApp]
To access the server, open this file in a browser:
file:///home/sagemaker-user/.local/share/jupyter/runtime/jpserver-525-open.html
Or copy and paste one of these URLs:
http://localhost:8889/lab?token=ac301581af7d485c572bc0e98674ee13d28b0681a37ae5fb
http://127.0.0.1:8889/lab?token=ac301581af7d485c572bc0e98674ee13d28b0681a37ae5fb
Environment
Description
After installing, verifying installation, and restarting Jupyterlab, the format icon doesn't appear in the toolbar. Nor does Jupyterlab Code Formatter appear in the settings.
Reproduce
pip install jupyterlab-code-formatter
pip install black
jupyter server extension list
jupyter labextension list
restart-jupyter-server
Expected behavior
Format icon should appear in toolbar. Extension should appear in settings.
Context
jupyterlab_code_formatter 3.0.2 pyhd8ed1ab_1 conda-forge
Command Line Output
The text was updated successfully, but these errors were encountered: