[Distutils] Buildout 1.6.0

Alex Clark aclark at aclark.net
Fri Aug 17 20:13:31 CEST 2012


Hi Chris,

On 8/17/12 12:15 PM, Chris Lambacher wrote:
> 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.


Thanks for the feedback! I think Domen Kožar (iElectric) is working on it.

>
> 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.


Does this help at all? 
https://github.com/buildout/buildout/blob/1.6.x/DEVELOPERS.txt



Alex




>
> -Chris
>
> On Fri, Aug 17, 2012 at 9:56 AM, Alex Clark <aclark at aclark.net
> <mailto: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
>         <mailto: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
>     <mailto: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 <mailto:chris at kateandchris.net>
>
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>


-- 
Alex Clark · http://pythonpackages.com/ONE_CLICK



More information about the Distutils-SIG mailing list