Skip to content

Instantly share code, notes, and snippets.

@julien51
Created October 25, 2012 16:43
Show Gist options
  • Save julien51/3953942 to your computer and use it in GitHub Desktop.
Save julien51/3953942 to your computer and use it in GitHub Desktop.
================================================================================
Error executing action `install` on resource 'python_pip[virtualenv]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of pip freeze | grep -i '^virtualenv==' ----
STDOUT:
STDERR:
---- End output of pip freeze | grep -i '^virtualenv==' ----
Ran pip freeze | grep -i '^virtualenv==' returned 1
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/python/providers/pip.rb:127:in `current_installed_version'
/var/chef/cache/cookbooks/python/providers/pip.rb:110:in `load_current_resource'
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/python/recipes/virtualenv.rb
23: python_pip "virtualenv" do
24: action :install
25: end
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/python/recipes/virtualenv.rb:23:in `from_file'
python_pip("virtualenv") do
action [:install]
retries 0
retry_delay 2
cookbook_name "python"
recipe_name "virtualenv"
package_name "virtualenv"
end
[2012-10-25T11:59:00-04:00] ERROR: Running exception handlers
[2012-10-25T11:59:00-04:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[2012-10-25T11:59:00-04:00] ERROR: Exception handlers complete
[2012-10-25T11:59:00-04:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2012-10-25T11:59:00-04:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: python_pip[virtualenv] (python::virtualenv line 23) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of pip freeze | grep -i '^virtualenv==' ----
STDOUT:
STDERR:
---- End output of pip freeze | grep -i '^virtualenv==' ----
Ran pip freeze | grep -i '^virtualenv==' returned 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment