Skip to content

Issue Running Jupyter Notebook Server on ARM Debian 8.6: <IDS|MSG> Not In List #3762

@tom-saildrone

Description

@tom-saildrone

Hi,

I'm trying to run a Jupyter Notebook Server on an ARM machine running Debian 8.6 Jessie. I can get the kernel to start, but after making any changes in a notebook, the kernel crashes with the following error:

[I 21:46:08.426 NotebookApp] Kernel started: ac714d21-4281-4272-a6e2-48d8a68763c2
Assertion failed: check () (src/msg.cpp:230)
[E 21:46:12.587 NotebookApp] Uncaught exception in ZMQStream callback
    Traceback (most recent call last):
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 432, in _run_callback
        callback(*args, **kwargs)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/tornado/stack_context.py", line 276, in null_wrapper
        return fn(*args, **kwargs)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/notebook/services/kernels/kernelmanager.py", line 375, in record_activity
        idents, fed_msg_list = session.feed_identities(msg_list)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/jupyter_client/session.py", line 844, in feed_identities
        idx = msg_list.index(DELIM)
    ValueError: '<IDS|MSG>' is not in list
[E 21:46:12.605 NotebookApp] Uncaught exception in zmqstream callback
    Traceback (most recent call last):
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 450, in _handle_events
        self._handle_recv()
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 480, in _handle_recv
        self._run_callback(callback, msg)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 432, in _run_callback
        callback(*args, **kwargs)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/tornado/stack_context.py", line 276, in null_wrapper
        return fn(*args, **kwargs)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/notebook/services/kernels/kernelmanager.py", line 375, in record_activity
        idents, fed_msg_list = session.feed_identities(msg_list)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/jupyter_client/session.py", line 844, in feed_identities
        idx = msg_list.index(DELIM)
    ValueError: '<IDS|MSG>' is not in list
[E 21:46:12.609 NotebookApp] Exception in callback (<zmq.sugar.socket.Socket object at 0x758e8e30>, <function null_wrapper at 0x75a034b0>)
    Traceback (most recent call last):
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/tornado/ioloop.py", line 1064, in start
        handler_func(fd_obj, events)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/tornado/stack_context.py", line 276, in null_wrapper
        return fn(*args, **kwargs)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 450, in _handle_events
        self._handle_recv()
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 480, in _handle_recv
        self._run_callback(callback, msg)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 432, in _run_callback
        callback(*args, **kwargs)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/tornado/stack_context.py", line 276, in null_wrapper
        return fn(*args, **kwargs)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/notebook/services/kernels/kernelmanager.py", line 375, in record_activity
        idents, fed_msg_list = session.feed_identities(msg_list)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/jupyter_client/session.py", line 844, in feed_identities
        idx = msg_list.index(DELIM)
    ValueError: '<IDS|MSG>' is not in list
[E 21:46:12.619 NotebookApp] Uncaught exception in ZMQStream callback
    Traceback (most recent call last):
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 432, in _run_callback
        callback(*args, **kwargs)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/tornado/stack_context.py", line 276, in null_wrapper
        return fn(*args, **kwargs)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/notebook/services/kernels/kernelmanager.py", line 375, in record_activity
        idents, fed_msg_list = session.feed_identities(msg_list)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/jupyter_client/session.py", line 844, in feed_identities
        idx = msg_list.index(DELIM)
    ValueError: '<IDS|MSG>' is not in list
[E 21:46:12.622 NotebookApp] Uncaught exception in zmqstream callback
    Traceback (most recent call last):
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 450, in _handle_events
        self._handle_recv()
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 480, in _handle_recv
        self._run_callback(callback, msg)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 432, in _run_callback
        callback(*args, **kwargs)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/tornado/stack_context.py", line 276, in null_wrapper
        return fn(*args, **kwargs)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/notebook/services/kernels/kernelmanager.py", line 375, in record_activity
        idents, fed_msg_list = session.feed_identities(msg_list)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/jupyter_client/session.py", line 844, in feed_identities
        idx = msg_list.index(DELIM)
    ValueError: '<IDS|MSG>' is not in list
[E 21:46:12.625 NotebookApp] Exception in callback (<zmq.sugar.socket.Socket object at 0x758e8e30>, <function null_wrapper at 0x75a034b0>)
    Traceback (most recent call last):
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/tornado/ioloop.py", line 1064, in start
        handler_func(fd_obj, events)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/tornado/stack_context.py", line 276, in null_wrapper
        return fn(*args, **kwargs)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 450, in _handle_events
        self._handle_recv()
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 480, in _handle_recv
        self._run_callback(callback, msg)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/zmq/eventloop/zmqstream.py", line 432, in _run_callback
        callback(*args, **kwargs)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/tornado/stack_context.py", line 276, in null_wrapper
        return fn(*args, **kwargs)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/notebook/services/kernels/kernelmanager.py", line 375, in record_activity
        idents, fed_msg_list = session.feed_identities(msg_list)
      File "/root/develop/venv_dev/local/lib/python2.7/site-packages/jupyter_client/session.py", line 844, in feed_identities
        idx = msg_list.index(DELIM)
    ValueError: '<IDS|MSG>' is not in list
[I 21:46:14.380 NotebookApp] KernelRestarter: restarting kernel (1/5), keep random ports
[W 21:46:18.498 NotebookApp] Timeout waiting for kernel_info reply from ac714d21-4281-4272-a6e2-48d8a68763c2
Assertion failed: check () (src/msg.cpp:230)

Obviously, this seems to be an issue with Tornado and/or zmq. I've tried using older versions of ZMQ/Tornado, as this seems to solve similar issues posted here and on StackOverflow, but it hasn't helped so far. I've tried numerous configuration options, but am out of ideas at this point. I've tried this on other machines running Debian 8.6, and other ARM machines, but I have a feeling there is a specific scenario occurring with this machine that is causing this. Any ideas/help would be greatly appreciated, unfortunately updating the kernel/OS isn't an option at the moment. If there is any other info I can provide, just let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions