-
Notifications
You must be signed in to change notification settings - Fork 122
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
[jupyterhub] 404 on nbextensions/nbextensions_configurator #11
Comments
Hi Doug, Not sure exactly why this is giving a 404, but my first guess is that the server extension part isn't loading for some reason. In this configurator, the nbextensions files reside in the python packages directory, which is insrted into the server's jupyter_nbextensions_configurator/src/jupyter_nbextensions_configurator/__init__.py Lines 192 to 193 in 5d103e8
|
also, does the config page at |
Thanks for any hints you can give! This is the entire log on startup:
What folders? That URL either gives 404, or never responds. |
So that log should include all entries from each single-user server as well as entries from the hub, correct? (I've not used jupyterhub much, so am a little uncertain) What I'd hope to see would be something like
But, since it isn't there, it seems as though for some reason perhaps the server extension hasn't been enabled for whatever user the server is running as. To enable system-wide, you could try |
What should NotebookApp.server_extensions be set to? |
Assuming you're using a notebook version < 4.2, it should be a list of strings, each of which is an importable serverextension module. So, to enable the
to the python config file (assuming the usual method of assigning the config value to the variable For notebook versions >= 4.2, the syntax changed slightly to use a dict named
to the python config file. |
However, given that the file is |
It seems possible that this is related to #13 |
I ran out of time to track this down. I'll leave this for now. Perhaps someone can debug on a jupyterhub server and report back. Thanks! |
Well, at any rate, #13 was a bug preventing the serverextension from loading correctly when using jupyterhub, so it's something that needed fixing to solve this issue. As I mentioned there, I'd like to add a travis test using jupyterhub, but don't fully understand how to do that yet, and don;t quite have time right now. I'll ping here if & when I get one working. |
#13 has now been included in the 0.2.2 release on pip & conda-forge (though conda-forge seems to be experiencing issues building today, so might take a while to get uploaded properly) |
I'm on jupyterhub. I'm trying to us the configurator on latest versions of everything (Aug 19, 2016). I have installed everything according to README, and it shows as enabled (as root):
# jupyter-nbextension list Known nbextensions: config dir: /root/.jupyter/nbconfig notebook section dragdrop/main enabled - Validating: OK config dir: /opt/anaconda3/etc/jupyter/nbconfig notebook section calysto/cell-tools/main enabled - Validating: OK jupyter-js-widgets/extension enabled - Validating: OK codefolding/main disabled nbextensions_configurator/config_menu/main enabled - Validating: OK calysto/spell-check/main enabled - Validating: OK calysto/submit/main enabled - Validating: OK calysto/document-tools/main enabled - Validating: OK calysto/publish/main enabled - Validating: OK tree section ipyparallel/main enabled - Validating: OK nbextensions_configurator/tree_tab/main enabled - Validating: OK
However, when I load the notebook (after restarting jupyterhub) the tab shows, it is empty and I get the following error in the Javascript console:
Why is the URL giving a 404? Maybe I didn't install the app properly for jupyterhub? Any hints?
The text was updated successfully, but these errors were encountered: