Log message for revision 128087: Fix lockfile handling on Windows. Different exception: ... File "...\eggs\zope2-2.13.15-py2.7.egg\Zope2\Startup\run.py", line 72, in make_wsgi_app starter.prepare() File "...\eggs\zope2-2.13.15-py2.7.egg\Zope2\Startup\__init__.py", line 83, in prepare self.makeLockFile() File "...\eggs\zope2-2.13.15-py2.7.egg\Zope2\Startup\__init__.py", line 278, in makeLockFile os.unlink(lock_filename) WindowsError: [Error 32] The process cannot access the file because it is being used by another process: '.../var/client1/client1.lock'
Changed: U Zope/trunk/src/Zope2/Startup/__init__.py -=- Modified: Zope/trunk/src/Zope2/Startup/__init__.py =================================================================== --- Zope/trunk/src/Zope2/Startup/__init__.py 2012-10-20 23:49:10 UTC (rev 128086) +++ Zope/trunk/src/Zope2/Startup/__init__.py 2012-10-21 04:20:50 UTC (rev 128087) @@ -280,7 +280,7 @@ lock_file(self.lockfile) self.lockfile.write(str(os.getpid())) self.lockfile.flush() - except IOError: + except (IOError, WindowsError): pass def makePidFile(self): _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org https://mail.zope.org/mailman/listinfo/zope-checkins