-
Notifications
You must be signed in to change notification settings - Fork 62
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
/tree shows 404 after upgrading to 0.4.0 #120
Comments
You have 2 options as temporary workaround. Launch with
or simply
We need to look why the extension was enabled by default in 0.3.x versions. BTW with nbclassic 0.4.0 you don't need notebook 6.4.x anymore. |
Thank you! That explains why it just worked :-). Running
should also fix this, right? |
True, I confirm it is working on my env and is prolly a better way to always enable the jupyter server extension. |
For some reason running
gives me the following output:
Any ideas? |
I run that same command on my env and it works fine with following output. Any detail after you
maybe try with a brand new env on your local machine before docker?
|
Good idea. Right. That's working for me as well. Clearly it is one of the other dependencies that is breaking something. No to go looking for which one that is. Thanks for the help. |
Ok. I blieve I've traced it. The problem is not so much that the "notebook" package is no longer needed, but that when it is installed, enabling the nbclassic extension fails. |
Looks I can reproduce that also. After
This being said, having at the same time |
The reason I don't use jupyter nbclassic directly, is because I'm working on a tool for building images. Depending on how the tool is configured, the image may use nbclassic, jupyterlab, something custom via jupyter_server_proxy or a combination thereof. Using the extensions mechanism and then accessing stuff via the relevant The tool didn't actually install notebook<7, that was happening via one of the dependencies, which in turn depended on notebook<7. Uninstalling the notebook package fixes this bug, so I'm happy. Might just be useful to make a note of that somewhere in case somebody runs into something similar. |
That sound like a great use-case of the jupyter server extension. It has been developed exactly for such needs.
👍
We will launch more work to update the documentation for that and other things. |
Thanks for all the work. In general it nbclassic just works. 👍 We are planning to transition to notebook>7 and jupyterlab, but nbclassic gives us a nice transition phase while we move all the dependencies / extensions over. |
I have opened a fix on #122 |
I'm building a Docker image containing Jupyter Server 1.18.0 + nbclassic 0.4.0 + notebook 6.4.12. When I run
jupyter server
and try to access the /tree endpoint, I get a 404 error. If I downgrade nbclassic to 0.3.7, /tree works, but I don't get the fix for notebook extensions that 0.4.0 added.The text was updated successfully, but these errors were encountered: