[Mailman-Users] fixing shunted messages

Patrick Okui pokui at infocom.co.ug
Sun Mar 7 21:01:36 CET 2010


Hi all,

I'm running the mailman that ships with opensuse 11.2 - running /usr/ 
lib/mailman/bin/version gives:

Using Mailman version: 2.1.11

I have lots of email to my mailing lists stuck in the shunt queue (and  
no, they aren't delivered). According to http://wiki.list.org/pages/viewpage.action?pageId=4030704 
  and searches of the archives, it is to do with mailman not managing  
to run one of the processes on the email.

The tracebacks for these emails follows - could someone give me a clue  
on why the queue runner and the archiver claim the messages have no  
"get_type" ?

Running unshunt doesn't deliver the messages, it just logs more such  
tracebacks.

--
patrick

Mar 07 22:52:07 2010 (23634) SHUNTING:  
1267989214.492028+f0d7863592a47b2376a3ed8719376f68600b8709
Mar 07 22:52:07 2010 (23634) uncaught archiver exception at filepos: 0
Mar 07 22:52:07 2010 (23634) Uncaught runner exception: Message  
instance has no attribute 'get_type'
Mar 07 22:52:07 2010 (23634) Traceback (most recent call last):
   File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 120, in  
_oneloop
     self._onefile(msg, msgdata)
   File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 191, in  
_onefile
     keepqueued = self._dispose(mlist, msg, msgdata)
   File "/usr/lib/mailman/Mailman/Queue/ArchRunner.py", line 73, in  
_dispose
     mlist.ArchiveMail(msg)
   File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 216, in  
ArchiveMail
     h.processUnixMailbox(f)
   File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 564, in  
processUnixMailbox
     m = mbox.next()
   File "/usr/lib/python2.6/mailbox.py", line 1955, in next
     return self.factory(_PartialFile(self.fp, start, stop))
   File "/usr/lib/mailman/Mailman/Mailbox.py", line 89, in scrubber
     return mailbox.scrub(msg)
   File "/usr/lib/mailman/Mailman/Mailbox.py", line 109, in scrub
     return self._scrubber(self._mlist, msg)
   File "/usr/lib/mailman/Mailman/Handlers/Scrubber.py", line 192, in  
process
     ctype = part.get_type(part.get_default_type())
AttributeError: Message instance has no attribute 'get_type'

Mar 07 22:52:07 2010 (23634) SHUNTING:  
1267990733.944869+e78b99c1915ce48434e1c8f2de4928bf18000659
Mar 07 22:52:07 2010 (23634) uncaught archiver exception at filepos: 0
Mar 07 22:52:07 2010 (23634) Uncaught runner exception: Message  
instance has no attribute 'get_type'
Mar 07 22:52:07 2010 (23634) Traceback (most recent call last):
   File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 120, in  
_oneloop
     self._onefile(msg, msgdata)
   File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 191, in  
_onefile
     keepqueued = self._dispose(mlist, msg, msgdata)
   File "/usr/lib/mailman/Mailman/Queue/ArchRunner.py", line 73, in  
_dispose
     mlist.ArchiveMail(msg)
   File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 216, in  
ArchiveMail
     h.processUnixMailbox(f)
   File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 564, in  
processUnixMailbox
     m = mbox.next()
   File "/usr/lib/python2.6/mailbox.py", line 1955, in next
     return self.factory(_PartialFile(self.fp, start, stop))
   File "/usr/lib/mailman/Mailman/Mailbox.py", line 89, in scrubber
     return mailbox.scrub(msg)
   File "/usr/lib/mailman/Mailman/Mailbox.py", line 109, in scrub
     return self._scrubber(self._mlist, msg)
   File "/usr/lib/mailman/Mailman/Handlers/Scrubber.py", line 192, in  
process
     ctype = part.get_type(part.get_default_type())
AttributeError: Message instance has no attribute 'get_type'



More information about the Mailman-Users mailing list