Git Product home page Git Product logo

Comments (10)

mahendrapaipuri avatar mahendrapaipuri commented on June 19, 2024 3

@Cocopyth We faced the same problem few days ago. What I figured out is we need to set ContentsManager.allow_hidden to True in jupyter_server_config.json.

Seems like exception is popping from here and there it is effectively checking if the path is behind the root directory of the notebook. For instance, if the root directory of the notebook is /home/user/jupyter/notebooks and if we set jupyterfs path as /home/user, is_hidden method of content manager will return True. So, if we do not have allow_hidden set to True, jupyterfs returns 404 response saying path not found.

Try setting ContentsManager.allow_hidden to True and see if the error still exists. Good luck!!

from jupyter-fs.

OKaluza avatar OKaluza commented on June 19, 2024

The above solution worked for me, pasting my full config below:

{
  "ServerApp": {
    "contents_manager_class": "jupyterfs.metamanager.MetaManager",
    "jpserver_extensions": {
      "jupyterfs.extension": true
    }
  },
  "ContentsManager": {
    "allow_hidden" : true
  }
}

from jupyter-fs.

Amichayg avatar Amichayg commented on June 19, 2024

This fix causes the view to look weird however.
Is there a solution that doesn’t distort the view?

from jupyter-fs.

mahendrapaipuri avatar mahendrapaipuri commented on June 19, 2024

@Amichayg This should not affect the frontend UI. Could you paste a screenshot to better understand what is the issue?

from jupyter-fs.

Amichayg avatar Amichayg commented on June 19, 2024

594E97A7-7169-49C1-8B1C-E63B770BDEC6
Do note this is my first time using juptyer-fs, so i’m not familiar with the general UI.
I assumed that it utilized the same jupyter file-tree component just with a different file-system, yet this looks quite different to the general UI.

from jupyter-fs.

mahendrapaipuri avatar mahendrapaipuri commented on June 19, 2024

@Amichayg That is how it looks like on our deployment too. We use the main branch in our deployment. Seems like it has been changed in v0.3.0, see this comment, to this new UI.

from jupyter-fs.

PaulKGrimes avatar PaulKGrimes commented on June 19, 2024

The fix above has allowed jupyter-fs to sort of work for me, but I am unable to open folders within each resource.

from jupyter-fs.

mahendrapaipuri avatar mahendrapaipuri commented on June 19, 2024

@PaulKGrimes Do you still have the problem? If so, could you post JupyterLab logs and your jupyterfs config?

from jupyter-fs.

PaulKGrimes avatar PaulKGrimes commented on June 19, 2024

from jupyter-fs.

timkpaine avatar timkpaine commented on June 19, 2024

#167

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.