Open GoogleCodeExporter opened 9 years ago
Looking at the code, it seems like datetime.fromtimestamp() is throwing an
exception
because the result of os.path.getmtime() is outside the range it can cope with.
It
seems from a quick search that os.path.getmtime() on Windows can return
unreliable
file modification times in some cases. We should check the returned values
before
passing them to fromtimestamp().
As a temporary workaround, is it possible to open the file in question and
re-save it
with a new timestamp?
Original comment by charliej...@gmail.com
on 15 Aug 2008 at 9:08
Hello Charlie and thank you very much for your comment.
The files that generate this problem are from the 20th century (1996 - 1997).
Can be this?
Now i try to open them and save it again, so the timestamp will change in 2008.
I'll let you know.
Regards
Roberto
Original comment by robi...@gmail.com
on 15 Aug 2008 at 10:08
It shouldn't be the fact that the files are from before the millenium; it's more
likely that their timestamp is corrupted somehow.
Original comment by charliej...@gmail.com
on 15 Aug 2008 at 12:56
Hello Charlie; I opened them, saved them and still get that error; very strange.
Original comment by robi...@gmail.com
on 16 Aug 2008 at 7:34
Original comment by charliej...@gmail.com
on 27 Aug 2009 at 1:24
Original issue reported on code.google.com by
robi...@gmail.com
on 11 Aug 2008 at 4:01