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

Ron Jarrell jarrell at vt.edu
Mon Aug 9 19:54:06 CEST 1999


FYI, I ran into the same problem this weekend.. 14M archive with
about 9000 messages in it, and it always blows up in the same month;
even if I peel out just that month.  Haven't had the energy to search down
to which message(s) might be causing it.

At 12:16 PM 8/6/99 -0400, Todd Pfaff wrote:
>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     \
>
>
>
>------------------------------------------------------
>Mailman-Users maillist  -  Mailman-Users at python.org
>http://www.python.org/mailman/listinfo/mailman-users





More information about the Mailman-Users mailing list