延迟中未处理的错误

时间:2012-08-11 04:04:31

标签: python twisted twisted.web

似乎是内部扭曲的错误...它定期出现,实际上一切都保持良好,但可能是我的错误?代码非常大,所以我pasted it there,错误:

07:51:32 startLive
07:51:34 time is off
07:51:34 again
07:51:36 time is off
07:51:36 again
07:51:38 time is off
07:51:38 again
07:51:40 time is off
07:51:40 again
07:51:42 time is off
07:51:42 again
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
Failure: twisted.internet.defer.CancelledError: 
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
Failure: twisted.internet.defer.CancelledError: 
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
Failure: twisted.internet.defer.CancelledError: 
07:51:44 time is off
07:51:44 again
07:51:46 time is off
07:51:46 again
07:51:48 time is off
07:51:48 again

1 个答案:

答案 0 :(得分:2)

您粘贴的代码中没有任何一个Deferred.addErrback来电(请收听Glyph,不要在外部网站上粘贴代码)。

您应该阅读the section of the Deferred documentation on errbacks