[Mailman-Developers] moderation trackback
James O'Kane
jo2y at midnightlinux.com
Sun Mar 7 13:02:10 EST 2004
Please cc me, as I'm not subscribed.
I've seen this error asked about by several people, but I've only seen
'Works for me' replies. I think I have another datapoint which should
explain it.
I get dozens of spam message caught by moderation per week and I leave
them there and clear them all out every few weeks. I recently upgraded
from 2.0.x to 2.1.4, and that when I got this error. I like to keep the
spam messages around for possible training data.
I did the upgrade while there were still message waiting for moderation.
Those messages are in .txt format and the code section below assumes they
are pickles.
Two ways I can think of to fix this is during make install convert them to
pickles, or add more processing to Mailman/ListAdmin.py to deal with .txt
and .pck files.
I don't know python, but I can test anything someone comes up with.
thanks
-james
Traceback (most recent call last):
File "/var/mailman/scripts/driver", line 87, in run_main
main()
File "/var/mailman/Mailman/Cgi/admindb.py", line 163, in main
process_form(mlist, doc, cgidata)
File "/var/mailman/Mailman/Cgi/admindb.py", line 694, in process_form
forward, forwardaddr)
File "/var/mailman/Mailman/ListAdmin.py", line 184, in HandleRequest
forward, addr)
File "/var/mailman/Mailman/ListAdmin.py", line 264, in __handlepost
msg = cPickle.load(fp)
ValueError: could not convert string to float
More information about the Mailman-Developers
mailing list