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 when using --autoreload #39

Closed
Carreau opened this issue Jan 12, 2021 · 1 comment · Fixed by jupyter-server/jupyter_server#380
Closed

Error when using --autoreload #39

Carreau opened this issue Jan 12, 2021 · 1 comment · Fixed by jupyter-server/jupyter_server#380

Comments

@Carreau
Copy link
Member

Carreau commented Jan 12, 2021

$ jupyter notebook --no-browser --NotebookApp.autoreload=True
[I 10:55:34.397 NotebookApp] Autoreload enabled: the webapp will restart when any Python src file changes.
[W 10:55:36.217 NotebookApp] Error loading server extension jupyterlab
    Traceback (most recent call last):
      File "/Users/bussonniermatthias/miniconda3/lib/python3.8/site-packages/notebook/notebookapp.py", line 1945, in init_server_extensions
        func(self)
      File "/Users/bussonniermatthias/miniconda3/lib/python3.8/site-packages/jupyterlab/serverextension.py", line 13, in load_jupyter_server_extension
        extension.update_config(serverapp.config)
      File "/Users/bussonniermatthias/miniconda3/lib/python3.8/site-packages/nbclassic/shim.py", line 138, in update_config
        shimmed_config = self.shim_config_from_notebook_to_jupyter_server(config)
      File "/Users/bussonniermatthias/miniconda3/lib/python3.8/site-packages/nbclassic/shim.py", line 228, in shim_config_from_notebook_to_jupyter_server
        raise TraitError("Trait, {}, not found.".format(trait_name))
    traitlets.traitlets.TraitError: Trait, autoreload, not found.

You may also want to update the setup.py link for homepage to point to github and not Jupyter.org or it can be hard to find this repo.

@Zsailer
Copy link
Member

Zsailer commented Jan 14, 2021

Fixed in jupyter-server/jupyter_server#380

@Zsailer Zsailer closed this as completed Jan 14, 2021
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

Successfully merging a pull request may close this issue.

2 participants