plone.recipe.zope2instance: install() method in __init__.py uses mkzopeinstance.exe instead of mkzopeinstance-script.py on Windows (fix included)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
collective.buildout |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
Windows 7 (amd64), Python 2.6.2 (32 bit)
I was trying the "coredev" buildout for Plone 4 (http://
Zope was successfully built using MinGW. Later on, I got this error:
-------
Generated script 'E:\\buildout\
Generated script 'E:\\buildout\
File "E:\buildout\
SyntaxError: Non-ASCII character '\x90' in file E:\buildout\
see http://
While:
Installing instance.
An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "e:\buildout\
getattr(
File "e:\buildout\
installed_files = self[part]
File "e:\buildout\
return f()
File "e:\buildout\
) == 0
AssertionError
-------
Obviously, os.spawnl() tries to start "mkzopeinstance
The cause seems to be that when the "mkzopeinstance" variable is defined (the first leg, after "if not self.zope2_
the *first* element in the tuple returned by zc.buildout.
After changing line 68 in "...\zope2insta
So now I'm the first man on the planet who actually has tested the Plone 4 coredev buildout on Windows?!
Changing that to "1" is probably not the correct solution. That means you're now testing that the program returned an error code of 1 instead of 0 (which is what it does when it runs successfully).