Hi<br>I sometimes receive an exception when closing a ZODB, due to it trying to remove a lock file which doesn&#39;t exist. Given the backtrace can you tell me whether this is something which should be rectified in ZODB? I suspect the problem lies in the fact that the database is closed from atexit, maybe ZODB has already registered some kind of cleanup from atexit?
<br><br>Error in atexit._run_exitfuncs:<br>Traceback (most recent call last):<br>&nbsp; File &quot;atexit.py&quot;, line 24, in _run_exitfuncs<br>&nbsp;&nbsp;&nbsp; func(*targs, **kargs)<br>&nbsp; File &quot;/home/arve/Projects/Conduit/cdt_testing/common.py&quot;, line 63, in close
<br>&nbsp;&nbsp;&nbsp; self.instlCtlg.close()<br>&nbsp; File &quot;/home/arve/Projects/Conduit/conduit/installed.py&quot;, line 477, in close<br>&nbsp;&nbsp;&nbsp; self._db.close()<br>&nbsp; File &quot;/home/arve/Projects/Conduit/conduit/_database.py&quot;, line 24, in close
<br>&nbsp;&nbsp;&nbsp; try: self._db.close()<br>&nbsp; File &quot;/usr/lib/python2.4/site-packages/ZODB/DB.py&quot;, line 431, in close<br>&nbsp;&nbsp;&nbsp; self._storage.close()<br>&nbsp; File &quot;/usr/lib/python2.4/site-packages/ZODB/FileStorage/FileStorage.py&quot;, line 400, in close
<br>&nbsp;&nbsp;&nbsp; self._lock_file.close()<br>&nbsp; File &quot;/usr/lib/python2.4/site-packages/ZODB/lock_file.py&quot;, line 74, in close<br>&nbsp;&nbsp;&nbsp; os.unlink(self._path)<br>OSError: [Errno 2] No such file or directory: &#39;/tmp/tmpCuD9cO/.conduit/storage/storage.fs.lock&#39;
<br><br>Thanks,<br>Arve<br>