-
Notifications
You must be signed in to change notification settings - Fork 286
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
Create a kernel with specified custom ports #955
Comments
This is due to the I see now that this is a duplicate of #878. |
I can confirm the issue is with KernelManager.cache_ports. Thanks for the tip. At emacs-jupyter/jupyter#481 (comment) I patched this and then it works as one would expect it to. I don't know if it is a general solution for others who want to use this, but it probably beats forking it. |
Hi @jkitchin - thanks for taking a closer look. I think we can make This would then enable the use of Would you like to contribute that pull request? It would resolve both this issue and #878, so it would a desirable change. |
This addresses issue jupyter#878 and jupyter#955.
I made a pull request above. I have tested it locally, and it seems to do the right things. The logic is confusing to me though. The default is set to False, but if you don't set |
Welcome to traitlets. This package does some magic stuff. In this case, there's already a "defaults handler" which overrides the |
Yeah, it's customizable right now. Thanks, man |
I am trying to start a jupyter kernel like this:
It starts, and I see this output:
[KernelApp] Starting kernel 'python3'
[KernelApp] Connection file: /Users/jkitchin/Library/Jupyter/runtime/kernel-892382b5-8115-44ba-95cd-d8172ba848ac.json
however, the kernel json contains:
which do not match the ports I specified. Am I missing something to make this happen?
The text was updated successfully, but these errors were encountered: