[IPython-dev] scipystack kernel restart

Andrew Odewahn odewahn at oreilly.com
Wed Oct 29 16:04:22 EDT 2014


Hi.  I'm using the Docker image "ipython/scipystack" like this:

$ docker run -p 8888:8888 ipython/scipystack  ipython notebook --ip=0.0.0.0
--no-browser

The service starts fine with no errors, and I can browse to one of the
examples, but as soon as try to edit or run anything, the kernel repeatedly
fails:


[I 16:52:21.718 NotebookApp] Using existing profile dir:
'/root/.ipython/profile_default'

[I 16:52:21.735 NotebookApp] Writing notebook server cookie secret to
/root/.ipython/profile_default/security/notebook_cookie_secret

[I 16:52:21.736 NotebookApp] Using MathJax from CDN:
https://cdn.mathjax.org/mathjax/latest/MathJax.js

[I 16:52:21.767 NotebookApp] Serving notebooks from local directory:
/srv/ipython

[I 16:52:21.768 NotebookApp] 0 active kernels

[I 16:52:21.768 NotebookApp] The IPython Notebook is running at:
http://0.0.0.0:8888/

[I 16:52:21.768 NotebookApp] Use Control-C to stop this server and shut
down all kernels (twice to skip confirmation).

[I 16:52:48.211 NotebookApp] Writing notebook-signing key to
/root/.ipython/profile_default/security/notebook_secret

[W 16:52:48.218 NotebookApp] Notebook examples/Interactive Widgets/Custom
Widget - Hello World.ipynb is not trusted

[I 16:52:48.465 tornado.access] 302 GET
/notebooks/examples/Interactive%20Widgets/images/WidgetArch.png
(192.168.59.3) 1.00ms

[I 16:52:51.282 NotebookApp] Kernel started:
e8b80f70-de72-490d-8a10-c478e64f9a6d

[I 16:52:54.282 NotebookApp] KernelRestarter: restarting kernel (1/5)

WARNING:root:kernel e8b80f70-de72-490d-8a10-c478e64f9a6d restarted

[I 16:52:57.292 NotebookApp] KernelRestarter: restarting kernel (2/5)

WARNING:root:kernel e8b80f70-de72-490d-8a10-c478e64f9a6d restarted

[I 16:53:00.303 NotebookApp] KernelRestarter: restarting kernel (3/5)

WARNING:root:kernel e8b80f70-de72-490d-8a10-c478e64f9a6d restarted

[I 16:53:03.313 NotebookApp] KernelRestarter: restarting kernel (4/5)

[W 16:53:06.321 NotebookApp] KernelRestarter: restart failed

[W 16:53:06.322 NotebookApp] Kernel e8b80f70-de72-490d-8a10-c478e64f9a6d
died, removing from map.


Any thoughts on why just plain old "run" would be causing this?


Any help appreciated!


Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20141029/688d6c06/attachment.html>


More information about the IPython-dev mailing list