[Mailman-Users] Missing reject message

Mark Sapiro msapiro at value.net
Wed Aug 1 02:15:18 CEST 2007


Par Leijonhufvud wrote:
>
>The error log contains batches of lines like:
>
>: Jul 30 18:54:24 2007 (22938) SHUNTING: 1185814463.897408+034ae029c666d13146eca9da915230fe846786c9
>: Jul 31 00:47:55 2007 (22938) Uncaught runner exception: incomplete format
>: Jul 31 00:47:55 2007 (22938) Traceback (most recent call last):
>:   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
>:     self._onefile(msg, msgdata)
>:   File "/usr/local/mailman/Mailman/Queue/Runner.py", line 170, 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/Moderate.py", line 111, in process
>:     do_reject(mlist)
>:   File "/usr/local/mailman/Mailman/Handlers/Moderate.py", line 139, in do_reject
>:     raise Errors.RejectMessage, \
>:   File "/usr/local/mailman/Mailman/i18n.py", line 90, in _
>:     return tns % dict
>: ValueError: incomplete format


The nonmember_rejection_notice for the non working list contains a 'bad
format'. This is probably because it contains a bare percent symbol
(%). If you want to include percent symbols in the text of this
message, they have to be doubled as in "More than 98%% of the
non-member posts to this list are spam". This will result in a single
'%' in the result.

-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list