[Mailman-Users] problem with arch converting majordomo archives to mailman

Todd Pfaff pfaff at edge.cis.McMaster.CA
Fri Aug 6 18:16:21 CEST 1999


i'm using mailman 1.0 and the ~mailman/bin/arch program to convert my
majordomo mbox format archives to mailman pipermail archives.

most of the majordomo archives were converted fine, but a small percentage
fail to convert, with the following output from the arch python program:

figuring article archives
1999-June
Processing article #2 into archives ['1999-June']
Updating index files for archive [1999-June]
  Date
  Subject
  Author
  Thread
Computing threaded index
Traceback (innermost last):
  File "/home/mailman/bin/arch", line 47, in ?
    archiver.close()
  File "/home/mailman/Mailman/Archiver/HyperArch.py", line 906, in close
    self.update_dirty_archives()# Update all changed archives
  File "/home/mailman/Mailman/Archiver/HyperArch.py", line 871, in update_dirty_archives
    self.update_archive(i)
  File "/home/mailman/Mailman/Archiver/pipermail.py", line 330, in update_archive
    self.write_index_header()
  File "/home/mailman/Mailman/Archiver/HyperArch.py", line 738, in write_index_header
    self.updateThreadedIndex()
  File "/home/mailman/Mailman/Archiver/pipermail.py", line 269, in updateThreadedIndex
    self.database.setThreadKey(self.archive, article.threadKey+'\000'+article.msgid, msgid)
  File "/home/mailman/Mailman/Archiver/HyperDatabase.py", line 256, in setThreadKey
    self.threadIndex[key]=msgid
  File "/home/mailman/Mailman/Archiver/HyperDatabase.py", line 144, in __setitem__
    self.current_index = self.sorted.index(current_item)
ValueError: list.index(x): x not in list


i realize that this may not be enough information for anyone to diagnose
the problem, but i'm hoping someone may already have encountered this
problem and knows how to fix it or workaround it.

if you need more information, such as the majordomo archive files i'm trying
to convert, let me know.

--
Todd Pfaff                         \  Email: pfaff at mcmaster.ca
Computing and Information Services  \ Voice: (905) 525-9140 x22920
ABB 132                              \  FAX: (905) 528-3773
McMaster University                   \
Hamilton, Ontario, Canada  L8S 4M1     \






More information about the Mailman-Users mailing list