Le 25/08/2010 11:18, Marius Gedminas a écrit :
FWIW I had to downgrade virtualenv back to 1.3.3, since 1.4.5 uses Distribute by default, and zc.zope3recipes 0.6.2 doesn't like Distribute:
File "/var/lib/buildbot/eggs/zc.zope3recipes-0.6.2-py2.4.egg/zc/zope3recipes/README.txt", line 78, in README.txt Failed example: print system(join('bin', 'buildout')), Expected: Develop: '/sample-buildout/demo1' Develop: '/sample-buildout/demo2' Installing myapp. Generated script '/sample-buildout/parts/myapp/runzope'. Generated script '/sample-buildout/parts/myapp/debugzope'. Got: Develop: '/sample-buildout/demo1' install_dir /sample-buildout/develop-eggs/tmpGFC-Sdbuild Develop: '/sample-buildout/demo2' install_dir /sample-buildout/develop-eggs/tmpIidjYCbuild Installing myapp. Generated script '/sample-buildout/parts/myapp/runzope'. Generated script '/sample-buildout/parts/myapp/debugzope'.
I suppose this should be fixed in Distribute instead. Just a matter of not displaying install_dir.
Looks like the outer buildout.cfg doesn't pin zc.buildout so it always gets the latest version, and the inner one doesn't like that at all. I think the fix is to change buildout steps to do this instead: ... $ cd test&& ../sandbox/bin/python ../bootstrap.py&& bin/buildout
(instead of cd test&& ../bin/buildout)
This was the right fix.
Marius Gedminas
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org 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 )