[Twisted-Python] problems with tracebacks

Christopher Armstrong radix at twistedmatrix.com
Fri Aug 4 16:41:21 EDT 2006


On 8/4/06, Manlio Perillo <manlio_perillo at libero.it> wrote:
>
> This problem seems to happen from time in time.
>
> Traceback are not printed.
>
> Now I'm running trial on a test case and I got:
>
> [...]
> test.test_mail.TestMail.test_email_plain ... [OK]
> test.test_mail.TestMail.test_sendmail_html ... [ERROR]
> test.test_mail.TestMail.test_sendmail_text ... [ERROR]
>
>
> ===============================================================================
> [ERROR]: test.test_mail.TestMail.test_sendmail_html
>
> Failure: exceptions.IndexError: list index out of range
>
> ===============================================================================
> [ERROR]: test.test_mail.TestMail.test_sendmail_text
>
> Failure: twisted.internet.defer.TimeoutError: <test.test_mail.TestMail
> testMetho
> d=test_sendmail_text> (test_sendmail_text) still running at 3.0 secs
>
> -------------------------------------------------------------------------------
> Ran 4 tests in 3.078s
>
> FAILED (errors=2, successes=1)



Unfortunately every time I got this problem I'm unable to write a small
> reproducible code.
> And every time the problem is caused by a simple bug in the code.



What are your test cases subclassing? What version of Twisted are you using?


-- 
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20060804/010bacae/attachment.htm 


More information about the Twisted-Python mailing list