[Twisted-Python] problems with tracebacks

Manlio Perillo manlio_perillo at libero.it
Fri Aug 4 14:09:16 MDT 2006


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)


And the log file:
[...]

2006/08/04 21:59 ora solare Europa occidentale [-] -->
test.test_mail.TestMail.test_email_plain <--

2006/08/04 21:59 ora solare Europa occidentale [-] -->
test.test_mail.TestMail.test_sendmail_html <--

2006/08/04 21:59 ora solare Europa occidentale [-] -->
test.test_mail.TestMail.test_sendmail_text <--

2006/08/04 21:59 ora solare Europa occidentale [-] Main loop terminated.
2006/08/04 21:59 ora solare Europa occidentale [-] Main loop terminated.



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.

P.S
Why I got the "Main loop terminated" two times?



Thanks and regards  Manlio Perillo




More information about the Twisted-Python mailing list