Thank you for your answer.
I just tried to lock the file manually and it works
But I recognized when zope reports those errors with locking, the reported
file can't be opened in the filesystem also, so it is really locked. It
seems that zope doesn't unlock it and so if zope tries to access it again
(thus locking it again) it can't because it is locked... (I never call the
Altough the error doesn't have any effect on the website I'm running...
"Dieter Maurer" <[EMAIL PROTECTED]> schrieb am 02.08.2008 09:45:50:
> Wolfgang Lausenhammer wrote at 2008-8-1 09:20 +0200:
> > ...
> > File "D:\zope\2.11.1\Zope\lib\python\ZODB\lock_file.py", line 42, in
> >LockError: Couldn't lock
> A look at the code reveals:
> # Windows
> def _lock_file(file):
> # Lock just the first byte
> 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.
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -