[Mailman-Users] us-ascii problem with new install in Ubuntu

Mark Sapiro msapiro at value.net
Thu Nov 9 02:24:37 CET 2006

Kyle Sexton wrote:

>Fresh install of mailman on an Ubuntu system and I get the following error
>cropping up when I send a message to a list:
>Nov 08 17:04:20 2006 (9848) uncaught archiver exception at filepos: 0
>Nov 08 17:04:20 2006 (9848) Uncaught runner exception: us-ascii
>Nov 08 17:04:20 2006 (9848) Traceback (most recent call last):
>  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
>    self._onefile(msg, msgdata)
>  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 167, in _onefile
>    keepqueued = self._dispose(mlist, msg, msgdata)
>  File "/usr/lib/mailman/Mailman/Queue/ArchRunner.py", line 73, in _dispose
>    mlist.ArchiveMail(msg)
>  File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 214, in
>    h.processUnixMailbox(f)
>  File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 564, in
>    m = mbox.next()
>  File "mailbox.py", line 35, in next
>    return self.factory(_Subfile(self.fp, start, stop))
>  File "/usr/lib/mailman/Mailman/Mailbox.py", line 89, in scrubber
>    return mailbox.scrub(msg)
>  File "/usr/lib/mailman/Mailman/Mailbox.py", line 109, in scrub
>    return self._scrubber(self._mlist, msg)
>  File "/usr/lib/mailman/Mailman/Handlers/Scrubber.py", line 397, in process
>    replace_payload_by_text(msg, sep.join(text), charset)
>  File "/usr/lib/mailman/Mailman/Handlers/Scrubber.py", line 175, in
>    msg.set_payload(text, charset)

What Mailman version is this? The above line numbers in Scrubber.py
don't match any of 2.1.7 (when replace_payload_by_text was first
introduced) through 2.1.9. It looks like your version has a modified
(by Ubuntu or ?) version of Scrubber.py that is broken - perhaps
somewhere charset is being assigned us-ascii instead of 'us-ascii'.

>  File "email/Message.py", line 218, in set_payload
>  File "email/Message.py", line 242, in set_charset
>TypeError: us-ascii
>Nov 08 17:04:20 2006 (9848) SHUNTING:
>It looks to me to be some type of language pack problem?  Mails go through
>to the different users without issue, but never seem to make it to the
>archive pool.

The messages are shunted. Once you resolve the Scrubber.py issue, you
can run bin/unshunt and they will be archived.

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