Jupyter-contrib/jupyter_nbextensions_configurator

Not all nbextensions showing up in nbextension tab

juliancello opened this issue · 6 comments

I'm trying to configure a jupyterhub test server. I can't seem to get all of my nbextensions to show up under the nbextensions tab once I start the server. I confirmed jupyter-contrib-nbextensions and jupyter-nbextensions-configurator were correctly installed. I also notice my .ipython/nbextensions/ directory is completely empty, so I'm sure the issue lies somewhere between that and perhaps in one of the notebook.json files.

Any help would be appreciated. Thank you.

After some investigation, I don't think the main issue lies in the notebook.json file mentioned above. Some nbextension directories are missing so I'm trying to track down how that happened. Is this potentially a path issue?

I looked in my log and found the following:

[D 2020-06-25 16:36:50.079 SingleUserNotebookApp __init__:111] [jupyter_nbextensions_configurator] Looking for nbextension yaml descriptor files in /usr/local/share/jupyter/nbextensions
[D 2020-06-25 16:36:50.079 SingleUserNotebookApp __init__:111] [jupyter_nbextensions_configurator] Looking for nbextension yaml descriptor files in /usr/share/jupyter/nbextensions
[D 2020-06-25 16:36:50.079 SingleUserNotebookApp __init__:111] [jupyter_nbextensions_configurator] Looking for nbextension yaml descriptor files in /data/home/jkosanovic/jhub_dev/jhub_env/lib/python3.7/site-packages/jupyter_nbextensions_configurator/static
[D 2020-06-25 16:36:50.081 SingleUserNotebookApp __init__:146] [jupyter_nbextensions_configurator] Found nbextension 'Nbextensions dashboard tab' in nbextensions_configurator/tree_tab/tree_tab.yaml
[D 2020-06-25 16:36:50.083 SingleUserNotebookApp __init__:146] [jupyter_nbextensions_configurator] Found nbextension 'Nbextensions edit menu item' in nbextensions_configurator/config_menu/config_menu.yaml

I need it to look for yaml files in the second directory listed under data when I type the command 'juypter --paths'

config:
    /data/home/jkosanovic/.jupyter
    /data/home/jkosanovic/jhub_dev/jhub_env/etc/jupyter
    /usr/local/etc/jupyter
    /etc/jupyter
data:
    /data/home/jkosanovic/.local/share/jupyter
    /data/home/jkosanovic/jhub_dev/jhub_env/share/jupyter
    /usr/local/share/jupyter
    /usr/share/jupyter
runtime:
    /data/home/jkosanovic/.local/share/jupyter/runtime

Hey, I had a similar problem. Maybe those commands help?

jupyter contrib nbextension install --user
jupyter nbextensions_configurator enable --user

@fhennig thanks! this helped! have a good day!

Hey, I had a similar problem. Maybe those commands help?

jupyter contrib nbextension install --user
jupyter nbextensions_configurator enable --user

@fhennig Thanks! This worked for me too!

I had a similar issue, and @fhennig 's method works for me!
Many thanks!