Created
May 30, 2017 17:04
-
-
Save rberger/8ee1bdc183f31fc25df222c458a9fe5f to your computer and use it in GitHub Desktop.
Error executing action `install` on resource 'python_package[setuptools]' info level
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* python_package[setuptools] action install[2017-05-30T17:00:28+00:00] INFO: Processing python_package[setuptools] action install (/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb line 138) | |
================================================================================ | |
Error executing action `install` on resource 'python_package[setuptools]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' | |
---- Begin output of ["/usr/bin/python2.7", "-", "setuptools"] ---- | |
STDOUT: | |
STDERR: Traceback (most recent call last): | |
File "<stdin>", line 38, in <module> | |
File "/usr/local/lib/python2.7/dist-packages/pip/index.py", line 465, in find_requirement | |
all_candidates = self.find_all_candidates(req.name) | |
File "/usr/local/lib/python2.7/dist-packages/pip/index.py", line 423, in find_all_candidates | |
for page in self._get_pages(url_locations, project_name): | |
File "/usr/local/lib/python2.7/dist-packages/pip/index.py", line 568, in _get_pages | |
page = self._get_page(location) | |
File "/usr/local/lib/python2.7/dist-packages/pip/index.py", line 683, in _get_page | |
return HTMLPage.get_page(link, session=self.session) | |
File "/usr/local/lib/python2.7/dist-packages/pip/index.py", line 792, in get_page | |
"Cache-Control": "max-age=600", | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/sessions.py", line 488, in get | |
return self.request('GET', url, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/pip/download.py", line 386, in request | |
return super(PipSession, self).request(method, url, *args, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/sessions.py", line 475, in request | |
resp = self.send(prep, **send_kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/sessions.py", line 596, in send | |
r = adapter.send(request, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/cachecontrol/adapter.py", line 37, in send | |
cached_response = self.controller.cached_request(request) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/cachecontrol/controller.py", line 111, in cached_request | |
resp = self.serializer.loads(request, cache_data) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/cachecontrol/serialize.py", line 114, in loads | |
return getattr(self, "_loads_v{0}".format(ver))(request, data) | |
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/cachecontrol/serialize.py", line 176, in _loads_v2 | |
cached = json.loads(zlib.decompress(data).decode("utf8")) | |
zlib.error: Error -5 while decompressing data: incomplete or truncated stream | |
---- End output of ["/usr/bin/python2.7", "-", "setuptools"] ---- | |
Ran ["/usr/bin/python2.7", "-", "setuptools"] returned 1 | |
Cookbook Trace: | |
--------------- | |
/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/command/mixin.rb:207:in `tap' | |
/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/command/mixin.rb:207:in `language_command_shell_out!' | |
/var/chef/cache/cookbooks/poise-languages/files/halite_gem/poise_languages/command/mixin.rb:222:in `block in language_command_mixin' | |
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:317:in `pip_command' | |
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:341:in `pip_outdated' | |
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:209:in `check_package_versions' | |
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_package.rb:189:in `load_current_resource' | |
/var/chef/cache/cookbooks/poise/files/halite_gem/poise/helpers/notifying_block.rb:69:in `notifying_block' | |
/var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb:50:in `action_install' | |
Resource Declaration: | |
--------------------- | |
# In /var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb | |
138: python_package 'setuptools' do | |
139: parent_python new_resource | |
140: version setuptools_version if setuptools_version.is_a?(String) | |
141: end | |
142: end | |
Compiled Resource: | |
------------------ | |
# Declared in /var/chef/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb:138:in `install_setuptools' | |
python_package("setuptools") do | |
package_name "setuptools" | |
action [:install] | |
retries 0 | |
retry_delay 2 | |
default_guard_interpreter :default | |
declared_type :python_package | |
cookbook_name "cloudcli" | |
parent_python python_runtime[2] | |
timeout 900 | |
end | |
Platform: | |
--------- | |
x86_64-linux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment