Modification time problem
Hi, all. I'm working in ZMI. When a object created/changed the value in "Last Modified" column is in future and always the same (2006-07-06 22:40). How to fix it? My system time and hardware time seem ok. Zope Version: (Zope 2.7.8-final, python 2.3.5, linux2) Python Version: 2.3.5 (#1, Jul 6 2006, 13:09:42) [GCC 3.2 20020903 (Red Hat Linux 8.0 3.2-7)] Thanks
--On 8. Juni 2006 11:51:48 +0300 Vitaly Lobachevsky <tick@web.vi> wrote:
Hi, all.
I'm working in ZMI. When a object created/changed the value in "Last Modified" column is in future and always the same (2006-07-06 22:40). How to fix it? My system time and hardware time seem ok.
Possibly a problem with the time zone? -aj -- ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: info@zopyx.com - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope & Plone development, Consulting
Probably the problem is in my Data.fs. I can't pack it. I've got the error: Error Type: FileStorageError Error Value: The database has already been packed to a later time or no changes have been made since the last pack I've tried $ZOPE_HOME/lib/python/ZODB/fsrecover.py but without success. Any suggestions, please?
On Thu, Jun 08, 2006 at 04:08:34PM +0300, Vitaly Lobachevsky wrote:
Probably the problem is in my Data.fs. I can't pack it. I've got the error:
Error Type: FileStorageError Error Value: The database has already been packed to a later time or no changes have been made since the last pack
I've tried $ZOPE_HOME/lib/python/ZODB/fsrecover.py but without success. Any suggestions, please?
Sounds like your system clock was set to 2006-07-06 at some time in the past. AFAIK, ZODB can't cope with time going backwards. Worse, somebody may have packed while the time was set incorrectly. Unfortunately I have no suggestions short of exporting everything and importing it into a fresh instance. How painful this will be is directly proportional to the size of your database :-\ -- Paul Winkler http://www.slinkp.com
participants (3)
-
Andreas Jung -
Paul Winkler -
Vitaly Lobachevsky