Skip to content
This repository

[wishlist] Automatically find existing kernel #691

takluyver opened this Issue August 10, 2011 · 1 comment

2 participants

Thomas Kluyver Min RK
Thomas Kluyver

As mentioned in #688, I'd like to be able to connect a frontend to an existing console without manually specifying the necessary ports at the command line. Ideally, ipython qtconsole --existing would find and connect to the most recently started active kernel. If more than one kernel is running on the machine, there should also be a simple option to select one, perhaps by PID (ipython qtconsole --existing=6341).

I think that this should be possible if we store the port numbers in connection files similar to those used by IPython.parallel.

Min RK

Yes, there are many benefits to using the model in IPython.parallel, including this, and I think it has always been the plan to do so. It's just that nobody has gotten around to implementing it. It should be super easy, though.

Min RK minrk closed this issue from a commit October 13, 2011
Min RK Merge PR #847 (connection files)
* JSON connection files are now used to connect files
* HMAC message signing is now on by default in all IPython apps
* Adds IPython.lib.kernel, which contains utility functions for connecting
  clients. These were mostly copied out of qtconsoleapp in order to be
  more general.
* Adds %connection_info and %qtconsole magics to zmqshell

closes gh-688
closes gh-806
closes gh-691
Min RK minrk closed this in f93a8ca October 13, 2011
Brian E. Granger ellisonbg referenced this issue from a commit January 10, 2012
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.