[Distutils] Buildout 1.6.0
Chris Lambacher
chris at kateandchris.net
Fri Aug 17 18:15:39 CEST 2012
Hi Alex,
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.
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.
-Chris
On Fri, Aug 17, 2012 at 9:56 AM, Alex Clark <aclark at aclark.net> wrote:
> On 8/17/12 7:08 AM, Matthew Churcher wrote:
>
>> Hi all,
>>
>> 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.
>>
>> When calling bin\buildout.exe the following error occurs:
>>
>> An internal error occurred due to a bug in either zc.buildout or in a
>> recipe being used:
>> Traceback (most recent call last):
>> File "c:\svn\remoteaccess\eggs\zc.**buildout-1.6.0-py2.7.egg\zc\**buildout\buildout.py",
>> line 1848, in main
>> getattr(buildout, command)(args)
>> File "c:\svn\remoteaccess\eggs\zc.**buildout-1.6.0-py2.7.egg\zc\**buildout\buildout.py",
>> line 480, in install
>> installed_develop_eggs = self._develop()
>> File "c:\svn\remoteaccess\eggs\zc.**buildout-1.6.0-py2.7.egg\zc\**buildout\buildout.py",
>> line 720, in _develop
>> zc.buildout.easy_install.**develop(setup, dest)
>> File "c:\svn\remoteaccess\eggs\zc.**buildout-1.6.0-py2.7.egg\zc\**buildout\easy_install.py",
>> line 1186, in develop
>> subprocess.check_call([_safe_**arg(executable)] + args)
>> File "c:\Python27\lib\subprocess.**py", line 499, in check_call
>> retcode = call(*popenargs, **kwargs)
>> File "c:\Python27\lib\subprocess.**py", line 486, in call
>> return Popen(*popenargs, **kwargs).wait()
>> File "c:\Python27\lib\subprocess.**py", line 672, in __init__
>> errread, errwrite)
>> File "c:\Python27\lib\subprocess.**py", line 882, in _execute_child
>> startupinfo)
>> WindowsError: [Error 2] The system cannot find the file specified
>>
>> We are currently working around this by pinning bootstrap.py to version
>> 1.5.2. 'python bootstrap.py -v "1.5.2"'.
>>
>> 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?
>>
>
>
> 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.
>
>
> Alex
>
>
>
>
>
>
>> Thanks in advanced,
>> Matt
>> ______________________________**_________________
>> Distutils-SIG maillist - Distutils-SIG at python.org
>> http://mail.python.org/**mailman/listinfo/distutils-sig<http://mail.python.org/mailman/listinfo/distutils-sig>
>>
>>
>
> --
> Alex Clark · http://pythonpackages.com/ONE_**CLICK<http://pythonpackages.com/ONE_CLICK>
>
>
> ______________________________**_________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> http://mail.python.org/**mailman/listinfo/distutils-sig<http://mail.python.org/mailman/listinfo/distutils-sig>
>
--
Christopher Lambacher
chris at kateandchris.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20120817/00643b46/attachment.html>
More information about the Distutils-SIG
mailing list