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

Error with Pillow dependency #109

Open
PieterPaulussen opened this issue Oct 4, 2017 · 0 comments
Open

Error with Pillow dependency #109

PieterPaulussen opened this issue Oct 4, 2017 · 0 comments

Comments

@PieterPaulussen
Copy link
Contributor

Including Pillow==3.4.0 in your dependencies will crash buildout. I get the following traceback...

Traceback (most recent call last):
File "", line 1, in
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 2279, in main
**kw
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 411, in run
self.easy_install(spec, not self.no_deps)
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 653, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 698, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 879, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1118, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1104, in run_setup
run_setup(setup_script, args)
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/sandbox.py", line 257, in run_setup
raise
File "/usr/lib/python2.7/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/sandbox.py", line 199, in setup_context
yield
File "/usr/lib/python2.7/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/sandbox.py", line 170, in save_modules
saved_exc.resume()
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/sandbox.py", line 145, in resume
six.reraise(type, exc, self._tb)
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/sandbox.py", line 158, in save_modules
yield saved
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/sandbox.py", line 199, in setup_context
yield
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/sandbox.py", line 254, in run_setup
_execfile(setup_script, ns)
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/sandbox.py", line 49, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-EgOYDL/Pillow-3.4.0/setup.py", line 753, in

File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 169, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 155, in call_command
self.run_command(cmdname)
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/opt/home_virtualenv/lib/python2.7/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/usr/lib/python2.7/distutils/command/install_lib.py", line 111, in build
self.run_command('build_ext')
File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/tmp/easy_install-EgOYDL/Pillow-3.4.0/setup.py", line 521, in build_extensions

ValueError: jpeg is required unless explicitly disabled using --disable-jpeg, aborting
An error occurred when trying to install /tmp/tmpiI6t2oget_dist/Pillow-3.4.0.zip. Look above this message for any errors that were output by easy_install.
While:
Installing odoo.
Getting distribution for 'Pillow==3.4.0'.

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/home/eggs/zc.buildout-2.9.5-py2.7.egg/zc/buildout/buildout.py", line 2123, in main
getattr(buildout, command)(args)
File "/opt/home/eggs/zc.buildout-2.9.5-py2.7.egg/zc/buildout/buildout.py", line 796, in install
installed_files = self[part]._call(recipe.install)
File "/opt/home/eggs/zc.buildout-2.9.5-py2.7.egg/zc/buildout/buildout.py", line 1553, in _call
return f()
File "/opt/home/a.r.odoo/anybox/recipe/odoo/base.py", line 1123, in install
self.install_requirements()
File "/opt/home/a.r.odoo/anybox/recipe/odoo/base.py", line 566, in install_requirements
eggs_recipe.install()
File "/opt/home/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/home/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/home/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/home/eggs/zc.buildout-2.9.5-py2.7.egg/zc/buildout/easy_install.py", line 913, in install
return installer.install(specs, working_set)
File "/opt/home/eggs/zc.buildout-2.9.5-py2.7.egg/zc/buildout/easy_install.py", line 665, in install
for dist in self._get_dist(requirement, ws):
File "/opt/home/eggs/zc.buildout-2.9.5-py2.7.egg/zc/buildout/easy_install.py", line 563, in _get_dist
dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]
File "/opt/home/eggs/zc.buildout-2.9.5-py2.7.egg/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

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

1 participant