[Zope] help! corrupted zope

Garry Hodgson garry@sage.att.com
Mon, 30 Apr 2001 09:48:20 -0400


i got mail from a colleague today that he was having trouble with a 
ZWiki page.  attempts to access it yielded:

	 Zope Error

         Zope has encountered an error while publishing this resource. 

         Debugging Notice

         Zope has encountered a problem publishing your object.

         Missing doc string at:
http://www.sage.att.com:8080/Wikis/SIS/JSwift 
...
	Traceback (innermost last):
	  File
/home/sage/zope/src/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py,
line 222, in publish_module
	  File
/home/sage/zope/src/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py,
line 187, in publish
	  File /home/sage/zope/src/Zope-2.3.0-src/lib/python/Zope/__init__.py,
line 221, in  zpublisher_exception_hook
		    (Object: Traversable)
	  File
/home/sage/zope/src/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py,
line 162, in publish
	  File
/home/sage/zope/src/Zope-2.3.0-src/lib/python/ZPublisher/BaseRequest.py,
line 378, in traverse
	  File
/home/sage/zope/src/Zope-2.3.0-src/lib/python/ZPublisher/HTTPResponse.py,
line 558, in debugError
	NotFound: (see above)


if i go to to a level higher in the tree and try to see the "Undo"
page, i get:

Error Type: IOError
          Error Value: [Errno 22] Invalid argument
...
Traceback (innermost last):
  File
/home/sage/zope/src/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py,
line 222, in publish_module
  File
/home/sage/zope/src/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py,
line 187, in publish
  File /home/sage/zope/src/Zope-2.3.0-src/lib/python/Zope/__init__.py,
line 221, in zpublisher_exception_hook
    (Object: ApplicationDefaultPermissions)
  File
/home/sage/zope/src/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py,
line 171, in publish
  File
/home/sage/zope/src/Zope-2.3.0-src/lib/python/ZPublisher/mapply.py, line
160, in mapply
    (Object: manage_UndoForm)
  File
/home/sage/zope/src/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py,
line 112, in call_object
    (Object: manage_UndoForm)
  File
/home/sage/zope/src/Zope-2.3.0-src/lib/python/Shared/DC/Scripts/Bindings.py,
line 324, in __call__
    (Object: manage_UndoForm)
  File
/home/sage/zope/src/Zope-2.3.0-src/lib/python/Shared/DC/Scripts/Bindings.py,
line 353, in _bindAndExec
    (Object: manage_UndoForm)
  File
/home/sage/zope/src/Zope-2.3.0-src/lib/python/App/special_dtml.py, line
236, in _exec
    (Object: manage_UndoForm)
  File /home/sage/zope/src/Zope-2.3.0-src/lib/python/App/Undo.py, line
164, in undoable_transactions
    (Object: ApplicationDefaultPermissions)
  File
/home/sage/zope/src/Zope-2.3.0-src/lib/python/ZODB/UndoLogCompatible.py,
line 100, in undoInfo
    (Object: /usr/local/zope/var/Data.fs)
  File
/home/sage/zope/src/Zope-2.3.0-src/lib/python/ZODB/FileStorage.py, line
866, in undoLog
    (Object: /usr/local/zope/var/Data.fs)
IOError: (see above)



So, it appears i've got a corrupted Zope.  aside from rescuing a Data.fs
from backup,
how does one go about fixing such a problem?  or is there no hope?

Also, is this common?  I confess this makes me very nervous about
relying on 
Zope.  we've been using the ZWiki stuff pretty heavily, and this will
give
the anti-OpenSource crowd some useful ammo.

-- 
Garry Hodgson                   sometimes we ride on your horses
Senior Hacker                   sometimes we walk alone
Software Innovation Services    sometimes the songs that we hear
AT&T Labs                       are just songs of our own
garry@sage.att.com