The mailman lists on my server have suddenly stopped delivering mail. The error 
of one of the messages is cut and paste below ... All the messages are being 
shunted off and not delivered when it reaches the Approval.py and has trouble 
inporting ...? 

 File "/usr/local/cpanel/3rdparty/mailman/Mailman/Handlers/Approve.py", line 
28, in ?
   from email.Iterators import typed_subpart_iterator
ImportError: cannot import name typed_subpart_iterator

These are the first few lines from the Approval.py file (email.Iterators is 
located in mailman/pythonlib/email/): 

import re
from email.Iterators import typed_subpart_iterator
from Mailman import mm_cfg
from Mailman import Errors

Any help in solving this issue would be appreciated. Thanks!

/S

***** FULL ERROR LOG FOR ONE MESSAGE
Dec 07 19:11:09 2006 (20316) Traceback (most recent call last):
 File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 112, 
in _oneloop
   self._onefile(msg, msgdata)
 File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/Runner.py", line 170, 
in _onefile
   keepqueued = self._dispose(mlist, msg, msgdata)
 File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/IncomingRunner.py", 
line 130, in _dispose
   more = self._dopipeline(mlist, msg, msgdata, pipeline)
 File "/usr/local/cpanel/3rdparty/mailman/Mailman/Queue/IncomingRunner.py", 
line 150, in _dopipeline
   __import__(modname)
 File "/usr/local/cpanel/3rdparty/mailman/Mailman/Handlers/Approve.py", line 
28, in ?
   from email.Iterators import typed_subpart_iterator
ImportError: cannot import name typed_subpart_iterator

Dec 07 19:11:09 2006 (20316) SHUNTING: 
1165536668.997515+23c357cc0271458d05b79dcd2a490bb937d5928e

---------------------------------------------
This message was sent using Endymion MailMan.
http://www.endymion.com/products/mailman/


------------------------------------------------------
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&file=faq01.027.htp

Reply via email to