[Zope-dev] zope-tests - FAILED: 21, OK: 19

Marius Gedminas marius at gedmin.as
Tue Feb 26 12:41:02 UTC 2013


On Tue, Feb 26, 2013 at 08:54:01AM +0200, Marius Gedminas wrote:
> > [5]    winbot / z3c.contents_py_265_32
> > [6]    winbot / z3c.contents_py_265_32
> 
> There's this lovely bit at the beginning I don't remember from before,
> but it's not counted as a test failure:
> 
> ZopeXMLConfigurationError: File "c:\buildslave\z3c.contents\build\src\z3c\contents\ftesting.zcml", line 41.2-41.32
>     ZopeXMLConfigurationError: File "c:\eggs\z3c.form-3.0.0a1-py2.6.egg\z3c\form\configure.zcml", line 37.2-37.51
>     WindowsError: [Error 3] The system cannot find the path specified: u'c:\\eggs\\z3c.form-3.0.0a1-py2.6.egg\\z3c\\form\\locales\\*.*'
> 
> and then we have the <form id name> vs <form name id> in README.txt that
> I cannot reproduce.

Figured out why: I need to

  bin/buildout -n buildout:prefer-final=true

and then I can reproduce this fine.

> > [9]    winbot / z3c.jsonrpc_py_265_32
> > [10]   winbot / z3c.jsontree_py_265_32
> 
> Same old "Invalid request id returned".

Because request ID is None in the response, and there's an error message
in the JSON about 'TypeError: expecting a bytes object, got unicode'.

This error is caused by zope.publisher 4.0.0a1:

  bin/buildout -n buildout:prefer-final=false buildout:versions=versions \
               versions:zope.publisher='<4.0.0a1' \
               versions:zope.session='<4.0.0a1' && bin/test -pvc

makes the test pass, while

  bin/buildout -n buildout:prefer-final=false buildout:versions=versions \
               versions:zope.publisher='4.0.0a1' \
               versions:zope.session='<4.0.0a1' && bin/test -pvc

makes them fail.

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: 190 bytes
Desc: Digital signature
URL: <http://mail.zope.org/pipermail/zope-dev/attachments/20130226/5ac18a64/attachment.sig>


More information about the Zope-Dev mailing list