[Mailman-Users] removing messages from an archive (faq sugguestion barfs)
Andrew J Cosgriff
ajc at bing.wattle.id.au
Fri Aug 13 03:55:42 CEST 1999
The FAQ sez :
8. I want to get rid of some messages in my archive. How do I do this?
David Rocher posts the following recipe:
. remove $prefix/archives/private/listname
. edit $prefix/archives/private/listname.mbox/listname.mbox [optional]
. run $prefix/bin/arch listname
$prefix/archives/private/listname.mbox/listname.mbox
I've tried this, but on the edited listname.mbox (I tried both by hand
and by using "mail") I get this error (which doesn't happen if I run
"arch" on the unedited mbox :
figuring article archives
1999-August
Processing article #0 into archives ['1999-August']
figuring article archives
1999-August
Processing article #1 into archives ['1999-August']
figuring article archives
1999-August
Processing article #2 into archives ['1999-August']
figuring article archives
1999-August
Processing article #3 into archives ['1999-August']
Updating index files for archive [1999-August]
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_archiv
e
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
Any ideas ?
--
Andrew J Cosgriff <ajc at bing.wattle.id.au> exterminate all rational thought !
boy limbo edible gym vanity
More information about the Mailman-Users
mailing list