Tokio Kikuchi wrote:

>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
>

As Tokio says, I think the patch will fix this, but I think the
underlying cause may be a message in the lists/<listname>/digest.mbox
file with a bad date or date format in it's Date: header.

Editing this or moving the digest.mbox aside may allow the list to
resume processing and then 'bin/unshunt' will reprocess the shunted
messages.

--
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
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&amp;file=faq01.027.htp

Reply via email to