I know that some spammers will set the timestamp on their emails to
somewhere in the 60's. The test dataset has a gap of 20 or so days from the
dataset I attempted to migrate, and the ticket number is in the range of
newer tickets, so there's a chance some evil spammer is the source of my
I'll check out the fix, and once again sir, thank you!
Samuel J Stanaitis, Network Administrator
Decorative Product Source, Inc.
[mailto:mailmanager-users-admin@...] On Behalf Of Kevin
Sent: Sunday, January 22, 2006 5:48 AM
To: Samuel J Stanaitis
Cc: 'Kevin Campbell'; mailmanager-users@...
Subject: Re: [Mailmanager-users] I've gotta be missing something simple
On Sat, Jan 21, 2006 at 11:45:44PM -0500, Samuel J Stanaitis wrote:
> Sorry to bug you on the weekend, but I've spent a good 15 hours pulling my
> hair out... I get it working to the point of migration to 2.0.5 then...
> 2006-01-21T23:06:10 ERROR Zope.SiteErrorLog http://jobe:8080/mm/migrate
> Traceback (most recent call last):
> File "/usr/local/zope/lib/python/ZPublisher/Publish.py", line 113, in
> request, bind=1)
> File "/usr/local/zope/lib/python/ZPublisher/mapply.py", line 88, in
> if debug is not None: return debug(object,args,context)
> File "/usr/local/zope/lib/python/ZPublisher/Publish.py", line 40, in
> result=apply(object,args) # Type s<cr> to step into published object.
> File "/usr/local/zope/mailManager/Products/MailManager/migration.py",
> 270, in migrate
> File "/usr/local/zope/lib/python/DateTime/DateTime.py", line 509, in
> return self._parse_args(*args, **kw)
> File "/usr/local/zope/lib/python/DateTime/DateTime.py", line 760, in
> lt = safelocaltime(t)
> File "/usr/local/zope/lib/python/DateTime/DateTime.py", line 437, in
> raise TimeError, 'The time %f is beyond the range ' \
> TimeError: The time 5432074142.000000 is beyond the range of this Python
The following patch should sort that problem - untested as I don't have a
of your dataset to reproduce the issue.
--- migration.py.orig 2006-01-22 10:33:55.000000000 +0000
+++ migration.py 2006-01-22 10:34:53.000000000 +0000
@@ -303,7 +303,10 @@
html_body_charset = message._body_charset
html_body_charset = 'iso-8859-15'
+ except DateTime.TimeError, e:
The issue is in your original data, where one of the messages has an invalid
timestamp. The patch will reset any messages with a failed timestamp to
1981/01/01. Strange that it worked previously though, this should have
GPG Key: F480EC23
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
Mailmanager-users mailing list