thank you guys for your time and ideas,
@fredvd i have openssl installed.
@mauritsvanrees
i tried to run you temp.cfg and it ended immediatelly when installing setuptools-49.3.1.zip:
client]$ bin/buildout -vD -c temp.cfg
Installing 'zc.buildout', 'setuptools'.
We have the distribution that satisfies 'zc.buildout==1.4.4'.
We have the best distribution that satisfies 'distribute'.
Picked: distribute = 0.7.3
Getting required 'setuptools>=0.7'
required by distribute 0.7.3.
We have no distributions for setuptools that satisfies 'setuptools>=0.7'.
Getting distribution for 'setuptools>=0.7'.
Running easy_install:
/srv/data/intranet/Python-2.6/bin/python "-c" "from setuptools.command.easy_install import main; main()" "-mUNxd" "/srv/data/intranet/client/eggs/tmp2M7ZbF" "-q" "/tmp/tmpgbKNtTget_dist/setuptools-49.3.1.zip"
path=/srv/data/intranet/buildout-cache/eggs/distribute-0.6.24-py2.6.egg
Traceback (most recent call last):
File "", line 1, in
File "/srv/data/intranet/Python-2.6/lib/python2.6/site-packages/distribute-0.6.19-py2.6.egg/setuptools/command/easy_install.py", line 1864, in main
with_ei_usage(lambda:
File "/srv/data/intranet/Python-2.6/lib/python2.6/site-packages/distribute-0.6.19-py2.6.egg/setuptools/command/easy_install.py", line 1845, in with_ei_usage
return f()
File "/srv/data/intranet/Python-2.6/lib/python2.6/site-packages/distribute-0.6.19-py2.6.egg/setuptools/command/easy_install.py", line 1868, in
distclass=DistributionWithoutHelpCommands, **kw
File "/srv/data/intranet/Python-2.6/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/srv/data/intranet/Python-2.6/lib/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/srv/data/intranet/Python-2.6/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/srv/data/intranet/Python-2.6/lib/python2.6/site-packages/distribute-0.6.19-py2.6.egg/setuptools/command/easy_install.py", line 345, in run
self.easy_install(spec, not self.no_deps)
File "/srv/data/intranet/Python-2.6/lib/python2.6/site-packages/distribute-0.6.19-py2.6.egg/setuptools/command/easy_install.py", line 565, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/srv/data/intranet/Python-2.6/lib/python2.6/site-packages/distribute-0.6.19-py2.6.egg/setuptools/command/easy_install.py", line 615, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/srv/data/intranet/Python-2.6/lib/python2.6/site-packages/distribute-0.6.19-py2.6.egg/setuptools/command/easy_install.py", line 805, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/srv/data/intranet/Python-2.6/lib/python2.6/site-packages/distribute-0.6.19-py2.6.egg/setuptools/command/easy_install.py", line 1082, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/srv/data/intranet/Python-2.6/lib/python2.6/site-packages/distribute-0.6.19-py2.6.egg/setuptools/command/easy_install.py", line 1071, in run_setup
run_setup(setup_script, args)
File "/srv/data/intranet/Python-2.6/lib/python2.6/site-packages/distribute-0.6.19-py2.6.egg/setuptools/sandbox.py", line 30, in run_setup
lambda: execfile(
File "/srv/data/intranet/Python-2.6/lib/python2.6/site-packages/distribute-0.6.19-py2.6.egg/setuptools/sandbox.py", line 72, in run
return func()
File "/srv/data/intranet/Python-2.6/lib/python2.6/site-packages/distribute-0.6.19-py2.6.egg/setuptools/sandbox.py", line 32, in
{'file':setup_script, 'name':'main'}
File "setup.py", line 175, in
File "setup.py", line 49, in _gen_console_scripts
ValueError: zero length field name in format
An error occured when trying to install setuptools 49.3.1. Look above this message for any errors that were output by easy_install.
While:
Installing.
Checking for upgrades.
Getting distribution for 'setuptools>=0.7'.
Traceback (most recent call last):
File "/srv/data/intranet/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", line 1683, in main
getattr(buildout, command)(args)
File "/srv/data/intranet/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", line 404, in install
self._maybe_upgrade()
File "/srv/data/intranet/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/buildout.py", line 827, in _maybe_upgrade
allow_hosts = self._allow_hosts
File "/srv/data/intranet/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/easy_install.py", line 800, in install
return installer.install(specs, working_set)
File "/srv/data/intranet/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/easy_install.py", line 670, in install
for dist in self._get_dist(requirement, ws, self._always_unzip
File "/srv/data/intranet/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/easy_install.py", line 543, in _get_dist
dist.location, ws, self._dest, dist)
File "/srv/data/intranet/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/easy_install.py", line 351, in _call_easy_install
raise zc.buildout.UserError("Couldn't install: %s" % dist)
UserError: Couldn't install: setuptools 49.3.1
Starting pdb:
/srv/data/intranet/buildout-cache/eggs/zc.buildout-1.4.4-py2.6.egg/zc/buildout/easy_install.py(351)_call_easy_install()
-> raise zc.buildout.UserError("Couldn't install: %s" % dist)
(Pdb)
the error is at same line/file as eggtestinfo case
if not dists:
raise zc.buildout.UserError("Couldn't install: %s" % dist):
def _call_easy_install(self, spec, ws, dest, dist):
tmp = tempfile.mkdtemp(dir=dest)
try:
path = setuptools_loc
args = ('-c', _easy_install_cmd, '-mUNxd', _safe_arg(tmp))
if self._always_unzip:
args += ('-Z', )
level = logger.getEffectiveLevel()
if level > 0:
args += ('-q', )
elif level < 0:
args += ('-v', )
args += (_safe_arg(spec), )
if level <= logging.DEBUG:
logger.debug('Running easy_install:\n%s "%s"\npath=%s\n',
self._executable, '" "'.join(args), path)
if is_jython:
extra_env = dict(os.environ, PYTHONPATH=path)
else:
args += (dict(os.environ, PYTHONPATH=path), )
sys.stdout.flush() # We want any pending output first
if is_jython:
exit_code = subprocess.Popen(
[_safe_arg(self._executable)] + list(args),
env=extra_env).wait()
else:
exit_code = os.spawnle(
os.P_WAIT, self._executable, _safe_arg (self._executable),
*args)
dists = []
env = pkg_resources.Environment(
[tmp],
python=_get_version(self._executable),
)
for project in env:
dists.extend(env[project])
if exit_code:
logger.error(
"An error occured when trying to install %s. "
"Look above this message for any errors that "
"were output by easy_install.",
dist)
if not dists:
raise zc.buildout.UserError("Couldn't install: %s" % dist)