Comments (13)
You should inspect the logs for evidence of extension activation
from jupyter-fs.
I this evidence enough? If you recommend to check any other specifics, please let me know.
jupyter labextension list
/home/jeroen/.local/share/jupyter/labextensions
@jupyter-widgets/jupyterlab-manager v5.0.9 enabled OK (python, jupyterlab_widgets)
/usr/local/share/jupyter/labextensions
jupyterlab_pygments v0.3.0 enabled OK (python, jupyterlab_pygments)
jupyter-fs v0.4.1 enabled OK (python, jupyter-fs)
from jupyter-fs.
That's good for the client side, also look at the server logs during startup, it should indicate it's being used
from jupyter-fs.
Thanks! Seems to be OK right? Should I maybe rebuild jupyterlab after the extension is installed in the Dockerfile? What else do you recommend to check?
jupyter server extension list
provides:
Config dir: /usr/local/etc/jupyter
jupyter_lsp enabled
- Validating jupyter_lsp...
jupyter_lsp 2.2.4 OK
jupyter_server_terminals enabled
- Validating jupyter_server_terminals...
jupyter_server_terminals 0.5.2 OK
jupyterfs.extension enabled
- Validating jupyterfs.extension...
Extension package jupyterfs.extension took 0.1057s to import
jupyterfs.extension 0.4.1 OK
jupyterlab enabled
- Validating jupyterlab...
jupyterlab 4.1.4 OK
notebook_shim enabled
- Validating notebook_shim...
notebook_shim OK
Config dir: /usr/local/etc/jupyter
jupyter_lsp enabled
- Validating jupyter_lsp...
jupyter_lsp 2.2.4 OK
jupyter_server_terminals enabled
- Validating jupyter_server_terminals...
jupyter_server_terminals 0.5.2 OK
jupyterfs.extension enabled
- Validating jupyterfs.extension...
jupyterfs.extension 0.4.1 OK
jupyterlab enabled
- Validating jupyterlab...
jupyterlab 4.1.4 OK
notebook_shim enabled
- Validating notebook_shim...
notebook_shim OK
from jupyter-fs.
You've got some stuff in /usr/local
and some stuff in ~/.local
which is a bit weird and might be evidence of some misconfiguration. Can you look in the logs when you run jupyter lab
and check for the extension actually being used (it should show in the logs).
from jupyter-fs.
[I 2024-03-14 15:12:30.678 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2024-03-14 15:12:30.678 ServerApp] jupyterfs.extension | extension was successfully linked.
[I 2024-03-14 15:12:30.682 ServerApp] jupyterlab | extension was successfully linked.
[I 2024-03-14 15:12:30.901 ServerApp] notebook_shim | extension was successfully linked.
[I 2024-03-14 15:12:30.920 ServerApp] notebook_shim | extension was successfully loaded.
[I 2024-03-14 15:12:30.921 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2024-03-14 15:12:30.922 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2024-03-14 15:12:30.922 ServerApp] Installing jupyter-fs resources handler on path /jupyterfs/resources
[I 2024-03-14 15:12:30.922 ServerApp] jupyterfs.extension | extension was successfully loaded.
[I 2024-03-14 15:12:30.924 LabApp] JupyterLab extension loaded from /usr/local/lib/python3.10/site-packages/jupyterlab
[I 2024-03-14 15:12:30.924 LabApp] JupyterLab application directory is /usr/local/share/jupyter/lab
[I 2024-03-14 15:12:30.924 LabApp] Extension Manager is 'pypi'.
[I 2024-03-14 15:12:30.934 ServerApp] jupyterlab | extension was successfully loaded.
[I 2024-03-14 15:12:30.935 ServerApp] Serving contents
[I 2024-03-14 15:12:30.935 ServerApp] Jupyter Server 2.13.0 is running at:
[I 2024-03-14 15:12:30.935 ServerApp] http://localhost:8888/lab?token=14006b25defe80c53a8d96e4f229fc54c74534a85a45f982
[I 2024-03-14 15:12:30.935 ServerApp] http://127.0.0.1:8888/lab?token=14006b25defe80c53a8d96e4f229fc54c74534a85a45f982
[I 2024-03-14 15:12:30.935 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 2024-03-14 15:12:30.947 ServerApp] No web browser found: Error('could not locate runnable browser').
[C 2024-03-14 15:12:30.947 ServerApp]
To access the server, open this file in a browser:
file:///home/jeroen/.local/share/jupyter/runtime/jpserver-21-open.html
Or copy and paste one of these URLs:
http://localhost:8888/lab?token=14006b25defe80c53a8d96e4f229fc54c74534a85a45f982
http://127.0.0.1:8888/lab?token=14006b25defe80c53a8d96e4f229fc54c74534a85a45f982
[I 2024-03-14 15:12:30.965 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
Extension was succesfully linked and loaded. Should there be anything else there? For what it's worth: the extension is shown in jupyterlab itself, and I can edit it's settings, but the file browsers just don't show up. Let me know what you recommend to do next
from jupyter-fs.
Does it show up in the settings editor in the JupyterLab UI?
from jupyter-fs.
from jupyter-fs.
Looks like everything is working properly from an extension standpoint. Do you see any errors in the javascript console in your browser?
from jupyter-fs.
Hopefully you will have an idea, this is what I see. Using latest version of Chrome.
from jupyter-fs.
It looks like the tree viewer failed to render, i will try to reproduce. Thanks for providing this info!
from jupyter-fs.
Thanks so much Tim. I am looking forward to use the extension and please let me know if I can provide more details to help!
from jupyter-fs.
@timkpaine I went through the same steps with an older jupyter-fs and jupyterlab version in Docker version remains the same (Docker version 20.10.21).
RUN pip install jupyterlab==3.6.3 RUN pip install jupyter-fs==0.3.1
Here, the file-browser did open, but other errors appear. See:
Hopefully it helps and pleased to hear back.
from jupyter-fs.
Related Issues (20)
- jupyter lab build fails on Windows HOT 1
- `InvalidCharsInPath` error from fs due to using `os.path.join` on Windows HOT 1
- Allow configuring displayed columns HOT 3
- Add `Copy Path` to context menu for folders HOT 3
- Ensure `is_hidden` is properly handled HOT 2
- reconcile differences with hard fork
- File download in JupyterLab does not work if jupyter-fs is installed HOT 1
- Error `'coroutine' object is not subscriptable` when using `jupyter-fs==0.4.0` with `jupytext` HOT 4
- Fix doc: Jupyterfs has to be JupyterFs in config files
- `'coroutine' object has no attribute 'pop'` if copy/paste files in JupyterLab file browser HOT 1
- Port to @tree-finder
- Empty pane even after refresh HOT 3
- Continue supporting JupyterLab 3? HOT 3
- Delete files to 'trash' dir
- Unintuitive search/filter on `size` and `last_modified` columns
- Add "Open with" command
- Move/copy progress indicator HOT 1
- Setting for single virtual root browser vs multi tab browsers
- Setup of jupyter-fs configuration doesn't work HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyter-fs.