hi zopistas John, I'm getting the same error... the problem is python for windoze, dates before 1970 doesn't work... :/ *in gnu/linux works like a charm* I posted the bug in collector: http://collector.zope.org/Zope/279 have a good work andré Em ter, 2002-04-23 às 02:12, John Schinnerer escreveu:
Hello again,
More info from my side of this question:
I just tried to repro this problem on the 'live site' gallery search - took one date back to the offending 1957 even - it works there, no error.
Only difference I am aware of is that my dev box is Win98, and my host machine is Debian linux. Both running Zope 2.4.1. Relevant code in DateTime.py (safegmtime) is identical in both systems. Looks like the crucial code is:
try: t_int = int(t) except OverflowError:
...which raises an exception in Win98 but not linux on "old" dates.
Can anyone confirm/explain this call failing in Win on year-dates that work in linux (beyond just Win-bashing, that is... ;-)??
thx, John S.
__________________________________________________ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )