[Mailman-Users] Shunting Problem
Mark Sapiro
msapiro at value.net
Fri Nov 24 07:25:51 CET 2006
Stephan Jennewein wrote:
>
>Today I got the following problem with one of my maillinglists.
>Unshunt didn't help because the mails are allways ending up in
>qfiles/shunt. Is there a solution to this problem ?
>
>Greets
>Stephan
>
>Nov 24 00:16:05 2006 (10169) Uncaught runner exception: us-ascii
>Nov 24 00:16:05 2006 (10169) Traceback (most recent call last):
> File "/var/lib/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
> self._onefile(msg, msgdata)
> File "/var/lib/mailman/Mailman/Queue/Runner.py", line 167, in _onefile
> keepqueued = self._dispose(mlist, msg, msgdata)
> File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in
>_dispose
> more = self._dopipeline(mlist, msg, msgdata, pipeline)
> File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in
>_dopipeline
> sys.modules[modname].process(mlist, msg, msgdata)
> File "/var/lib/mailman/Mailman/Handlers/ToDigest.py", line 92, in
>process
> send_digests(mlist, mboxfp)
> File "/var/lib/mailman/Mailman/Handlers/ToDigest.py", line 133, in
>send_digests
> send_i18n_digests(mlist, mboxfp)
> File "/var/lib/mailman/Mailman/Handlers/ToDigest.py", line 315, in
>send_i18n_digests
> msg = scrubber(mlist, msg)
> File "/var/lib/mailman/Mailman/Handlers/Scrubber.py", line 379, in
>process
> msg.set_payload(sep.join(text), charset)
> File "/usr/lib/python2.4/email/Message.py", line 218, in set_payload
> self.set_charset(charset)
> File "/usr/lib/python2.4/email/Message.py", line 242, in set_charset
> raise TypeError(charset)
>TypeError: us-ascii
>
>Nov 24 00:16:05 2006 (10169) SHUNTING: 1164323765.2546699
>+628864c581b16afb569997ef9ff416b5537b5f13
There is a similar report, as yet unresolved, at
<http://mail.python.org/pipermail/mailman-users/2006-November/054246.html>.
One problem in your case is the traceback above indicates you are
getting the 'email' package from /usr/lib/python2.4/ whereas you
should be getting it from /var/lib/mailman/pythonlib/. There should be
a /var/lib/mailman/bin/paths.py module which is imported by
bin/mailmanctl and by bin/qrunner and which contains among other things
# We also need the pythonlib directory on the path to pick up any
overrides of
# standard modules and packages. Note that these must go at the front
of the
# path for this reason.
sys.path.insert(0, os.path.join(prefix, 'pythonlib'))
Is this the case?
--
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