1. Tarek Ziadé
  2. distribute
  3. Issues
Issue #65 resolved

bootstrap.py + zc.buildout 1.4.1. cannot find cli.exe

Matthew Scott
created an issue

On Windows: manually remove setuptools from c:\python26\lib\site-packages\ remove buildout globally cached eggs install distribute globally for python 2.6 using http://nightly.ziade.org/distribute_setup.py copy http://nightly.ziade.org/bootstrap.py into my buildout-based project's working copy remove bin, develop-eggs, parts in working copy run "python bootstrap.py"

{{{ Creating directory 'C:\env\...\src\...-hg\bin'.
Creating directory 'C:\env\...\src\...-hg\parts'.
Creating directory 'C:\env\...\src\...-hg\develop-eggs'.

An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "c:\docume~1\gldnspud\locals~1\temp\tmpitn3_a\zc.buildout-1.4.1-py2.6.egg\zc\buildout\buildout.py", line 1659, in main
getattr(buildout, command)(args)
File "bootstrap.py", line 165, in _bootstrap
File "c:\docume~1\gldnspud\locals~1\temp\tmpitn3_a\zc.buildout-1.4.1-py2.6.egg\zc\buildout\easy_install.py", line 956, in scripts
initialization, rpsetup)
File "c:\docume~1\gldnspud\locals~1\temp\tmpitn3_a\zc.buildout-1.4.1-py2.6.egg\zc\buildout\easy_install.py", line 1048, in _script
new_data = pkg_resources.resource_string('setuptools', 'cli.exe')
File "c:\python26\lib\site-packages\distribute-0.6.4-py2.6.egg\pkg_resources.py", line 848, in resource_string
self, resource_name
File "c:\python26\lib\site-packages\distribute-0.6.4-py2.6.egg\pkg_resources.py", line 1121, in get_resource_string
return self._get(self._fn(self.module_path, resource_name))
File "c:\python26\lib\site-packages\distribute-0.6.4-py2.6.egg\pkg_resources.py", line 1248, in _get
stream = open(path, 'rb')
IOError: [Errno 2] No such file or directory: 'c:\python26\lib\site-packages\distribute-0.6.4-py2.6.egg\setuptools\cli.exe'

A directory listing shows that there are two cli executables, but both have suffixes:


dir c:\python26\lib\site-packages\distribute-0.6.4-py2.6.egg\setuptools*.exe
Volume in drive C has no label.
Volume Serial Number is 2CA0-F2F5

Directory of c:\python26\lib\site-packages\distribute-0.6.4-py2.6.egg\setuptools

10/12/2009 11:11 AM 65,536 cli-32.exe
10/12/2009 11:11 AM 74,240 cli-64.exe
10/12/2009 11:11 AM 65,536 gui-32.exe
10/12/2009 11:11 AM 74,240 gui-64.exe
4 File(s) 279,552 bytes }}}

Comments (5)

  1. Log in to comment