notedown icon indicating copy to clipboard operation
notedown copied to clipboard

error after adding c.NotebookApp.contents_manager_class = 'notedown.NotedownContentsManager'

Open carter54 opened this issue 7 years ago • 2 comments

In order to read md file directly in Jupyter Notebook, I install notedown.

But after adding c.NotebookApp.contents_manager_class = 'notedown.NotedownContentsManager' at the end of my config file 'jupyter_notebook_config.py' or using jupyter notebook --NotebookApp.contents_manager_class='notedown.NotedownContentsManager'

I get the following error:

Bad config encountered during initialization: The 'contents_manager_class' trait of a NotebookApp instance must be a subclass of 'notebook.services.contents.manager.ContentsManager', but a value of class 'traitlets.traitlets.MetaHasTraits' (i.e. <class 'notedown.contentsmanager.NotedownContentsManager'>) was specified.

Any idea what cause this error? When I delete jupyter notebook --NotebookApp.contents_manager_class='notedown.NotedownContentsManager' the notebook works fine.

carter54 avatar Feb 05 '18 03:02 carter54

I have the same problem, do you solve this problem?

Apollo2Mars avatar Sep 13 '18 08:09 Apollo2Mars

jupyter 1.0.0
jupyter-client 6.2.0
jupyter-core 4.7.1
jupyter_console 5.2.0
jupyterlab-pygments 0.1.2
jupyterlab-widgets 1.0.0
notebook 6.4.0
notedown 1.5.1
You can try the above configuration

zbisure avatar Jun 25 '21 08:06 zbisure