IJython icon indicating copy to clipboard operation
IJython copied to clipboard

Connection file not found

Open Liam-Deacon opened this issue 6 years ago • 0 comments

I get the following when starting up a jupyter console with jython_kernel:

$ jupyter console --kernel=jython_kernel --debug
[ZMQTerminalIPythonApp] Searching ['/mnt/c/Windows/System32', '/home/liam/.jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[ZMQTerminalIPythonApp] Looking for jupyter_config in /etc/jupyter
[ZMQTerminalIPythonApp] Looking for jupyter_config in /usr/local/etc/jupyter
[ZMQTerminalIPythonApp] Looking for jupyter_config in /usr/etc/jupyter
[ZMQTerminalIPythonApp] Looking for jupyter_config in /home/liam/.jupyter
[ZMQTerminalIPythonApp] Looking for jupyter_config in /mnt/c/Windows/System32
[ZMQTerminalIPythonApp] Looking for jupyter_console_config in /etc/jupyter
[ZMQTerminalIPythonApp] Looking for jupyter_console_config in /usr/local/etc/jupyter
[ZMQTerminalIPythonApp] Looking for jupyter_console_config in /usr/etc/jupyter
[ZMQTerminalIPythonApp] Looking for jupyter_console_config in /home/liam/.jupyter
[ZMQTerminalIPythonApp] Looking for jupyter_console_config in /mnt/c/Windows/System32
[ZMQTerminalIPythonApp] Connection File not found: /home/liam/.local/share/jupyter/runtime/kernel-7750.json
[ZMQTerminalIPythonApp] Starting kernel: ['/usr/bin/python3', '-m', 'jython_kernel', '-f', '/home/liam/.local/share/jupyter/runtime/kernel-7750.json']
[ZMQTerminalIPythonApp] Connecting to: tcp://127.0.0.1:62028
[ZMQTerminalIPythonApp] connecting shell channel to tcp://127.0.0.1:62025
[ZMQTerminalIPythonApp] Connecting to: tcp://127.0.0.1:62025
[ZMQTerminalIPythonApp] connecting iopub channel to tcp://127.0.0.1:62026
[ZMQTerminalIPythonApp] Connecting to: tcp://127.0.0.1:62026
[ZMQTerminalIPythonApp] connecting stdin channel to tcp://127.0.0.1:62027
[ZMQTerminalIPythonApp] Connecting to: tcp://127.0.0.1:62027
[ZMQTerminalIPythonApp] connecting heartbeat channel to tcp://127.0.0.1:62029
Jupyter console 6.0.0

Jython Kernel

[ZMQTerminalIPythonApp] Starting the jupyter console mainloop...

In [1]: import os
/home/liam/.local/lib/python3.6/site-packages/jython_kernel.py:26: UserWarning: locate_profile has moved to the IPython.paths module since IPython 4.0.
  self.hist_file = os.path.join(locate_profile(),'jython_kernel.hist')


In [2]: os.path.expanduser('~')


In [3]:

I installed this with system Python 3.6 on Ubuntu 18.04, using pip:

sudo -H python3 -m pip install git+https://github.com/suvarchal/IJython

So my thoughts are is this related to #7?

Liam-Deacon avatar Feb 26 '19 08:02 Liam-Deacon