--- ECHO_content/ECHO_xslt.py 2008/11/13 14:35:53 1.20 +++ ECHO_content/ECHO_xslt.py 2008/12/17 12:12:27 1.22 @@ -108,11 +108,16 @@ from ZODB.FileStorage import FileStorage class ECHO_cache: def __init__(self): """init the storage""" - self.storage=FileStorage(os.path.join(INSTANCE_HOME,"var/echo_cache.fs")) - self.db=DB(self.storage) - self.connection=self.db.open() - self.root=self.connection.root() - + + try: + self.storage=FileStorage(os.path.join(INSTANCE_HOME,"var/echo_cache.fs")) + + self.db=DB(self.storage) + self.connection=self.db.open() + self.root=self.connection.root() + except: + pass + def deleteObject(self,name,pn=None): """delete an object from cache""" fileStore=self.root.get(name,None)