Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tratamento de erro na execução do Buildout #10

Open
deyvsonaguiar opened this issue Oct 25, 2017 · 2 comments
Open

Tratamento de erro na execução do Buildout #10

deyvsonaguiar opened this issue Oct 25, 2017 · 2 comments

Comments

@deyvsonaguiar
Copy link

No meio da minha instalação dá esse erro, podem me ajudar a discernir qual seria a solução?

Segue:

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/opt/odoo10/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 2123, in main
getattr(buildout, command)(args)
File "/opt/odoo10/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 796, in install
installed_files = self[part]._call(recipe.install)
File "/opt/odoo10/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1553, in _call
return f()
File "/opt/odoo10/src/anybox.recipe.odoo/anybox/recipe/odoo/base.py", line 1114, in install
self.install_requirements()
File "/opt/odoo10/src/anybox.recipe.odoo/anybox/recipe/odoo/base.py", line 557, in install_requirements
eggs_recipe.install()
File "/opt/odoo10/eggs/zc.recipe.egg-2.0.4-py2.7.egg/zc/recipe/egg/egg.py", line 193, in install
reqs, ws = self.working_set()
File "/opt/odoo10/eggs/zc.recipe.egg-2.0.4-py2.7.egg/zc/recipe/egg/egg.py", line 82, in working_set
allow_hosts=self.allow_hosts,
File "/opt/odoo10/eggs/zc.recipe.egg-2.0.4-py2.7.egg/zc/recipe/egg/egg.py", line 135, in _working_set
allow_hosts=allow_hosts)
File "/opt/odoo10/local/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 913, in install
return installer.install(specs, working_set)
File "/opt/odoo10/local/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 665, in install
for dist in self._get_dist(requirement, ws):
File "/opt/odoo10/local/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 563, in _get_dist
dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]
File "/opt/odoo10/local/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 1699, in _move_to_eggs_dir_and_compile
[tmp_loc] = glob.glob(os.path.join(tmp_dest, '*'))
ValueError: need more than 0 values to unpack

@mileo
Copy link
Member

mileo commented Oct 25, 2017

Comece o buildout com o comando:

virtualenv -p python3 . # ou python 2 para o Odoo < 11
bin/pip install -U zc.buildout==2.8.0 pip
bin/buildout

@mileo
Copy link
Member

mileo commented Oct 25, 2017

Outra coisa são as versões do setuptools e do buildout no cfg

`
[versions]

Avoid Buildout infinite subprocess recursion:

buildout/buildout#312

setuptools =
pybrasil =
geraldo =
pysped =
py3o.template =
py3o.formats =
#pyboleto =
pyusb=1.0.0b2

appdirs=1.4.2
packaging=16.8
pyparsing=2.1.10
six=1.11.0
zc.buildout=2.8.0`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants