[Mailman-Users] Uncaught runner exception

Lothar Schilling ls at proasyl.de
Thu Feb 28 08:26:22 EST 2019


Hi everybody,

a few weeks ago I upgraded from 2.1.16 (as far as I can remember...) to
2.1.29. Everything seemed to work fine at first. But then I found out
that a lot of posts - actually far more than half of them - aren't
archived any longer. What logging the errors tells me is this:

Feb 28 12:29:02 2019 (3123) Uncaught runner exception: 'ascii' codec
can't decode byte 0xb5 in position 26: ordinal not in range(128)
Feb 28 12:29:02 2019 (3123) Traceback (most recent call last):
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 119, in _oneloop
    self._onefile(msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 190, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File "/usr/lib/mailman/Mailman/Queue/ArchRunner.py", line 77, in _dispose
    mlist.ArchiveMail(msg)
  File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 216, in
ArchiveMail
    h.processUnixMailbox(f)
  File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 596, in
processUnixMailbox
    self.add_article(a)
  File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 640, in
add_article
    author = fixAuthor(article.decoded['author'])
  File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 63, in
fixAuthor
    while i>0 and (L[i-1][0] in lowercase or [error message stops right
here]

As I read in a previous thread the reason for this may be non-ascii
compliant characters in the post, especially the "from:"-line. But why
would Python or Mailman now all of a sudden use ASCII instead of UTF-8
in the first place? And if so: How can I change that behaviour?

I am using Python 2.6.6 on a Centos 6 system. The output of
/usr/lib64/python >>> import string >>> string.lowercase is
'abcdefghijklmnopqrstuvwxyz' (as it is supposed to be).

Any help would be appreciated. Thank you

Lothar Schilling


More information about the Mailman-Users mailing list