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 <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to