[Zope] Database Time errors.

Alan Aspuru Guzik aspuru@okra.cchem.berkeley.edu
Tue, 3 Aug 1999 13:13:09 -0700 (PDT)


Hello fellow Zope users,
I need your help in this issue. I've been working on ZOPE in my Alpha
running Linux. I had some problems with the clock in it and worked
inadvertently in ZOPE in 2027.

Now I am facing several difficulties, because each time I start ZOPE, I
have the following server error:
--------BEGIN TRACEBACK
Traceback (innermost last):
  File "serve.py", line 48, in ?
    ZopeHTTPServer.main(args)
  File "/usr/lib/python1.5/ZopeHTTPServer/ZopeHTTPServer.py", line 498, in
main
    start(module_file,host,port,threading,env)
  File "/usr/lib/python1.5/ZopeHTTPServer/ZopeHTTPServer.py", line 436, in
start
    set_published_module(module_file,BoboRequestHandler,env)
  File "/usr/lib/python1.5/ZopeHTTPServer/ZopeHTTPServer.py", line 432, in
set_published_module
    __import__(name) # to catch problem modules right away
  File "/usr/lib/python1.5/site-packages/Zope/Main.py", line 103, in ?
    Bobobase=OFS.Application.open_bobobase()
  File "/usr/lib/python1.5/site-packages/Zope/OFS/Application.py", line
319, in open_bobobase
    Bobobase=Globals.Bobobase=Globals.PickleDictionary(
  File "/usr/lib/python1.5/BoboPOS/PickleDictionary.py", line 159, in
__init__
    db=apply(DBType,(),storage_options)
  File "/usr/lib/python1.5/BoboPOS/SimpleDB.py", line 221, in __init__
    self.open(file_name,create,revision_time,meta_index,read_only)
  File "/usr/lib/python1.5/BoboPOS/SimpleDB.py", line 287, in open
    try: self.index,self.pos=read_index(
  File "/usr/lib/python1.5/BoboPOS/SimpleDB.py", line 1402, in read_index
    raise DatabaseError, (
DatabaseError: The database contains records, starting at position 72241,
that have time stamps 3407275736.47 seconds in the future. This could lead
to database corruption.  Please double check your system clock!

-----END TRACEBACK

Basically, what I want is to *recover* my database (ie. for instance,
resetting all the dates of the items stored in it to a "reasonable" date)
I have about four days of work in it, so I hope anyone can help me... is
there a BoboPOS database editor or something like that?

Greetings and THANKS for your help,

Alan Aspuru