tkf / emacs-ipython-notebook

IPython notebook client in Emacs
tkf.github.com/emacs-ipython-notebook/
GNU General Public License v3.0
548 stars 51 forks source link

ein:console-open: Could not find existing kernel connection #138

Open eigengrau opened 10 years ago

eigengrau commented 10 years ago

I wanted to try the "regular" console to an IPython kernel, but issuing ein:console-open gives me:

[ZMQTerminalIPythonApp] CRITICAL | Could not find existing kernel connection file kernel-b553515a-a1ba-4083-8957-dc54f6c201ee.json

Process Python[*ein: 8888/relational*] exited abnormally with code 1

Issuing ipython console --existing kernel-b553515a-a1ba-4083-8957-dc54f6c201ee.json works fine from a terminal emulator.

arvids commented 9 years ago

Did you ever figure out how to fix this issue?

millejoh commented 9 years ago

You need to set ein:console-args and ein:console-security-dir to match how you are calling ipython. If you are calling ipython as simply ipython notebook than ein:console-args should be empty, and ein:console-security-dir should point to the security directory for the default profile.