Hi all,<br><br>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,<br>
<br> File "/home/bagrata/python/bin/ipcontroller", line 18, in <module><br> launch_new_instance()<br> File "/home/bagrata/python/lib/python2.7/site-packages/IPython/parallel/apps/ipcontrollerapp.py", line 487, in launch_new_instance<br>
app.start()<br> File "/home/bagrata/python/lib/python2.7/site-packages/IPython/parallel/apps/ipcontrollerapp.py", line 461, in start<br> self.factory.loop.start()<br> File "/netopt/epd_py27/lib/python2.7/site-packages/zmq/eventloop/ioloop.py", line 251, in start<br>
event_pairs = self._impl.poll(poll_timeout)<br> File "poll.pyx", line 189, in zmq.core.poll.Poller.poll (zmq/core/poll.c:2120)<br> File "poll.pyx", line 101, in zmq.core.poll._poll (zmq/core/poll.c:1400)<br>
ZMQError: Interrupted system call<br><br>If you suspect this is an IPython bug, please report it at:<br> <a href="https://github.com/ipython/ipython/issues">https://github.com/ipython/ipython/issues</a><br>or send an email to the mailing list at <a href="mailto:ipython-dev@scipy.org">ipython-dev@scipy.org</a><br>
<br>You can print a more detailed traceback right now with "%tb", or use "%debug"<br>to interactively debug it.<br><br>Extra-detailed tracebacks for bug-reporting purposes can be enabled via:<br> c.Application.verbose_crash=True<br>
<br><br>It's not really a big deal, but I was wondering if I'm missing something obvious.<br><br>Thanks,<br>Bago<br>