[Mailman-Users] All Lists Shunted

Mark Sapiro mark at msapiro.net
Wed Nov 26 06:04:44 CET 2008


Craig Kelley wrote:
>
>After upgrading to 2.1.11, all email is being "shunted" with this error message:
>
>v 25 10:32:19 2008 (3944) Traceback (most recent call last):
>  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop
>    self._onefile(msg, msgdata)
>  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 191, in _onefile
>    keepqueued = self._dispose(mlist, msg, msgdata)
>  File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 130,
>in _dispose
>    more = self._dopipeline(mlist, msg, msgdata, pipeline)
>  File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 153,
>in _dopipeline
>    sys.modules[modname].process(mlist, msg, msgdata)
>  File "/usr/local/mailman/Mailman/Handlers/AvoidDuplicates.py", line
>39, in process
>    recips = msgdata['recips']
>KeyError: recips


Something is very wrong with your installation. In the normal pipeline
(GLOBAL_PIPELINE in Defaults.py), CalcRecips precedes AvoidDuplicates
and CalcRecips always sets msgdata['recips']



>Nov 25 10:32:19 2008 (32088) Uncaught runner exception: 'module'
>object has no attribute 'process'
>Nov 25 10:32:19 2008 (32088) Traceback (most recent call last):
>  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop
>    self._onefile(msg, msgdata)
>  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 191, in _onefile
>    keepqueued = self._dispose(mlist, msg, msgdata)
>  File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 130,
>in _dispose
>    more = self._dopipeline(mlist, msg, msgdata, pipeline)
>  File "/usr/local/mailman/Mailman/Queue/IncomingRunner.py", line 153,
>in _dopipeline
>    sys.modules[modname].process(mlist, msg, msgdata)
>AttributeError: 'module' object has no attribute 'process'


And this is just wierd. The KeyError above should cause the message to
be shunted and that should be it. Why are we still processing the
pipeline and what's in the pipeline that has no process attribute?
(rhetorical question)


>Nov 25 10:32:19 2008 (32088) SHUNTING:
>1227562048.9204731+b9fba2b13960cde7e402f9f5f2a18a299315bf96
>
>Can I safely go back to 2.1.9?  It yells at me if I attempt to.


If it's only bin/update at the very end that complains, you're already
back. I don't recall offhand if make install complains. I'm also not
certain it's OK to downgrade from 2.1.11 to 2.1.9, but of course, if
you backed up your 2.1.9 installation, you can just restore it.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list