Skip to content

Instantly share code, notes, and snippets.

@cwjohnston
Last active December 20, 2015 03:49
Show Gist options
  • Select an option

  • Save cwjohnston/6066759 to your computer and use it in GitHub Desktop.

Select an option

Save cwjohnston/6066759 to your computer and use it in GitHub Desktop.
[2013-07-23T22:15:28+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2013-07-23T22:15:28+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: python_pip[supervisor] (supervisor::default line 29) had
an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of pip install --upgrade supervisor ----
STDOUT: Could not find a version that satisfies the requirement supervisor in /usr/local/lib/python2.7/dist-packages (from version
s: 3.0b2, 3.0a9, 3.0a11, 3.0a8, 3.0a7, 3.0a10, 3.0a12, 3.0b2, 3.0b1)
Downloading/unpacking supervisor
Cleaning up...
No distributions matching the version for supervisor in /usr/local/lib/python2.7/dist-packages
Storing complete log in /home/ubuntu/.pip/pip.log
STDERR:
---- End output of pip install --upgrade supervisor ----
Ran pip install --upgrade supervisor returned 1
root@ip-10-122-94-48:~# pip --version
pip 1.4 from /usr/local/lib/python2.7/dist-packages (python 2.7)
------------------------------------------------------------
/usr/local/bin/pip run on Tue Jul 23 22:15:28 2013
Getting page https://pypi.python.org/simple/supervisor/
URLs to search for versions for supervisor in /usr/local/lib/python2.7/dist-packages:
* https://pypi.python.org/simple/supervisor/
Analyzing links from page https://pypi.python.org/simple/supervisor/
Found link https://pypi.python.org/packages/source/s/supervisor/supervisor-3.0a9.tar.gz#md5=81d192acab20eef3578856651af7e851 (from https://pypi.python.org/simple/supervisor/), version: 3.0a9
Found link https://pypi.python.org/packages/source/s/supervisor/supervisor-3.0a11.tar.gz#md5=79c8cdcb7f2b54d965d5d290ec938d2e (from https://pypi.python.org/simple/supervisor/), version: 3.0a11
Found link https://pypi.python.org/packages/source/s/supervisor/supervisor-3.0a8.tar.gz#md5=7a775455f3a53c2ea375d18dcfe9e522 (from https://pypi.python.org/simple/supervisor/), version: 3.0a8
Found link https://pypi.python.org/packages/source/s/supervisor/supervisor-3.0a7.tar.gz#md5=d2e6c491fcb2606e4fd0afe4ebfd4b13 (from https://pypi.python.org/simple/supervisor/), version: 3.0a7
Found link https://pypi.python.org/packages/source/s/supervisor/supervisor-3.0a10.tar.gz#md5=99c6fbd45bade87301296b7a597fb68e (from https://pypi.python.org/simple/supervisor/), version: 3.0a10
Found link https://pypi.python.org/packages/source/s/supervisor/supervisor-3.0a12.tar.gz#md5=eb2ea5a2c3b665ba9277d17d14584a25 (from https://pypi.python.org/simple/supervisor/), version: 3.0a12
Found link https://pypi.python.org/packages/source/s/supervisor/supervisor-3.0b2.tar.gz#md5=e2557853239ee69955f993091b0eddc4 (from https://pypi.python.org/simple/supervisor/), version: 3.0b2
Found link https://pypi.python.org/packages/source/s/supervisor/supervisor-3.0b1.tar.gz#md5=5a2f1bb052bb2bbfd6d69ba8b1e1dad7 (from https://pypi.python.org/simple/supervisor/), version: 3.0b1
Ignoring link Inf, version 3.0b2 is a pre-release (use --pre to allow).
Ignoring link https://pypi.python.org/packages/source/s/supervisor/supervisor-3.0a9.tar.gz#md5=81d192acab20eef3578856651af7e851 (from https://pypi.python.org/simple/supervisor/), version 3.0a9 is a pre-release (use --pre to allow).
Ignoring link https://pypi.python.org/packages/source/s/supervisor/supervisor-3.0a11.tar.gz#md5=79c8cdcb7f2b54d965d5d290ec938d2e (from https://pypi.python.org/simple/supervisor/), version 3.0a11 is a pre-release (use --pre to allow).
Ignoring link https://pypi.python.org/packages/source/s/supervisor/supervisor-3.0a8.tar.gz#md5=7a775455f3a53c2ea375d18dcfe9e522 (from https://pypi.python.org/simple/supervisor/), version 3.0a8 is a pre-release (use --pre to allow).
Ignoring link https://pypi.python.org/packages/source/s/supervisor/supervisor-3.0a7.tar.gz#md5=d2e6c491fcb2606e4fd0afe4ebfd4b13 (from https://pypi.python.org/simple/supervisor/), version 3.0a7 is a pre-release (use --pre to allow).
Ignoring link https://pypi.python.org/packages/source/s/supervisor/supervisor-3.0a10.tar.gz#md5=99c6fbd45bade87301296b7a597fb68e (from https://pypi.python.org/simple/supervisor/), version 3.0a10 is a pre-release (use --pre to allow).
Ignoring link https://pypi.python.org/packages/source/s/supervisor/supervisor-3.0a12.tar.gz#md5=eb2ea5a2c3b665ba9277d17d14584a25 (from https://pypi.python.org/simple/supervisor/), version 3.0a12 is a pre-release (use --pre to allow).
Ignoring link https://pypi.python.org/packages/source/s/supervisor/supervisor-3.0b2.tar.gz#md5=e2557853239ee69955f993091b0eddc4 (from https://pypi.python.org/simple/supervisor/), version 3.0b2 is a pre-release (use --pre to allow).
Ignoring link https://pypi.python.org/packages/source/s/supervisor/supervisor-3.0b1.tar.gz#md5=5a2f1bb052bb2bbfd6d69ba8b1e1dad7 (from https://pypi.python.org/simple/supervisor/), version 3.0b1 is a pre-release (use --pre to allow).
Could not find a version that satisfies the requirement supervisor in /usr/local/lib/python2.7/dist-packages (from versions: 3.0b2, 3.0a9, 3.0a11, 3.0a8, 3.0a7, 3.0a10, 3.0a12, 3.0b2, 3.0b1)
Downloading/unpacking supervisor
Cleaning up...
Removing temporary dir /tmp/pip-build-root...
No distributions matching the version for supervisor in /usr/local/lib/python2.7/dist-packages
Exception information:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 134, in main
status = self.run(options, args)
File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 236, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/local/lib/python2.7/dist-packages/pip/req.py", line 1076, in prepare_files
raise not_found
DistributionNotFound: No distributions matching the version for supervisor in /usr/local/lib/python2.7/dist-packages
@rgbkrk

rgbkrk commented Jul 24, 2013

Copy link
Copy Markdown

Hopefully the transition to setuptools fixes this version of pip, but @wyattwalter's solution will work:

node.default[:supervisor][:version] = "3.0b2"

@gondoi

gondoi commented Jul 30, 2013

Copy link
Copy Markdown

I've submitted a Pull Request if anyone want's to look it over or use it: poise/supervisor#17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment