problem with arch converting majordomo archives to mailman
![](https://secure.gravatar.com/avatar/e1144b7d14897d039827ecff756163d8.jpg?s=120&d=mm&r=g)
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@mcmaster.ca
Computing and Information Services \ Voice: (905) 525-9140 x22920
ABB 132 \ FAX: (905) 528-3773
McMaster University
Hamilton, Ontario, Canada L8S 4M1 \
![](https://secure.gravatar.com/avatar/0f6659cffae7268f27fe318a4f1a42d0.jpg?s=120&d=mm&r=g)
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:
![](https://secure.gravatar.com/avatar/ab1c33fc0fd591a0ea174155233a6a51.jpg?s=120&d=mm&r=g)
"RJ" == Ron Jarrell <jarrell@vt.edu> writes:
RJ> FYI, I ran into the same problem this weekend.. 14M archive
RJ> with about 9000 messages in it, and it always blows up in the
RJ> same month; even if I peel out just that month. Haven't had
RJ> the energy to search down to which message(s) might be causing
RJ> it.
Sorry it's taken me so long to follow up to this. Are you guys still having problems converting your archives? Have you tried the latest CVS snapshot? If so and you still have problems, we'll have to arrange for you to upload your raw archive file so I can debug it.
-Barry
![](https://secure.gravatar.com/avatar/e1144b7d14897d039827ecff756163d8.jpg?s=120&d=mm&r=g)
On Fri, 3 Sep 1999, Barry A. Warsaw wrote:
I posted a follow-up sometime after my original message regarding this. What I had done was to wipe out all my existing mailman archives and when I did the conversion again it worked fine. Try to find that message in the archives because I had some thoughts in there about why I may have been seeing the problem in the first place. I did notice that arch had a problem if there were two identical messages in source mbox file.
Anyway, I haven't used arch again since I successfully converted all my majordomo archives. Thanks for asking though.
--
Todd Pfaff \ Email: pfaff@mcmaster.ca
Computing and Information Services \ Voice: (905) 525-9140 x22920
ABB 132 \ FAX: (905) 528-3773
McMaster University
Hamilton, Ontario, Canada L8S 4M1 \
![](https://secure.gravatar.com/avatar/0f6659cffae7268f27fe318a4f1a42d0.jpg?s=120&d=mm&r=g)
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:
![](https://secure.gravatar.com/avatar/ab1c33fc0fd591a0ea174155233a6a51.jpg?s=120&d=mm&r=g)
"RJ" == Ron Jarrell <jarrell@vt.edu> writes:
RJ> FYI, I ran into the same problem this weekend.. 14M archive
RJ> with about 9000 messages in it, and it always blows up in the
RJ> same month; even if I peel out just that month. Haven't had
RJ> the energy to search down to which message(s) might be causing
RJ> it.
Sorry it's taken me so long to follow up to this. Are you guys still having problems converting your archives? Have you tried the latest CVS snapshot? If so and you still have problems, we'll have to arrange for you to upload your raw archive file so I can debug it.
-Barry
![](https://secure.gravatar.com/avatar/e1144b7d14897d039827ecff756163d8.jpg?s=120&d=mm&r=g)
On Fri, 3 Sep 1999, Barry A. Warsaw wrote:
I posted a follow-up sometime after my original message regarding this. What I had done was to wipe out all my existing mailman archives and when I did the conversion again it worked fine. Try to find that message in the archives because I had some thoughts in there about why I may have been seeing the problem in the first place. I did notice that arch had a problem if there were two identical messages in source mbox file.
Anyway, I haven't used arch again since I successfully converted all my majordomo archives. Thanks for asking though.
--
Todd Pfaff \ Email: pfaff@mcmaster.ca
Computing and Information Services \ Voice: (905) 525-9140 x22920
ABB 132 \ FAX: (905) 528-3773
McMaster University
Hamilton, Ontario, Canada L8S 4M1 \
participants (4)
-
Barry A. Warsaw
-
Ron Jarrell
-
Todd Pfaff
-
Todd Pfaff