[Mailman-Users] Wiping all mailman data

Brian T listserv.receiver at gmail.com
Thu Jun 14 00:32:38 CEST 2012


Hi,

I made some modifications to the Switchboard.py class. I think I probably
broke something that caused some nonsense data to be saved, because now
when I restart mailman (with /etc/init.d/mailman restart), I get the
following in my error log file:

Jun 13 22:15:29 2012 qrunner(3325): Traceback (most recent call last):
  2 Jun 13 22:15:29 2012 qrunner(3325):   File
"/var/lib/mailman/bin/qrunner", line 278, in <module>
  3 Jun 13 22:15:29 2012 qrunner(3325):      main()
  4 Jun 13 22:15:29 2012 qrunner(3325):   File
"/var/lib/mailman/bin/qrunner", line 238, in main
  5 Jun 13 22:15:29 2012 qrunner(3325):      qrunner.run()
  6 Jun 13 22:15:29 2012 qrunner(3325):   File
"/var/lib/mailman/Mailman/Queue/Runner.py", line 71, in run
  7 Jun 13 22:15:29 2012 qrunner(3325):      filecnt = self._oneloop()
  8 Jun 13 22:15:29 2012 qrunner(3325):   File
"/var/lib/mailman/Mailman/Queue/Runner.py", line 95, in _oneloop
  9 Jun 13 22:15:29 2012 qrunner(3325):      files =
self._switchboard.files()
 10 Jun 13 22:15:29 2012 qrunner(3325):   File
"/var/lib/mailman/Mailman/Queue/Switchboard.py", line 205, in file    s
 11 Jun 13 22:15:29 2012 qrunner(3325):      key = float(when)
 12 Jun 13 22:15:29 2012 qrunner(3325): ValueError :  invalid literal for
float(): rcvtime

I've since restored the original version of Switchboard.py, but I still get
this error, making me suspect that some bad data has been saved, which is
being reloaded on mailman restart and (eventually) causing this error.

So, I was wondering: what do I need to do to wipe all data that mailman
saves such that mailman is restored to a completely "fresh" state, as if I
had just installed it? I realize this will destroy all mailing lists etc.,
but that's fine.

Thanks!

Brian


More information about the Mailman-Users mailing list