Hello Senaite community,
I am working on installing Senaite on Ubuntu 24.04 TLS and I am getting an error message when running the buildout section.
Here is the erro I am getting. I have checked libraries and python virtualenv, all looks according to the documentation.
Any idea which could me increase my progress, I am searching but with no luck until now.
Many thanks,
Nicolas.
Getting distribution for ‘magnitude’.
WARNING: The easy_install command is deprecated and will be removed in a future version.
error: Couldn’t find a setup script in /apps/senaite/downloads/dist/magnitude-1.1.2.tar.gz
An error occurred when trying to install /apps/senaite/downloads/dist/magnitude-1.1.2.tar.gz. Look above this message for any errors that were output by easy_install.
While:
Installing instance.
Getting distribution for ‘magnitude’.
An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File “/apps/senaite/.pyenv/versions/2.7.18/envs/senaite/lib/python2.7/site-packages/zc/buildout/buildout.py”, line 2183, in main
getattr(buildout, command)(args)
File “/apps/senaite/.pyenv/versions/2.7.18/envs/senaite/lib/python2.7/site-packages/zc/buildout/buildout.py”, line 825, in install
installed_files = self[part]._call(recipe.install)
File “/apps/senaite/.pyenv/versions/2.7.18/envs/senaite/lib/python2.7/site-packages/zc/buildout/buildout.py”, line 1611, in _call
return f()
File “/apps/senaite/eggs/plone.recipe.zope2instance-6.13.0-py2.7.egg/plone/recipe/zope2instance/recipe.py”, line 148, in install
self.build_zope_conf()
File “/apps/senaite/eggs/plone.recipe.zope2instance-6.13.0-py2.7.egg/plone/recipe/zope2instance/recipe.py”, line 707, in build_zope_conf
requirements, ws = self.egg.working_set([“plone.recipe.zope2instance”])
File “/apps/senaite/eggs/zc.recipe.egg-2.0.7-py2.7.egg/zc/recipe/egg/egg.py”, line 87, in working_set
allow_unknown_extras=bool_option(buildout_section, ‘allow-unknown-extras’)
File “/apps/senaite/eggs/zc.recipe.egg-2.0.7-py2.7.egg/zc/recipe/egg/egg.py”, line 168, in _working_set
allow_unknown_extras=allow_unknown_extras)
File “/apps/senaite/.pyenv/versions/2.7.18/envs/senaite/lib/python2.7/site-packages/zc/buildout/easy_install.py”, line 963, in install
return installer.install(specs, working_set)
File “/apps/senaite/.pyenv/versions/2.7.18/envs/senaite/lib/python2.7/site-packages/zc/buildout/easy_install.py”, line 736, in install
for dist in self._get_dist(req, ws):
File “/apps/senaite/.pyenv/versions/2.7.18/envs/senaite/lib/python2.7/site-packages/zc/buildout/easy_install.py”, line 580, in _get_dist
dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]
File “/apps/senaite/.pyenv/versions/2.7.18/envs/senaite/lib/python2.7/site-packages/zc/buildout/easy_install.py”, line 1751, in _move_to_eggs_dir_and_compile
[tmp_loc] = glob.glob(os.path.join(tmp_dest, ‘*’))
ValueError: need more than 0 values to unpack