##// END OF EJS Templates
truncate potentially long CompositeErrors...
truncate potentially long CompositeErrors If you have a typo in a task on 100 engines, the local exception will be a bit ridiculous. This defaults the truncation to 4 tracebacks (could be even fewer, or even one?), and you can set the tb_limit attribute of CompositeError to adjust this. Prompted by [this SO question](http://stackoverflow.com/questions/14635935/silence-or-condence-ipython-parallel-exceptions).

File last commit:

r9372:37f32253
r9411:529df40f
Show More
__init__.py
20 lines | 554 B | text/x-python | PythonLexer
"""The IPython HTML Notebook"""
# check for tornado 2.1.0
msg = "The IPython Notebook requires tornado >= 2.1.0"
try:
import tornado
except ImportError:
raise ImportError(msg)
try:
version_info = tornado.version_info
except AttributeError:
raise ImportError(msg + ", but you have < 1.1.0")
if version_info < (2,1,0):
raise ImportError(msg + ", but you have %s" % tornado.version)
del msg
# check for pyzmq 2.1.4
from IPython.kernel.zmq import check_for_zmq
check_for_zmq('2.1.4', 'IPython.frontend.html.notebook')
del check_for_zmq