[Zope] RE: Disappearing Data?

Chris Larson clarson@changeling.com
Wed, 10 Feb 1999 23:12:27 -0600


OK. Now I'm dead in the water. Made one more change, then accidentally 
clicked on the add button while adding an image before I chose the image 
from the browse button. Hit the Back button in my browser, Browsed and 
added the image. When I got back to the main screen listing everything 
I'd added, everything was back to the way it had been the second time, 
after my first disappearance, when I started over.

I went on to 'Shut Down', then reloaded the Zope.cgi/manage url...

'Serious Application Error has occurred, and my pcgi.log shows the 
message at the end of this email.

In short,... Aaargh!!!!

Chris Larson

----
Wed Feb 10 23:01:53 1999  unable to publish module
  Traceback (innermost last):
  File "/home/c/change/local/Zope-1.10.0pr1-src/pcgi/pcgi_publisher.py", 
line 301, in handler
    
self.publish_module(self.moduleName,stdin=stdin,stdout=stdout,stderr=stderr
,environ=env)
  File 
"/home/c/change/local/Zope-1.10.0pr1-src/lib/python/ZPublisher/Publish.py",
 line 877, in publish_module
    response = publisher.publish(module_name,after_list,
  File 
"/home/c/change/local/Zope-1.10.0pr1-src/lib/python/ZPublisher/Publish.py",
 line 325, in publish
    (bobo_before, bobo_after, request_params,
  File 
"/home/c/change/local/Zope-1.10.0pr1-src/lib/python/ZPublisher/Publish.py",
 line 616, in get_module_info
    module=__import__(module_name, globals(), globals(), ('__doc__',))
  File "/home/c/change/local/Zope-1.10.0pr1-src/lib/python/Main.py", line 
103, in ?
    Bobobase=OFS.Application.open_bobobase()
  File 
"/home/c/change/local/Zope-1.10.0pr1-src/lib/python/OFS/Application.py", 
line 317, in open_bobobase
    Bobobase=Globals.Bobobase=Globals.PickleDictionary(
  File 
"/home/c/change/local/Zope-1.10.0pr1-src/lib/python/BoboPOS/PickleDictionar
y.py", line 159, in __init__
    db=apply(DBType,(),storage_options)
  File 
"/home/c/change/local/Zope-1.10.0pr1-src/lib/python/BoboPOS/SimpleDB.py", 
line 221, in __init__
    self.open(file_name,create,revision_time,meta_index,read_only)
  File 
"/home/c/change/local/Zope-1.10.0pr1-src/lib/python/BoboPOS/SimpleDB.py", 
line 287, in open
    try: self.index,self.pos=read_index(
  File 
"/home/c/change/local/Zope-1.10.0pr1-src/lib/python/BoboPOS/SimpleDB.py", 
line 1365, in read_index
    raise DatabaseError, ('Corrupted data record at %s' % pos)
ImportError: ('DatabaseError', 'Corrupted data record at 114317')