4
我不時得到這個錯誤,不知道如何調試。龍捲風中斷系統調用
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/tornado/ioloop.py", line 662, in start
event_pairs = self._impl.poll(poll_timeout)
IOError: [Errno 4] Interrupted system call
有人知道這意味着什麼/什麼時候發生?
我使用python 2.7和3.2.1龍捲風
更新:此代碼是ioloop.py
try:
event_pairs = self._impl.poll(poll_timeout)
except Exception as e:
# Depending on python version and IOLoop implementation,
# different exception types may be thrown and there are
# two ways EINTR might be signaled:
# * e.errno == errno.EINTR
# * e.args is like (errno.EINTR, 'Interrupted system call')
if (getattr(e, 'errno', None) == errno.EINTR or
(isinstance(getattr(e, 'args', None), tuple) and
len(e.args) == 2 and e.args[0] == errno.EINTR)):
continue
else:
raise
好吧,它現在似乎是同樣的事情。檢查**更新** – alexm92