[IPython-User] Shutdown ipython controller

Bago mrbago@gmail....
Fri Sep 21 20:56:27 CDT 2012


Hi all,

I was wondering what's the right way to shut down an ipython controller? I
start my controller by using `ipcon = Popen(['ipcontroller', '--ip="*"'])`.
I can normally do `client.shutdown(hub=True, block=True)` but if I do not
have any engines running I get the following error "NoEnginesRegistered:
Can't build targets without any engines". I can also do `ipcon.terminate()`
but then I get,

  File "/home/bagrata/python/bin/ipcontroller", line 18, in <module>
    launch_new_instance()
  File
"/home/bagrata/python/lib/python2.7/site-packages/IPython/parallel/apps/ipcontrollerapp.py",
line 487, in launch_new_instance
    app.start()
  File
"/home/bagrata/python/lib/python2.7/site-packages/IPython/parallel/apps/ipcontrollerapp.py",
line 461, in start
    self.factory.loop.start()
  File
"/netopt/epd_py27/lib/python2.7/site-packages/zmq/eventloop/ioloop.py",
line 251, in start
    event_pairs = self._impl.poll(poll_timeout)
  File "poll.pyx", line 189, in zmq.core.poll.Poller.poll
(zmq/core/poll.c:2120)
  File "poll.pyx", line 101, in zmq.core.poll._poll (zmq/core/poll.c:1400)
ZMQError: Interrupted system call

If you suspect this is an IPython bug, please report it at:
    https://github.com/ipython/ipython/issues
or send an email to the mailing list at ipython-dev@scipy.org

You can print a more detailed traceback right now with "%tb", or use
"%debug"
to interactively debug it.

Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
    c.Application.verbose_crash=True


It's not really a big deal, but I was wondering if I'm missing something
obvious.

Thanks,
Bago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20120921/25ec1719/attachment.html 


More information about the IPython-User mailing list