[Mailman-Users] Failure in bin/arch

Morgan Fletcher morgan at hahaha.org
Fri Feb 15 18:02:47 CET 2002


I have a 360MB listname.mbox file, which is concatenated from six years of
majordomo archives. I tried archiving the mbox using bin/arch (via the
built-in pipermail), and got this:

Traceback (most recent call last):
  File "bin/arch", line 129, in ?
    main()
  File "bin/arch", line 118, in main
    archiver.processUnixMailbox(fp, Article)
  File "/home/mailman/Mailman/Archiver/pipermail.py", line 526, in processUnixMa
ilbox
    a = articleClass(m, self.sequence)
  File "/home/mailman/Mailman/Archiver/HyperArch.py", line 207, in __init__
    self.__super_init(message, sequence, keepHeaders)
  File "/home/mailman/Mailman/Archiver/pipermail.py", line 175, in __init__
    self._set_date(message)
  File "/home/mailman/Mailman/Archiver/HyperArch.py", line 419, in _set_date
    self.__super_set_date(message)
  File "/home/mailman/Mailman/Archiver/pipermail.py", line 228, in _set_date
    date = message.getdate_tz('Date')
  File "/usr/pkg/lib/python2.0/rfc822.py", line 371, in getdate_tz
    return parsedate_tz(data)
  File "/usr/pkg/lib/python2.0/rfc822.py", line 828, in parsedate_tz
    if data[0][-1] in (',', '.') or string.lower(data[0]) in _daynames:
IndexError: list index out of range

The sourceforge site is down right now, I'll report this when its up.

I'm running Mailman 2.0.8 on Python 2.0, NetBSD 1.5.1. I've applied these
patches:

  mailman-2.0.8-plaintext-0.16.patch
  indexing-2.0.6.patch
  htdig-2.0.8-0.1.patch

The mbox has some older messages for which pipermail apparently punts,
setting their date to February 2002. I will look into a work-around which
splits and then rebuilds the mbox with better date formatting. Not sure how
to go about that..

The list has been served by majordomo for six years, with the archives
parsed and displayed by mhonarc and searchable by glimpse via wilma. We're
switching to mailman, and I'd like to try pipermail+htdig.

Can pipermail be expected to parse such a large archive? The machine has
lots of CPU, RAM and disk space.

Any advice?

Morgan






More information about the Mailman-Users mailing list