[Zope-Coders] StorageSystemError: Could not lock the database file?!

Chris Withers chrisw@nipltd.com
Wed, 07 Aug 2002 10:00:43 +0100


zope-tests@squishdot.org wrote:
> ======================================================================
> ERROR: Check less simple persistent indexing
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "testTextIndex.py", line 109, in checkPersistentUpdate2
>   File "testTextIndex.py", line 51, in dbopen
>   File "D:\ZopeTests\sandbox\Zope\lib\python\ZODB\FileStorage.py", line 213, in __init__
>     lock_file(f)
>   File "D:\ZopeTests\sandbox\Zope\lib\python\ZODB\lock_file.py", line 51, in lock_file
>     raise error, (
> StorageSystemError: Could not lock the database file.  There must be
> another process that has opened the file.

Ack! These seem to be intermittent but not infrequent failures. Can anyone 
suggest what's happening to prokove this and how I might fix them?

cheers,

Chris