Ipython 0.12状态不佳。这个消息是什么意思

时间:2012-02-04 20:22:20

标签: ipython

我的IPython并行程序在昨天午夜坠毁。以下是错误消息。我不知道这条消息究竟意味着什么?如何跟踪异常?消息“BadStatusLine”是什么意思?

File "/usr/local/lib/python2.7/dist-packages/ipython-0.12-py2.7.egg/IPython/parallel/client/view.py", line 597, in execute
    return self._really_apply(util._execute, args=(code,), block=block, targets=targets)
  File "<string>", line 2, in _really_apply
  File "/usr/local/lib/python2.7/dist-packages/ipython-0.12-py2.7.egg/IPython/parallel/client/view.py", line 59, in sync_results
    ret = f(self, *args, **kwargs)
  File "<string>", line 2, in _really_apply
  File "/usr/local/lib/python2.7/dist-packages/ipython-0.12-py2.7.egg/IPython/parallel/client/view.py", line 48, in save_ids
    ret = f(self, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/ipython-0.12-py2.7.egg/IPython/parallel/client/view.py", line 535, in _really_apply
    return ar.get()
  File "/usr/local/lib/python2.7/dist-packages/ipython-0.12-py2.7.egg/IPython/parallel/client/asyncresult.py", line 104, in get
    raise self._exception
IPython.parallel.error.CompositeError: one or more exceptions from call to method: _execute
[11:apply]: BadStatusLine: ''
[12:apply]: BadStatusLine: ''
[13:apply]: BadStatusLine: ''

1 个答案:

答案 0 :(得分:1)

BadStatusLine是来自httplib的错误。 IPython没有引发这个错误,引擎上的你的代码。 IPython将您的错误从引擎传播到您的客户端。你的代码做了什么?如果从网络中获取内容,其中一些请求失败,并且httplib无法理解错误代码。