ipython-contrib / jupyter_contrib_nbextensions

A collection of various notebook extensions for Jupyter
http://jupyter-contrib-nbextensions.readthedocs.io/en/latest
Other
5.2k stars 806 forks source link

YAML files location for duplicates & Validating: Problems found: #1541

Open baggiponte opened 3 years ago

baggiponte commented 3 years ago

Hello there, I have tried to install the nbextensions today, but some issues are still there. I used the conda install -c conda-forge jupyter_contrib_nbextensions command. I am also using pyenv to manage virtual environments and python installations (I know it seems overkill).

Validating: problems found: require? X nbextensions_configurator/config_menu/main_enabled

First, I cannot seem to find a way to solve this validating issue popping up whenever I jupyter nbextensions list:

Known nbextensions:
  config dir: /Users/luca/.pyenv/versions/miniconda3-latest/envs/mobility/etc/jupyter/nbconfig
    notebook section
      nbextensions_configurator/config_menu/main  enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/config_menu/main
      contrib_nbextensions_help_item/main  enabled
      - Validating: OK
    tree section
      nbextensions_configurator/tree_tab/main  enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/tree_tab/main

Also, nbextensions_configurator came with the conda command, as specified in the documentation. But here you are the output of `conda list -e | grep jupyter':

jupyter=1.0.0=py38_7
jupyter_client=6.1.7=py_0
jupyter_console=6.2.0=py_0
jupyter_contrib_core=0.3.3=py_2
jupyter_contrib_nbextensions=0.5.1=py38h32f6830_1
jupyter_core=4.7.0=py38hecd8cb5_0
jupyter_highlight_selected_word=0.2.0=py38h32f6830_1002
jupyter_latex_envs=1.4.6=py38h32f6830_1001
jupyter_nbextensions_configurator=0.4.1=py38h32f6830_2
jupyterlab_pygments=0.1.2=py_0

What is it really to be done with the nbextensions_configurator?

nbextension's require url is referenced by two different yaml files on the server

Also, for any extension I wish to activate this message is printed on the nbextensions tab on Jupyter. This is weird because I made sure to uninstall the nbextensions, erase the content of the etc and share folders and deleted and recreated the environment. Where do I find the yaml files? Thank you!

This nbextension's require url (hinterland/hinterland) is referenced by two different yaml files on the server. This probably means that there are two installations of the same nbextension in different directories on the server. If they are different, only one will be loaded by the notebook, and this may prevent configuration from working correctly. Check the jupyter notebook server log for the paths of the relevant yaml files.