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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

kernel_spec_manager_class not recognized Issue #5855

Closed
Cl1p opened this issue Nov 8, 2020 · 1 comment
Closed

kernel_spec_manager_class not recognized Issue #5855

Cl1p opened this issue Nov 8, 2020 · 1 comment

Comments

@Cl1p
Copy link

Cl1p commented Nov 8, 2020

WSL Ubuntu UWP

VERSION="18.04.5 LTS (Bionic Beaver)"
image

I not sure if this is an issue, but this warning happens all the time when I trying to trust some ipython notebook

Pls have a look , thanks馃槉

@kevin-bates
Copy link
Member

Hi @Cl1p - this warning message is harmless as jupyter trust does not use the kernel_spec_manager_class traitlet.

What's interesting is that I can only reproduce this by setting c.TrustNotebookApp.kernel_spec_manager_class in my notebook configuration file. Initially, I thought that perhaps setting c.NotebookApp.kernel_spec_manager_class would lead to this if the trust application derives from NotebookApp (where kernel_spec_manager_class is supported), but it derives from JupyterApp - and essentially always has.

Since NotebookApp.kernel_spec_manager_class is rarely set to anything other than its default ('jupyter_client.kernelspec.KernelSpecManager'), I'm wondering if you happen to use nb_conda_kernels which does set that traitlet to a non-defaulted value. But, even then, and per the previous paragraph, you'd still need an explicit entry in your configuration file relative to c.TrustNotebookApp.kernel_spec_manager_class to cause the warning message.

To see which configuration file is in play when running jupyter trust, add the --debug option, after which you'll see the candidate configuration files along with the file it selected based on the path hierarchy. Once the file is located, see if you have an uncommented entry like c.TrustNotebookApp.kernel_spec_manager_class=<some.python.class.path> and remove or comment out that entry (the latter to be safe).

Since this is not an issue for this repository, I'm going to close it. However, should you find anything relative to your configuration settings, it would be great to hear back. Thanks.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants