[Zope-dev] zope-tests - FAILED: 4, OK: 11

Marius Gedminas marius at gedmin.as
Sat Dec 27 12:59:54 CET 2014


On Fri, Dec 26, 2014 at 07:33:43PM -0500, Tres Seaver wrote:
> On 12/26/2014 07:00 PM, Zope tests summarizer wrote:
> 
> > [4]    FAILED  winbot / zope.ptresource_py_265_32 
> > https://mail.zope.org/pipermail/zope-tests/2014-December/086250.html
> 
> Hmm:
> 
> -------------------------- %< ---------------------------------
> Error in test testBrowserDefault (zope.ptresource.tests.Test)
> Traceback (most recent call last):
>   File "c:\Python26_32\lib\unittest.py", line 279, in run
>     testMethod()
>   File
> "c:\buildslave\zope.ptresource\build\src\zope\ptresource\tests.py", line
> 69, in testBrowserDefault
>     self.assertEqual(view(),
>   File
> "c:\buildslave\zope.ptresource\build\src\zope\ptresource\ptresource.py",
> line 75, in GET
>     return pt(self.request)
>   File
> "c:\buildslave\zope.ptresource\build\src\zope\ptresource\ptresource.py",
> line 50, in __call__
>     return self.pt_render(namespace)
>   File
> "d:\eggs\zope.pagetemplate-4.0.4-py2.6.egg\zope\pagetemplate\pagetemplate.py",
> line 122, in pt_render
>     self._cook_check()
>   File
> "d:\eggs\zope.pagetemplate-4.0.4-py2.6.egg\zope\pagetemplate\pagetemplatefile.py",
> line 102, in _cook_check
>     text, type_ = self._read_file()
>    - __traceback_info__: c:\temp\tmp09gypc
>   File
> "d:\eggs\zope.pagetemplate-4.0.4-py2.6.egg\zope\pagetemplate\pagetemplatefile.py",
> line 79, in _read_file
>     f = open(self.filename, "rb")
>    - __traceback_info__: c:\temp\tmp09gypc
> IOError: [Errno 13] Permission denied: 'c:\\temp\\tmp09gypc'
> -------------------------- %< ---------------------------------

Something Windows mandatory access controls can't open file for reading
if another (or event the same?) process has it open for writing?

https://github.com/zopefoundation/zope.ptresource/commit/eb7dfa7c706edec7e27cf42cb3adb5e9a52b7c50

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 173 bytes
Desc: Digital signature
URL: <http://mail.zope.org/pipermail/zope-dev/attachments/20141227/22d22ab5/attachment.sig>


More information about the Zope-Dev mailing list