Wolfgang Lausenhammer wrote at 2008-8-1 09:20 +0200:
> ...
>__init__
>  File "D:\zope\2.11.1\Zope\lib\python\ZODB\lock_file.py", line 42, in 
>_lock_file
>LockError: Couldn't lock 
>'D:\\workspace_zope\\xla-2008/var/Stdcontainer_o.fs.lock'

A look at the code reveals:

        # Windows
        def _lock_file(file):
            # Lock just the first byte
            try:
                msvcrt.locking(file.fileno(), msvcrt.LK_NBLCK, 1)
            except IOError:
                raise LockError("Couldn't lock %r" % file.name)

Thus, your Windows operating system reported a problem
in "msvcrt.locking". 

Emulate the operation in an interactive Python interpreter
and more carefully look at the error indication.
Consult your OS documentation to find out the reasons for the problem.



-- 
Dieter
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to