[Mailman-Users] Mailman stop delivering ... problem with Approval.py?

parallax at lafn.org parallax at lafn.org
Thu Dec 7 22:14:58 CET 2006


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/




More information about the Mailman-Users mailing list