Mailman broken with error loop re digest

Bug #265561 reported by Bug Importer
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Medium
Unassigned

Bug Description

Running Mailman 2.03, on BSD Unix.

Mailing list ceased functioning -- mails in queue were not processed, and
logs repeated error
endlessly, resulting in extremely large (5 meg) error log file over a
period of about 8 days. No email
was generated at all during this time -- basically Mailman functioned like
a black hole.

Error Logs showed this:

Initial error message:

> ' (0xd)20:21:02 2001 (95844) Delivery exception: unsupported format
character '
> Oct 09 20:21:02 2001 (95844) Traceback (most recent call last):
> File "/usr/local/mailman/Mailman/Handlers/HandlerAPI.py",
line 82, in
> do_pipeline
> func(mlist, msg, msgdata)
> File "/usr/local/mailman/Mailman/Handlers/ToDigest.py",
line 121, in process
> inject_digest(mlist, digestfile, topicsfile)
> File "/usr/local/mailman/Mailman/Handlers/ToDigest.py",
line 176, in
> inject_digest
> msg = digest.asText()
> File "/usr/local/mailman/Mailman/Handlers/ToDigest.py",
line 245, in asText
> return self.Present(mime=0)
> File "/usr/local/mailman/Mailman/Handlers/ToDigest.py",
line 279, in Present
> lines.append(self.__mlist.digest_header % self.TemplateRefs())
> ' (0xd)ror: unsupported format character '

Message at end of file:

> ' (0xd)20:21:02 2001 (95844) Delivery exception: unsupported format
character '
> Oct 09 20:21:02 2001 (95844) Traceback (most recent call last):
> File "/usr/local/mailman/Mailman/Handlers/HandlerAPI.py",
line 82, in
> do_pipeline
> func(mlist, msg, msgdata)
> File "/usr/local/mailman/Mailman/Handlers/ToDigest.py",
line 121, in process
> inject_digest(mlist, digestfile, topicsfile)
> File "/usr/local/mailman/Mailman/Handlers/ToDigest.py",
line 176, in
> inject_digest
> msg = digest.asText()
> File "/usr/local/mailman/Mailman/Handlers/ToDigest.py",
line 245, in asText
> return self.Present(mime=0)
> File "/usr/local/mailman/Mailman/Handlers/ToDigest.py",
line 279, in Present
> lines.append(self.__mlist.digest_header % self.TemplateRefs())
> ' (0xd)ror: unsupported format character '

Entries in "digest":
> Oct 14 19:51:01 2001 (46261) Fac v 31 - 10768 msgs, 1 recips (0 mime,
1 text,
> 0 disabled)
> Oct 14 19:51:01 2001 (46261) Fac v 31 - 10769 msgs, 1 recips (0 mime,
1 text,
> 0 disabled)
> Oct 14 19:51:01 2001 (46261) Fac v 31 - 10770 msgs, 1 recips (0 mime,
1 text,
> 0 disabled)

The next-digest and next-digest-topics files were huge. (next-digest was
about 10 megs)

Problem was remedied by deleting all files in qfile and deleting
next-digest and nest-digest-topics
file.

[http://sourceforge.net/tracker/index.php?func=detail&aid=471200&group_id=103&atid=100103]

Revision history for this message
Barry Warsaw (barry) wrote :

If your header or footer has a bad Python string
interpolation -- e.g. %(no_s_after_paren)

then you will get these errors. This is fixed in the
lastest MM2.0.x release and in MM2.1. You'll still get
entries in your log files when this happens but it won't
break your lists.

I suggest you upgrade to MM2.0.9 (or 2.0.10 when it is
releaed tomorrow).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.