thanks. that did the trick. works smoothly now.
On Sun, Aug 30, 2015 at 12:09 AM, Mark Sapiro mark@msapiro.net wrote:
On 08/24/2015 11:35 PM, Peter Wetz wrote:
hm, I get this error though:
...
File "/var/lib/mailman/Mailman/Archiver/HyperArch.py", line 1072, in write_index_entry 'date': time.strftime("%d %b %Y %H:%M:%S", time.localtime(article.date)), TypeError: a float is required
"a float is required" this implies that "article.date" is not a float in my case. maybe it needs to be converted to a float explicitly? any other suggestions?
No. Converting it to float is the appropriate thing. e.g.
'date': time.strftime("%d %b %Y %H:%M:%S", time.localtime(float(article.date))),
The issue is that while article.date is a *nix timestamp, it is a string rather than an int or float.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan