Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ipython notebook --pylab=inline
- [NotebookApp] Using existing profile dir: u'/root/.config/ipython/profile_default'
- [NotebookApp] Serving notebooks from /media/disk2/Projects/SPSE
- [NotebookApp] The IPython Notebook is running at: http://127.0.0.1:8888/
- [NotebookApp] Use Control-C to stop this server and shut down all kernels.
- [NotebookApp] Using MathJax from CDN: http://cdn.mathjax.org/mathjax/latest/MathJax.js
- [NotebookApp] Kernel started: 093daf3d-ca3f-46b3-aee3-796880a9785d
- Exception in thread Thread-2:
- Traceback (most recent call last):
- File "/opt/epd-7.3-2-rh5-x86/lib/python2.7/threading.py", line 551, in __bootstrap_inner
- self.run()
- File "/opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/IPython/zmq/kernelmanager.py", line 197, in run
- self.socket = self.context.socket(zmq.DEALER)
- File "/opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/zmq/sugar/context.py", line 82, in socket
- s = self._socket_class(self, socket_type)
- File "socket.pyx", line 210, in zmq.core.socket.Socket.__cinit__ (zmq/core/socket.c:2270)
- ZMQError: Bad address
- ERROR:root:Uncaught exception in /kernels/093daf3d-ca3f-46b3-aee3-796880a9785d/shell
- Traceback (most recent call last):
- File "/opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/tornado/websocket.py", line 254, in wrapper
- return callback(*args, **kwargs)
- File "/opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/IPython/frontend/html/notebook/handlers.py", line 567, in on_first_message
- self.shell_stream = km.create_shell_stream(kernel_id)
- File "/opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/IPython/frontend/html/notebook/kernelmanager.py", line 332, in create_shell_stream
- return super(MappingKernelManager, self).create_shell_stream(kernel_id)
- File "/opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/IPython/frontend/html/notebook/kernelmanager.py", line 209, in create_shell_stream
- shell_stream = self.create_connected_stream(ip, ports['shell_port'], zmq.DEALER)
- File "/opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/IPython/frontend/html/notebook/kernelmanager.py", line 193, in create_connected_stream
- sock = self.context.socket(socket_type)
- File "/opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/zmq/sugar/context.py", line 82, in socket
- s = self._socket_class(self, socket_type)
- File "socket.pyx", line 210, in zmq.core.socket.Socket.__cinit__ (zmq/core/socket.c:2270)
- ZMQError: Bad address
- ERROR:root:Uncaught exception in /kernels/093daf3d-ca3f-46b3-aee3-796880a9785d/iopub
- Traceback (most recent call last):
- File "/opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/tornado/websocket.py", line 254, in wrapper
- return callback(*args, **kwargs)
- File "/opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/IPython/frontend/html/notebook/handlers.py", line 469, in on_first_message
- self.iopub_stream = km.create_iopub_stream(kernel_id)
- File "/opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/IPython/frontend/html/notebook/kernelmanager.py", line 327, in create_iopub_stream
- return super(MappingKernelManager, self).create_iopub_stream(kernel_id)
- File "/opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/IPython/frontend/html/notebook/kernelmanager.py", line 202, in create_iopub_stream
- iopub_stream = self.create_connected_stream(ip, ports['iopub_port'], zmq.SUB)
- File "/opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/IPython/frontend/html/notebook/kernelmanager.py", line 193, in create_connected_stream
- sock = self.context.socket(socket_type)
- File "/opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/zmq/sugar/context.py", line 82, in socket
- s = self._socket_class(self, socket_type)
- File "socket.pyx", line 210, in zmq.core.socket.Socket.__cinit__ (zmq/core/socket.c:2270)
- ZMQError: Bad address
- ---------------------------------------------------------------------------
- ZMQError Traceback (most recent call last)
- <string> in <module>()
- /opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/IPython/zmq/ipkernel.pyc in main()
- 927 """Run an IPKernel as an application"""
- 928 app = IPKernelApp.instance()
- --> 929 app.initialize()
- app.initialize = <bound method IPKernelApp.initialize of <IPython.zmq.ipkernel.IPKernelApp object at 0x96364ac>>
- 930 app.start()
- 931
- /opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/IPython/zmq/ipkernel.pyc in initialize(self=<IPython.zmq.ipkernel.IPKernelApp object>, argv=None)
- /opt/epd-7.3-2-rh5-x86/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)
- method = <function initialize at 0x963833c>
- app = <IPython.zmq.ipkernel.IPKernelApp object at 0x96364ac>
- args = (None,)
- kwargs = {}
- 85 except (TraitError, ArgumentError) as e:
- 86 app.print_description()
- /opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/IPython/zmq/ipkernel.pyc in initialize(self=<IPython.zmq.ipkernel.IPKernelApp object>, argv=None)
- 813 @catch_config_error
- 814 def initialize(self, argv=None):
- --> 815 super(IPKernelApp, self).initialize(argv)
- global super = undefined
- global IPKernelApp = <class 'IPython.zmq.ipkernel.IPKernelApp'>
- self.initialize = <bound method IPKernelApp.initialize of <IPython.zmq.ipkernel.IPKernelApp object at 0x96364ac>>
- argv = None
- 816 self.init_path()
- 817 self.init_shell()
- /opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/IPython/zmq/kernelapp.pyc in initialize(self=<IPython.zmq.ipkernel.IPKernelApp object>, argv=None)
- /opt/epd-7.3-2-rh5-x86/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)
- method = <function initialize at 0x90bf924>
- app = <IPython.zmq.ipkernel.IPKernelApp object at 0x96364ac>
- args = (None,)
- kwargs = {}
- 85 except (TraitError, ArgumentError) as e:
- 86 app.print_description()
- /opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/IPython/zmq/kernelapp.pyc in initialize(self=<IPython.zmq.ipkernel.IPKernelApp object>, argv=None)
- 310 self.init_session()
- 311 self.init_poller()
- --> 312 self.init_sockets()
- self.init_sockets = <bound method IPKernelApp.init_sockets of <IPython.zmq.ipkernel.IPKernelApp object at 0x96364ac>>
- 313 self.init_heartbeat()
- 314 # writing/displaying connection info must be *after* init_sockets/heartbeat
- /opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/IPython/zmq/kernelapp.pyc in init_sockets(self=<IPython.zmq.ipkernel.IPKernelApp object>)
- 222 # atexit.register(context.term)
- 223
- --> 224 self.shell_socket = context.socket(zmq.ROUTER)
- self.shell_socket = undefined
- context.socket = <bound method Context.socket of <zmq.sugar.context.Context object at 0x969df44>>
- global zmq.ROUTER = 6
- 225 self.shell_port = self._bind_socket(self.shell_socket, self.shell_port)
- 226 self.log.debug("shell ROUTER Channel on port: %i"%self.shell_port)
- /opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/zmq/sugar/context.pyc in socket(self=<zmq.sugar.context.Context object>, socket_type=6)
- 80 if self.closed:
- 81 raise ZMQError(ENOTSUP)
- ---> 82 s = self._socket_class(self, socket_type)
- s = undefined
- self._socket_class = <class 'zmq.sugar.socket.Socket'>
- self = <zmq.sugar.context.Context object at 0x969df44>
- socket_type = 6
- 83 for opt, value in self.sockopts.items():
- 84 try:
- /opt/epd-7.3-2-rh5-x86/lib/python2.7/site-packages/zmq/core/socket.so in zmq.core.socket.Socket.__cinit__ (zmq/core/socket.c:2270)()
- ZMQError: Bad address
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement