Hi Alex,<div><br></div><div>I am suspicious of the _safe_arg being used on that line. It adds quotes around each argument but you are not passing the shell=True arg to subprocess.check_call so nothing is processing those quotes effectively setting the executable to "C:\\python27\python.exe" including the quotes. That would be consistent with the error you are getting.</div>
<div><br></div><div>I haven't been able to figure out how to use the tests/get it to pick up the version out of my checked out source tree so I am having difficulty in verifying my theory. I tried asking on #buildout but did not get any response.</div>
<div><br></div><div>-Chris<br><br><div class="gmail_quote">On Fri, Aug 17, 2012 at 9:56 AM, Alex Clark <span dir="ltr"><<a href="mailto:aclark@aclark.net" target="_blank">aclark@aclark.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 8/17/12 7:08 AM, Matthew Churcher wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
We are experiencing difficulties here on multiple windows machines with buildout 1.6.0 that we did not have with buildout 1.5.2. This is with multiple windows and python versions. Linux machines are not affected.<br>
<br>
When calling bin\buildout.exe the following error occurs:<br>
<br>
An internal error occurred due to a bug in either zc.buildout or in a<br>
recipe being used:<br>
Traceback (most recent call last):<br>
File "c:\svn\remoteaccess\eggs\zc.<u></u>buildout-1.6.0-py2.7.egg\zc\<u></u>buildout\buildout.py", line 1848, in main<br>
getattr(buildout, command)(args)<br>
File "c:\svn\remoteaccess\eggs\zc.<u></u>buildout-1.6.0-py2.7.egg\zc\<u></u>buildout\buildout.py", line 480, in install<br>
installed_develop_eggs = self._develop()<br>
File "c:\svn\remoteaccess\eggs\zc.<u></u>buildout-1.6.0-py2.7.egg\zc\<u></u>buildout\buildout.py", line 720, in _develop<br>
zc.buildout.easy_install.<u></u>develop(setup, dest)<br>
File "c:\svn\remoteaccess\eggs\zc.<u></u>buildout-1.6.0-py2.7.egg\zc\<u></u>buildout\easy_install.py", line 1186, in develop<br>
subprocess.check_call([_safe_<u></u>arg(executable)] + args)<br>
File "c:\Python27\lib\subprocess.<u></u>py", line 499, in check_call<br>
retcode = call(*popenargs, **kwargs)<br>
File "c:\Python27\lib\subprocess.<u></u>py", line 486, in call<br>
return Popen(*popenargs, **kwargs).wait()<br>
File "c:\Python27\lib\subprocess.<u></u>py", line 672, in __init__<br>
errread, errwrite)<br>
File "c:\Python27\lib\subprocess.<u></u>py", line 882, in _execute_child<br>
startupinfo)<br>
WindowsError: [Error 2] The system cannot find the file specified<br>
<br>
We are currently working around this by pinning bootstrap.py to version 1.5.2. 'python bootstrap.py -v "1.5.2"'.<br>
<br>
I can't find any references to this issue online, so was wondering if it had reported and if you are aware of the issue?<br>
</blockquote>
<br>
<br></div></div>
Someone else just reported it on this list, we'll get a 1.6.1 out ASAP. If you have a fix, please let us know.<br>
<br>
<br>
Alex<div class="im HOEnZb"><br>
<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks in advanced,<br>
Matt<br>
______________________________<u></u>_________________<br>
Distutils-SIG maillist - <a href="mailto:Distutils-SIG@python.org" target="_blank">Distutils-SIG@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/distutils-sig" target="_blank">http://mail.python.org/<u></u>mailman/listinfo/distutils-sig</a><br>
<br>
</blockquote>
<br>
<br></div><span class="HOEnZb"><font color="#888888">
-- <br>
Alex Clark · <a href="http://pythonpackages.com/ONE_CLICK" target="_blank">http://pythonpackages.com/ONE_<u></u>CLICK</a></font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
Distutils-SIG maillist - <a href="mailto:Distutils-SIG@python.org" target="_blank">Distutils-SIG@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/distutils-sig" target="_blank">http://mail.python.org/<u></u>mailman/listinfo/distutils-sig</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Christopher Lambacher<br><a href="mailto:chris@kateandchris.net">chris@kateandchris.net</a><br>
</div>