Marcel Meyer wrote:
> Some lists are no longer (worked before - no configuration or software
> update occured) delivered. All messages are shunted. The errorlog says
> the following:
>
> ****************************************
> [...]
> OverflowError: long int too large to convert to int
>
> File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 131, in
> calculate_attachments_dir
> datedir = safe_strftime(fmt, now)
> File "/usr/local/mailman/Mailman/Handlers/Scrubber.py", line 115, in
> safe_strftime
> return time.strftime(fmt, floatsecs)
> OverflowError: long int too large to convert to int
Looks like we need this patch:
Index: Scrubber.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Handlers/Scrubber.py,v
retrieving revision 2.27
diff -u -r2.27 Scrubber.py
--- Scrubber.py 28 Aug 2005 05:31:27 -0000 2.27
+++ Scrubber.py 7 Sep 2005 23:40:33 -0000
@@ -113,7 +113,7 @@
def safe_strftime(fmt, floatsecs):
try:
return time.strftime(fmt, floatsecs)
- except (TypeError, ValueError):
+ except (TypeError, ValueError, OverflowError):
return None
---------------------------------------------------------
--
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp