[Mailman-Developers] Re: bin/arch traceback

Greg Ward gward at mems-exchange.org
Wed Dec 4 16:31:34 2002


On 04 December 2002, I said:
> Andrew said that renaming away the existing HTML archive did the trick
> -- I'll do that, but I don't like making the archives for this list
> unavailable even for a few minutes.

Arrghh!  I did this and now bin/arch goes a lot farther, but it still
crashes eventually:

[...]
Updating HTML for article 4073
Updating HTML for article 4074
Updating HTML for article 4076
Pickling archive state into /usr/local/mailman/archives/private/mems-talk/pipermail.pck
Traceback (most recent call last):
  File "./bin/arch", line 173, in ?
    main()
  File "./bin/arch", line 161, in main
    archiver.processUnixMailbox(fp, start, end)
  File "/usr/local/mailman/Mailman/Archiver/pipermail.py", line 557, in processUnixMailbox
    a = self._makeArticle(m, self.sequence)
  File "/usr/local/mailman/Mailman/Archiver/HyperArch.py", line 619, in _makeArticle
    mlist=self.maillist)
  File "/usr/local/mailman/Mailman/Archiver/HyperArch.py", line 261, in __init__
    self.check_header_charsets(charset)
  File "/usr/local/mailman/Mailman/Archiver/HyperArch.py", line 350, in check_header_charsets
    author, a_charset = self.decode_charset(self.author)
  File "/usr/local/mailman/Mailman/Archiver/HyperArch.py", line 379, in decode_charset
    h = make_header(pairs, 99999)
  File "/usr/local/mailman/pythonlib/email/Header.py", line 123, in make_header
    h.append(s, charset)
  File "/usr/local/mailman/pythonlib/email/Header.py", line 230, in append
    ustr = unicode(s, incodec)
LookupError: unknown encoding

I presume this is some Asian encoding that's not *supposed* to appear in
an English-language list, but does.  Grumble.  I'll see if I can figure
out the offending message.

        Greg
-- 
Greg Ward - software developer                gward@mems-exchange.org
MEMS Exchange                            http://www.mems-exchange.org



More information about the Mailman-Developers mailing list