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

Kyle Sexton ks at mocker.org
Thu Nov 9 02:34:45 CET 2006


On 11/8/06, Mark Sapiro <msapiro at value.net> wrote:
>
> 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
> >ArchiveMail
> >    h.processUnixMailbox(f)
> >  File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 564, in
> >processUnixMailbox
> >    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
> >replace_payload_by_text
> >    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:
> >1163027059.0068791+6913355f30b2fbfb61b3469f5bf538e0ed51ecb9
> >
> >
> >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
>
>
Mark,

Thanks for your reply.  I realized after I sent the message that I left of
the version numbers:

mailman 2.1.8-2ubuntu2

My Scrubber.py has a filesize of 22414, and I posted it here:
http://pastebin.ca/243930.  Is it possible that there is a language pack or
something missing in the default Ubuntu install that is a dependency I'm
missing?

-- 
Kyle Sexton



More information about the Mailman-Users mailing list