2014-07-18 3 views
1

J'ai commencé avec succès mon portable à exécuter sur un serveur comme indiqué par:Accès à distance à ipython serveur portable émet une exception

ipython notebook --profile=nbserver 
2014-07-18 11:14:05.473 [NotebookApp] Using existing profile dir: u'/home/local/AD/jack/.ipython/profile_nbserver' 
2014-07-18 11:14:05.482 [NotebookApp] Using MathJax from CDN: https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js 
2014-07-18 11:14:05.497 [NotebookApp] Serving notebooks from local directory: /home/local/AD/jack/.ipython/profile_nbserver 
2014-07-18 11:14:05.497 [NotebookApp] 0 active kernels 
2014-07-18 11:14:05.497 [NotebookApp] The IPython Notebook is running at: all ip addresses on your system]:9999 
2014-07-18 11:14:05.498 [NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). 

Lorsque je tente d'accéder à distance depuis:

https://devs-sandbox02.jfk.ad.radio.com:9999 

Le le serveur entre dans une boucle en répétant le message:

Traceback (most recent call last): 
    File "/usr/lib/pymodules/python2.7/zmq/eventloop/ioloop.py", line 346, in start 
    self._handlers[fd](fd, events) 
KeyError: 6 
ERROR:root:Exception in I/O handler for fd 6 

Qu'est-ce qui cause cela? Comment est-ce que je travaille autour d'elle?

+1

http: // stackoverflow. com/a/23603935/1749888 – RomanHotsiy

+0

http://stackoverflow.com/questions/24795239/starting-the-ipython-notebook/24938101#24938101Je pense que cela ne concerne pas les certificats. J'ai déjà posté ici: – comrad

Répondre

2

Je faisais la même question, et juste fixé par la mise à niveau pyzmq:

$ pip search pyzmq 
pyzmq      - Python bindings for 0MQ 
INSTALLED: 13.0.2 
LATEST: 14.3.1 

$ sudo pip install --upgrade pyzmq 

(Espérons que cela aide quelqu'un d'autre qui serpente ici comme je l'ai fait!)

Questions connexes