[Mailman-Users] Html Archives are not being created
Dan Mick
Dan.Mick at West.Sun.COM
Fri Nov 3 02:43:08 CET 2000
> $ cat error
> Nov 02 12:46:00 2000 qrunner(13404): Traceback (innermost last):
> Nov 02 12:46:00 2000 qrunner(13404): File
> "/usr/local/sandbox/mailman/Mailman/Archiver/Archiver.py", line 213, in
> ArchiveMail
> Nov 02 12:46:00 2000 qrunner(13404):
> self.ExternalArchive(mm_cfg.PUBLIC_EXTERNAL_ARCHIVER, txt)
> Nov 02 12:46:00 2000 qrunner(13404): File
> "/usr/local/sandbox/mailman/Mailman/Archiver/Archiver.py", line 169, in
> ExternalArchive
> Nov 02 12:46:00 2000 qrunner(13404): cmd = ar % d
> Nov 02 12:46:00 2000 qrunner(13404): TypeError: __mod__ nor __rmod__
> defined for these operands
Looks like you've set PUBLIC_EXTERNAL_ARCHIVER to something illegal
(in either Defaults.py or mm_cfg.py; the only place it should be
set, of course, is mm_cfg.py). What's that set to, and why?
> Nov 02 12:46:00 2000 (13404) CORRUPT ARCHIVE FOR LIST: test
> Nov 02 12:51:01 2000 qrunner(13452): Traceback (innermost last):
> Nov 02 12:51:01 2000 qrunner(13452): File
> "/usr/local/sandbox/mailman/Mailman/Archiver/Archiver.py", line 222, in
> ArchiveMail
> Nov 02 12:51:01 2000 qrunner(13452): h.close()
> Nov 02 12:51:01 2000 qrunner(13452): File
> "/usr/local/sandbox/mailman/Mailman/Archiver/pipermail.py", line 292, in
> close
> Nov 02 12:51:01 2000 qrunner(13452): self.write_TOC()
> Nov 02 12:51:01 2000 qrunner(13452): File
> "/usr/local/sandbox/mailman/Mailman/Archiver/HyperArch.py", line 887, in
> write_TOC
> Nov 02 12:51:01 2000 qrunner(13452): toc.write(self.html_TOC())
> Nov 02 12:51:01 2000 qrunner(13452): File
> "/usr/local/sandbox/mailman/Mailman/Archiver/HyperArch.py", line 626, in
> html_TOC
> Nov 02 12:51:01 2000 qrunner(13452): d["archive_listing"] =
> string.join(accum, '')
> Nov 02 12:51:01 2000 qrunner(13452): NameError: accum
This has been fixed in the latest CVS; either wait for a new release,
get the latest CVS, or apply this fix to Mailman/Archiver/HyperArch.py:
660c660
< d["archive_listing"] = string.join(accum, '')
---
> d["archive_listing"] = string.join(accum, '')
The "CORRUPT" messages are just "I got an exception I couldn't handle",
so may go away when you fix both the above.
More information about the Mailman-Users
mailing list