[Mailman-Users] /home/mailman/cron/senddigest yields ValueError
Dan Mick
Dan.Mick at west.sun.com
Tue Nov 14 04:40:14 CET 2000
Looks to me like your digest_header value has a "percent-newline" ("%\n")
sequence in it; the % operator tried to substitute things from TemplateRefs() into
the digest_header, and failed with the message "unsupported format character.." and
things that indicate "newline".
Rethink your digest text wrt percent signs.
"Jonathan C. Detert" wrote:
>
> Hello,
>
> Can anyone explain what the error shown below means, and how to fix it?
>
> Thanks
>
> ----- Forwarded message from Cron Daemon <root at lists.msoe.edu> -----
>
> From: root at lists.msoe.edu (Cron Daemon)
> To: mailman at lists.msoe.edu
> Subject: Cron <mailman at lists> /usr/bin/python -S /home/mailman/cron/senddigests
> Date: Sun, 12 Nov 2000 12:00:05 -0600
> Message-Id: <200011121800.eACI05I30274 at lists.msoe.edu>
>
> 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 '
> ' (0xd)
>
> ----- End forwarded message -----
>
> --
> Happy Landings,
>
> Jon Detert
> Unix System Administrator, Milwaukee School of Engineering
> 1025 N. Broadway, Milwaukee, Wisconsin 53202
>
> ------------------------------------------------------
> Mailman-Users maillist - Mailman-Users at python.org
> http://www.python.org/mailman/listinfo/mailman-users
More information about the Mailman-Users
mailing list