2012-08-11 75 views
0

看起来它是内部扭曲的错误......它定期出现,实际上一切都保持正常工作,但可能是我的错误? A码是相当大的,所以我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 
+0

请将您的代码缩减为一个小型自包含示例,并将其包含在您的问题中,而不是pastebin。 – Glyph 2012-08-11 08:25:40

回答

2

还有就是不要Deferred.addErrback一个呼叫代码的任何地方你粘贴(并请听字型,不要外部粘贴代码网站)。您可以阅读the section of the Deferred documentation on errbacks

+0

谢谢...我会做的。该代码太大而无法发布。 – scythargon 2012-08-11 11:06:08

+0

您通常可以缩短它将保留与问题相关的部分:http://sscce.org/ – 2012-08-12 11:22:03