-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jupyter notebook can't open the dir named "checkpoints" #5569
Comments
Hi @yemq3 - thank you for opening this issue. You're probably best off renaming your 'checkpoints' directory if that's possible. tl;dr: This is an issue and is caused by an ambiguity in the REST API path to handler mappings in the contents service and, likely, can only be addressed via changes to the (I got a little involved looking into this, sorry for the long response.) This is an issue and is caused by an ambiguity in the REST API path to handler mappings in the contents service: notebook/notebook/services/contents/handlers.py Lines 320 to 327 in 7866742
As you can see, a path of I also see the path from the notebook-dir updated in the Notebook UI as if the user is in the You'll also notice a similar ambiguity with the I'm not finding other issues mentioning this but it strikes me as an issue that should be fixed or handled in a better manner - or perhaps we just document that sub-directories named 'checkpoints' and 'trust' are reserved within the notebook-dir hierarchy and shouldn't be used. The trick to fixing this would be to address it in a way so as to not require changes to the endpoints and I don't think that could be done in a reliable manner. As a result, updating the endpoints for the Not sure what other applications hit the checkpoint and trust endpoints, but they would be impacted by an endpoint change as well - so these kinds of changes are dicey - and a doc update is probably the safest approach. Any takers? |
Jupyterlab still cannot open directories with the name 'checkpoints' |
Up |
We discussed this in today's Jupyter Server meeting and felt this issue belonged in that repository to go along with the corresponding pull request. |
@meeseeksdev please migrate to jupyter-server/jupyter_server |
Done as jupyter-server/jupyter_server#950. |
Jupyter Lab can't open it too.
It seems that the back-end didn't return anything.
The text was updated successfully, but these errors were encountered: