2012-08-11 84 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