Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #9974

Re: ipython/jupyter issue [Was: RuntimeError: Kernel died before replying to kernel_info (#4116)]

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Gordon Ball <gordon@chronitis.net>
Newsgroups linux.debian.maint.python
Subject Re: ipython/jupyter issue [Was: RuntimeError: Kernel died before replying to kernel_info (#4116)]
Date Thu, 09 Nov 2017 20:50:01 +0100
Message-ID <uK0ZP-1a9-11@gated-at.bofh.it> (permalink)
References <uJW09-6pt-11@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Nov 9 19:48:34 2017
Old-Return-Path <gordon@chronitis.net>
X-Amavis-Spam-Status No, score=-9.3 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_FROM_MX=-3.1; rate: -6.1
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Language en-GB
Content-Transfer-Encoding 7bit
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15357
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/cb6987e8-9c4c-a2c2-b505-59faa582aa71@chronitis.net
Approved robomod@news.nic.it
Lines 47
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 9 Nov 2017 20:48:02 +0100
X-Original-Message-ID <cb6987e8-9c4c-a2c2-b505-59faa582aa71@chronitis.net>
X-Original-References <20171109142708.dzbxhiuqm4oi6xez@an3as.eu>
Xref csiph.com linux.debian.maint.python:9974

Show key headers only | View raw


On 09/11/17 15:27, Andreas Tille wrote:
> Hi,
> 
> statsmodels upstream claims that #880245 is a ipython/jupyter issue.
> 
> Is there anybody with some knowledge and knows how to fix this issue?

I just built statsmodels 0.8.0-6 in and amd64 sbuild chroot without
encountering this issue.

Looking at the trace in #880245, it looks like the key error is

    zmq.error.ZMQError: Address already in use

and the other

    RuntimeError: Kernel died before replying to kernel_info

are just caused by the other process not being able to communicate. My
guess is that this is an environment heisenbug - container network
issues/socket exhaustion...

It might be possible to get `ExecutePreprocessor` in
`tools/nbgenerate.py` to use IPC instead of TCP transport, which might
be more reliable for this sort of use (although it probably doesn't get
tested as much, so might have its own problems); this is a supported
option when invoking some CLI tools (eg, `jupyter console --transport
ipc --kernel python3`), but it's not obvious to me how to do it in this
case.

Gordon

> 
> Kind regards
> 
>        Andreas.
> 
> ----- Forwarded message from Josef Perktold <notifications@github.com> -----
> 
> Date: Thu, 09 Nov 2017 12:51:38 +0000 (UTC)
> From: Josef Perktold <notifications@github.com>
> To: statsmodels/statsmodels <statsmodels@noreply.github.com>
> Cc: Andreas Tille <tille@debian.org>, Author <author@noreply.github.com>
> Subject: Re: [statsmodels/statsmodels] RuntimeError: Kernel died before replying to kernel_info (#4116)
> 
> This is a ipython/jupyter issue, and not related to statsmodels. You can ask at their issue tracker.
> 

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#880245: ipython/jupyter issue [Was: RuntimeError: Kernel died before replying to kernel_info (#4116)] Andreas Tille <andreas@an3as.eu> - 2017-11-09 15:40 +0100
  Re: ipython/jupyter issue [Was: RuntimeError: Kernel died before  replying to kernel_info (#4116)] Gordon Ball <gordon@chronitis.net> - 2017-11-09 20:50 +0100
    Re: ipython/jupyter issue [Was: RuntimeError: Kernel died before  replying to kernel_info (#4116)] Andreas Tille <andreas@an3as.eu> - 2017-11-10 17:30 +0100
      Re: ipython/jupyter issue [Was: RuntimeError: Kernel died before  replying to kernel_info (#4116)] Gordon Ball <gordon@chronitis.net> - 2017-11-12 22:20 +0100

csiph-web