Git Product home page Git Product logo

Comments (13)

timkpaine avatar timkpaine commented on August 17, 2024 1

You should inspect the logs for evidence of extension activation

from jupyter-fs.

Jeromekem avatar Jeromekem commented on August 17, 2024

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.

timkpaine avatar timkpaine commented on August 17, 2024

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.

Jeromekem avatar Jeromekem commented on August 17, 2024

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.

timkpaine avatar timkpaine commented on August 17, 2024

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.

Jeromekem avatar Jeromekem commented on August 17, 2024
[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.

timkpaine avatar timkpaine commented on August 17, 2024

Does it show up in the settings editor in the JupyterLab UI?

from jupyter-fs.

Jeromekem avatar Jeromekem commented on August 17, 2024

Ty tim, yes. See:
Screenshot 2024-03-14 at 16 16 27

from jupyter-fs.

timkpaine avatar timkpaine commented on August 17, 2024

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.

Jeromekem avatar Jeromekem commented on August 17, 2024

Hopefully you will have an idea, this is what I see. Using latest version of Chrome.
Screenshot 2024-03-14 at 16 21 39

from jupyter-fs.

timkpaine avatar timkpaine commented on August 17, 2024

It looks like the tree viewer failed to render, i will try to reproduce. Thanks for providing this info!

from jupyter-fs.

Jeromekem avatar Jeromekem commented on August 17, 2024

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.

Jeromekem avatar Jeromekem commented on August 17, 2024

@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:

Screenshot 2024-03-18 at 12 54 45

Hopefully it helps and pleased to hear back.

from jupyter-fs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.