Comments (10)
@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.
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.
This fix causes the view to look weird however.
Is there a solution that doesn’t distort the view?
from jupyter-fs.
@Amichayg This should not affect the frontend UI. Could you paste a screenshot to better understand what is the issue?
from jupyter-fs.
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.
@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.
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.
@PaulKGrimes Do you still have the problem? If so, could you post JupyterLab logs and your jupyterfs config?
from jupyter-fs.
from jupyter-fs.
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
- Jupyterlab 4.1.4 + Docker 20.10 incopatibility? HOT 13
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.