[Mailman-Users] Suddenly Stopped

Barry A. Warsaw barry at zope.com
Sat May 25 18:31:28 CEST 2002


>>>>> "JK" == Joseph Kezar <jkezar at doc.state.vt.us> writes:

    JK> we have been using MailMan 2.0.6 for quite a long time here.
    JK> Last week the digests stopped going out at noon(12:00pm).  The
    JK> cron job returns this error:

    JK> Traceback (innermost last):
    JK>   File "/home/mailman/cron/senddigests", line 65, in ?  main()
    JK> File "/home/mailman/cron/senddigests", line 42, in main
    JK> send_list_digest(mlist) File "/home/mailman/cron/senddigests",
    JK> line 53, in send_list_digest ToDigest.inject_digest(mlist,
    JK> digestfile, topicsfile) File
    JK> "/home/mailman/Mailman/Handlers/ToDigest.py", line 176, in
    JK> inject_digest msg = digest.asText() File
    JK> "/home/mailman/Mailman/Handlers/ToDigest.py", line 245, in
    JK> asText return self.Present(mime=0) File
    JK> "/home/mailman/Mailman/Handlers/ToDigest.py", line 279, in
    JK> Present lines.append(self.__mlist.digest_header %
    JK> self.TemplateRefs())
    JK> ValueError: unsupported format character 'r' (0x72)

    JK> The cron command is /usr/bin/python -S
    JK> /home/mailman/cron/senddigests What could have broken this?
    JK> And how can it be fixed?

Someone added a digest footer with an illegal %(name)s string in it.

First, upgrade to MM2.0.11 and you won't get these crashes any more;
you'll just get warnings instead.  Those warnings will help you track
down the list with the offending footer.

-Barry





More information about the Mailman-Users mailing list