Hi all,

After upgrading IPython, I'm no longer able to use IJulia Notebook.

        ipython console --profile julia

seems to work but,

        ipython notebook --profile julia

hangs after the fisrt command, and

        ipython qtconsole --profile julia

gives me the following error:

/usr/local/lib/python3.4/site-packages/IPython/kernel/manager.py:96: UserWarning: Setting kernel_cmd is deprecated, use kernel_spec to start different kernels.
  warnings.warn("Setting kernel_cmd is deprecated, use kernel_spec to "
Starting kernel event loops.
ERROR:tornado.application:Exception in callback functools.partial(<function wrap.<locals>.null_wrapper at 0x7f410409ed08>)
Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/tornado-4.1.dev1-py3.4-linux-x86_64.egg/tornado/ioloop.py", line 565, in _run_callback
    ret = callback()
File "/usr/local/lib/python3.4/site-packages/tornado-4.1.dev1-py3.4-linux-x86_64.egg/tornado/stack_context.py", line 275, in null_wrapper
    return fn(*args, **kwargs)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/channels.py", line 170, in thread_send
    self.session.send(self.stream, msg)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/zmq/session.py", line 646, in send
    msg = adapt(msg, self.adapt_version)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/adapter.py", line 329, in adapt
    return adapter(msg)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/adapter.py", line 68, in __call__
    return handler(msg)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/adapter.py", line 152, in object_info_request
    line, _ = code_to_line(code, cursor_pos)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/adapter.py", line 24, in code_to_line
    return line, cursor_pos
UnboundLocalError: local variable 'line' referenced before assignment
ERROR:tornado.general:Uncaught exception, closing connection.
Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/zmq/eventloop/zmqstream.py", line 407, in _run_callback
    callback(*args, **kwargs)
File "/usr/local/lib/python3.4/site-packages/tornado-4.1.dev1-py3.4-linux-x86_64.egg/tornado/stack_context.py", line 275, in null_wrapper
    return fn(*args, **kwargs)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/channels.py", line 179, in _handle_recv
    msg = self.session.unserialize(smsg)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/zmq/session.py", line 847, in unserialize
    return adapt(message)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/adapter.py", line 329, in adapt
    return adapter(msg)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/adapter.py", line 68, in __call__
    return handler(msg)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/adapter.py", line 262, in inspect_reply
    new_content['name'] = content['name']
KeyError: 'name'
ERROR:tornado.general:Uncaught exception, closing connection.
Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/zmq/eventloop/zmqstream.py", line 433, in _handle_events
    self._handle_recv()
File "/usr/local/lib/python3.4/site-packages/zmq/eventloop/zmqstream.py", line 465, in _handle_recv
    self._run_callback(callback, msg)
File "/usr/local/lib/python3.4/site-packages/zmq/eventloop/zmqstream.py", line 407, in _run_callback
    callback(*args, **kwargs)
File "/usr/local/lib/python3.4/site-packages/tornado-4.1.dev1-py3.4-linux-x86_64.egg/tornado/stack_context.py", line 275, in null_wrapper
    return fn(*args, **kwargs)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/channels.py", line 179, in _handle_recv
    msg = self.session.unserialize(smsg)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/zmq/session.py", line 847, in unserialize
    return adapt(message)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/adapter.py", line 329, in adapt
    return adapter(msg)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/adapter.py", line 68, in __call__
    return handler(msg)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/adapter.py", line 262, in inspect_reply
    new_content['name'] = content['name']
KeyError: 'name'
ERROR:tornado.application:Exception in callback None
Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/tornado-4.1.dev1-py3.4-linux-x86_64.egg/tornado/ioloop.py", line 837, in start
    handler_func(fd_obj, events)
File "/usr/local/lib/python3.4/site-packages/tornado-4.1.dev1-py3.4-linux-x86_64.egg/tornado/stack_context.py", line 275, in null_wrapper
    return fn(*args, **kwargs)
File "/usr/local/lib/python3.4/site-packages/zmq/eventloop/zmqstream.py", line 433, in _handle_events
    self._handle_recv()
File "/usr/local/lib/python3.4/site-packages/zmq/eventloop/zmqstream.py", line 465, in _handle_recv
    self._run_callback(callback, msg)
File "/usr/local/lib/python3.4/site-packages/zmq/eventloop/zmqstream.py", line 407, in _run_callback
    callback(*args, **kwargs)
File "/usr/local/lib/python3.4/site-packages/tornado-4.1.dev1-py3.4-linux-x86_64.egg/tornado/stack_context.py", line 275, in null_wrapper
    return fn(*args, **kwargs)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/channels.py", line 179, in _handle_recv
    msg = self.session.unserialize(smsg)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/zmq/session.py", line 847, in unserialize
    return adapt(message)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/adapter.py", line 329, in adapt
    return adapter(msg)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/adapter.py", line 68, in __call__
    return handler(msg)
File "/usr/local/lib/python3.4/site-packages/IPython/kernel/adapter.py", line 262, in inspect_reply
    new_content['name'] = content['name']
KeyError: 'name'


I can't see if the issue is from IJulia, Ipython or tornado/zmq.
Thanks in advance for any hint.

--
nirinA

Reply via email to