Skip to content
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

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

Open
carter54 opened this issue Feb 5, 2018 · 2 comments

Comments

@carter54
Copy link

carter54 commented Feb 5, 2018

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 carter54 changed the title error after add c.NotebookApp.contents_manager_class = 'notedown.NotedownContentsManager' error after adding c.NotebookApp.contents_manager_class = 'notedown.NotedownContentsManager' Feb 5, 2018
@Apollo2Mars
Copy link

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

@zbisure
Copy link

zbisure commented Jun 25, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants