Ipython 0.12 错误状态行。此消息是什么意思
我的 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: ''
My IPython parallel program crashed at yesterday midnight. Below is the error message. I do not know what does this message exactly mean? How can I trace the exception? What does the message "BadStatusLine" mean?
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: ''
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
BadStatusLine 是来自 httplib 的错误。 IPython 不会引发此错误,你的代码在引擎上。 IPython 将错误从引擎传播到客户端。你的代码是做什么的?如果它从网络获取内容,则其中一些请求会失败,并显示 httplib 无法理解的错误代码。
BadStatusLine is an error from httplib. IPython is not raising this error, your code on the engines is. IPython propagates your errors up from the engines to your client. What does your code do? If it is fetching things from the network, some of those requests are failing with an error code httplib does not understand.