Re: zope-tests - FAILED: 4, OK: 11

Marius Gedminas <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <20141227115954.GA32513@platonas>
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

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
signature.asc (application/pgp-signature, 173 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFUnp86kVdEXeem148RAijmAKCTyhTjZK/JGLvnrghArM3anKLRaQCcC4eZ
WDxuHloVAjPwNjKf3KtOKp4=
=xiTT
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.