[Mailman-Developers] shunt / unshunt

Danny Terweij danny@terweij.nl
Sat, 29 Jun 2002 16:41:41 +0200


From: "Barry A. Warsaw" <barry@zope.com>

> You need to tail your logs/error file.  Messages get sent to shunt
> when there's a bug in Mailman so there should be a traceback in the
> error log.
>
> The idea is that you <wink> fix the bug, then run bin/unshunt to
> complete delivery of those messages.  It doesn't do any good to
> unshunt a message while the bug still exists.


Hmm,
I did the following:
Translation of /nl/mailman.po
Not all translations are translated, i did want to see the already created
translations..
I ran msgfmt and copy messages.mo to mailman.mo
Created the new language  at Defaults.py (bottom).
At the mailing list admin links (Test list), set default language to Dutch,
and set the users language to Dutch.

Then when sending a message to the list it is not processed. it sits then in
the shunt dir.

Lets take a look at the  error file:

Jun 29 16:43:30 2002 (17486) Uncaught runner exception: nl
Jun 29 16:43:30 2002 (17486) Traceback (most recent call last):
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 105, in __oneloop
    self.__onefile(msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 154, in __onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/local/mailman/Mailman/Queue/CommandRunner.py", line 183, in
_dispose
    msg = res.make_response()
  File "/usr/local/mailman/Mailman/Queue/CommandRunner.py", line 143, in
make_response
    _charset=Utils.GetCharSet(self.mlist.preferred_language))
  File "/usr/local/mailman/Mailman/Utils.py", line 649, in GetCharSet
    return mm_cfg.LC_DESCRIPTIONS[lang][1]
KeyError: nl