Hi, I just found out that my Data.fs is corrupt. Zope is still running, and restarting but I'm getting POSKeyErrors if a want to see folder contents and so on. I tried to follow the advice in http://www.zopelabs.com/cookbook/1095965033 (I use Zope-2.7.4) but end up with
obj=root.unrestrictedTraverse('/folder') Traceback (most recent call last): File "<stdin>", line 1, in ? NameError: name 'root' is not defined
what's wrong here? Therefore I used fsrefs.py and got information like oid 0x030571 Products.CMFCore.ActionInformation.ActionInformation last updated: 2005-03-14 08:20:34.643177, tid=0x35BE85493CF9666L refers to invalid object: oid 0x0304fa object creation was undone: 'Products.CMFCore.Expression.Expression' For this oid I get
python Python 2.4 (#1, Jan 14 2005, 00:24:33) [GCC 2.95.3 20010315 (release)] on sunos5 Type "help", "copyright", "credits" or "license" for more information.
from Zope.Startup.run import configure;configure('/etc/zope.conf') from Zope import app from ZODB.utils import p64 from ZODB import POSException app = app() obj = app._p_jar[p64(0x030571)] print obj.getId() view print obj.bobobase_modification_time() 2005/03/14 09:20:34.643 GMT+1 print obj.meta_type simple item print obj.__ac_local_roles__ None
Could anybody tell me, how I can delete this object from Data.fs? Will obj.manage_delObjects(id) do the job for me? What parameters do I have to give to the programm? Thanks a lot in advance Michael
participants (1)
-
Michael Kaplan