[Mailman-Users] message shunted

Tokio Kikuchi tkikuchi at is.kochi-u.ac.jp
Tue Oct 4 03:54:43 CEST 2005


Hi,

There was a warning message from uu.decode module in python library and 
the mailman logger somehow couldn't print it in the log files.  Anyway, 
ToDigest.py in 2.1.6 can stall the regular delivery by uknown errors. 
You may want to update ToDigest.py from the most recent CVS.  Here is a 
excerpt from the CVS log:

Revision 2.22.2.12  - (view) (download) (as text) (annotate) - [select 
for diffs]
Sun Jun 26 05:27:47 2005 UTC (3 months, 1 week ago) by tkikuchi
Branch: Release_2_1-maint
Changes since 2.22.2.11: +14 -3 lines
Diff to previous 2.22.2.11 , to branch point 2.22

Fix SF BugID 1179487:
     Although the RFC2231 bug example in the tracker has been solved in
mailman-2.1.6, there may be more cases where ToDigest.send_digests() can
block regular delivery.  I put the send_digests() calling part in try -
except clause and leave a message in the error log if something happened
in send_digests().  Daily call of cron/senddigests will notify more details
to the site administrator.


Gregory Mokhin wrote:

> Hello,
> 
> I've got 2.1.6 installation that has been working perfectly for
> several months, but today a message was shunted, and I had to unshunt
> it manually.
> 
> What can be the reason of the following errors? The last line
> (trailing garbage) appears when I run bin/unshunt.
> 
> Regards, Gregory
> 
> 
> ==========================
> Oct 03 19:31:14 2005 (19797) Uncaught runner exception: [Errno 5]
> Input/output error
> Oct 03 19:31:15 2005 (19797) Traceback (most recent call last):
>   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
>     self._onefile(msg, msgdata)
>   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 167, 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/ToDigest.py", line 92, in
> process
>     send_digests(mlist, mboxfp)
>   File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 133, in
> send_digests
>     send_i18n_digests(mlist, mboxfp)
>   File "/usr/local/mailman/Mailman/Handlers/ToDigest.py", line 315, in
> send_i18n_digests
>     msg = scrubber(mlist, msg)
>   File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 286, in
> process
>     payload = part.get_payload(decode=True)
>   File "/usr/local/mailman/pythonlib/email/Message.py", line 223, in
> get_payload
>     uu.decode(StringIO(payload+'\n'), sfp)
>   File "/usr/lib/python2.4/uu.py", line 139, in decode
>     sys.stderr.write("Warning: %s\n" % str(v))
>   File "/usr/local/mailman/Mailman/Logging/MultiLogger.py", line 45,
> in write
>     _logexc(logger, msg)
>   File "/usr/local/mailman/Mailman/Logging/Utils.py", line 22, in _logexc
>     sys.__stderr__.write('Logging error: %s\n' % logger)
> IOError: [Errno 5] Input/output error
> 
> Oct 03 19:31:15 2005 (19797) SHUNTING:
> 1128356560.2973039+4b942190224bf00c2f961bb06c0f123f9e79c412
> 
> Oct 03 21:27:43 2005 qrunner(6065): Warning: Trailing garbage
> 

-- 
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/




More information about the Mailman-Users mailing list