Lukasz Szybalski wrote:
>
>I put the original smtplib.py file back in /varlib/python.3/smtplib.py
>and i get the same problem again.
>
>Nov 08 16:41:31 2006 (13973) Low level smtp error: [Errno 9] Bad file
>descriptor, msgid:
><[EMAIL PROTECTED]>
>Nov 08 16:46:31 2006 (13973) delivery to [EMAIL PROTECTED] failed with
>code -1: [Errno 9] Bad file descriptor
>Nov 08 16:46:31 2006 (13973) Low level smtp error: [Errno 9] Bad file
>descriptor, msgid: <[EMAIL PROTECTED]>
>Nov 08 16:46:31 2006 (13973) delivery to [EMAIL PROTECTED] failed with
>code -1: [Errno 9] Bad file descriptor
>
>So i guess i will stick with the file i got from debian bug


Please post a 'diff -u' between the smtplib.py that works and the one
that doesn't work.

Lionel says that effectively all he changed in your working version was
writing debug output to sys.stderr instead of stdout, and when I
diffed Lionel's version with the Python 2.3.4 base, that's the only
change I saw, but there must be something else in your case or else
simply enabling the debug prints causes the problem because of the
writes to stdout, but then what caused the original problem.

In any case, I am very interested to see if there is some other change
in your original smtplib.py that is causing it to fail.

-- 
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to