easy_install.py _get_version fails if executable is missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
New
|
Undecided
|
Unassigned |
Bug Description
Having this buildout.cfg snippet:
[unopython]
executable = /usr/bin/python
[pyuno-ctl]
recipe = zc.recipe.egg
eggs = ulif.openoffice
scripts = pyunoctl convert
python = unopython
If /usr/bin/python is missing, easy_install.py def _get_version(
Traceback (most recent call last):
File "u:\eggs\
getattr(
File "u:\eggs\
installed_files = self[part]
File "u:\eggs\
return f()
File "u:\eggs\
reqs, ws = self.working_set()
File "u:\eggs\
**kw)
File "u:\eggs\
allow_
File "u:\eggs\
python=
File "u:\eggs\
pystring, version = version.split()
ValueError: too many values to unpack
because version == "The system cannot find the path specified." (well, on windows)