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

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/mailman-users/attachments/20020522/22959899/attachment.htm

Search Discussions

  • Ashley M. Kirchner at May 22, 2002 at 5:31 pm

    Joseph Kezar wrote:

    File "/home/mailman/Mailman/Handlers/ToDigest.py", line 279, in Present
    lines.append(self.__mlist.digest_header % self.TemplateRefs())
    ValueError: unsupported format character 'r' (0x72) What could have broken
    this? And how can it be fixed?
    Someone edited the digest template? Check for characters needing to be
    escaped...I think - I don't use the digest feature on none but one of my lists.

    --
    W | I haven't lost my mind; it's backed up on tape somewhere.
    +--------------------------------------------------------------------
    Ashley M. Kirchner <mailto:ashley at pcraft.com> . 303.442.6410 x130
    IT Director / SysAdmin / WebSmith . 800.441.3873 x130
    Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6
    http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
  • Barry A. Warsaw at May 25, 2002 at 4:31 pm
    "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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedMay 22, '02 at 4:20p
activeMay 25, '02 at 4:31p
posts3
users3
websitelist.org

People

Translate

site design / logo © 2022 Grokbase