Created
December 19, 2011 02:48
-
-
Save fperez/1495184 to your computer and use it in GitHub Desktop.
stuck kernel traceback
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.[NotebookApp] Kernel restarted: 0a11e240-cfca-470a-bd0b-7dce9e98fe42 | |
[NotebookApp] Connecting to: tcp://127.0.0.1:50307 | |
[NotebookApp] Connecting to: tcp://127.0.0.1:53988 | |
[NotebookApp] Connecting to: tcp://127.0.0.1:58216 | |
ERROR: An unexpected error occurred while tokenizing input | |
The following traceback may be corrupted or invalid | |
The error message is: ('EOF in multi-line statement', (351, 0)) | |
--------------------------------------------------------------------------- | |
ZMQError Traceback (most recent call last) | |
/home/fperez/tmp/src/scipy/<string> in <module>() | |
/home/fperez/usr/lib/python2.7/site-packages/IPython/zmq/ipkernel.pyc in main() | |
644 """Run an IPKernel as an application""" | |
645 app = IPKernelApp.instance() | |
--> 646 app.initialize() | |
647 app.start() | |
648 | |
/home/fperez/tmp/src/scipy/<string> in initialize(self=<IPython.zmq.ipkernel.IPKernelApp object>, argv=None) | |
/home/fperez/usr/lib/python2.7/site-packages/IPython/config/application.pyc in catch_config_error(method=<function initialize>, app=<IPython.zmq.ipkernel.IPKernelApp object>, *args=(None,), **kwargs={}) | |
82 """ | |
83 try: | |
---> 84 return method(app, *args, **kwargs) | |
global d = undefined | |
global Sg = undefined | |
global xq = undefined | |
global j = undefined | |
global D = undefined | |
global t = undefined | |
global k = undefined | |
global rM = undefined | |
global n = undefined | |
global q = undefined | |
85 except (TraitError, ArgumentError) as e: | |
86 app.print_description() | |
/home/fperez/usr/lib/python2.7/site-packages/IPython/zmq/ipkernel.pyc in initialize(self=<IPython.zmq.ipkernel.IPKernelApp object>, argv=None) | |
573 @catch_config_error | |
574 def initialize(self, argv=None): | |
--> 575 super(IPKernelApp, self).initialize(argv) | |
576 self.init_shell() | |
577 self.init_extensions() | |
/home/fperez/tmp/src/scipy/<string> in initialize(self=<IPython.zmq.ipkernel.IPKernelApp object>, argv=None) | |
/home/fperez/usr/lib/python2.7/site-packages/IPython/config/application.pyc in catch_config_error(method=<function initialize>, app=<IPython.zmq.ipkernel.IPKernelApp object>, *args=(None,), **kwargs={}) | |
82 """ | |
83 try: | |
---> 84 return method(app, *args, **kwargs) | |
global d = undefined | |
global Sg = undefined | |
global xq = undefined | |
global j = undefined | |
global D = undefined | |
global t = undefined | |
global k = undefined | |
global rM = undefined | |
global n = undefined | |
global q = undefined | |
85 except (TraitError, ArgumentError) as e: | |
86 app.print_description() | |
/home/fperez/usr/lib/python2.7/site-packages/IPython/zmq/kernelapp.pyc in initialize(self=<IPython.zmq.ipkernel.IPKernelApp object>, argv=None) | |
283 self.init_session() | |
284 self.init_poller() | |
--> 285 self.init_sockets() | |
286 # writing connection file must be *after* init_sockets | |
287 self.write_connection_file() | |
/home/fperez/usr/lib/python2.7/site-packages/IPython/zmq/kernelapp.pyc in init_sockets(self=<IPython.zmq.ipkernel.IPKernelApp object>) | |
207 | |
208 self.shell_socket = context.socket(zmq.ROUTER) | |
--> 209 self.shell_port = self._bind_socket(self.shell_socket, self.shell_port) | |
210 self.log.debug("shell ROUTER Channel on port: %i"%self.shell_port) | |
211 | |
/home/fperez/usr/lib/python2.7/site-packages/IPython/zmq/kernelapp.pyc in _bind_socket(self=<IPython.zmq.ipkernel.IPKernelApp object>, s=<zmq.core.socket.Socket object>, port=50307) | |
155 port = s.bind_to_random_port(iface) | |
156 else: | |
--> 157 s.bind(iface + ':%i'%port) | |
158 return port | |
159 | |
/usr/lib/python2.6/dist-packages/zmq/core/socket.so in zmq.core.socket.Socket.bind (zmq/core/socket.c:4471)() | |
ZMQError: Address already in use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment