Skip to content

Instantly share code, notes, and snippets.

@tswicegood
Created June 2, 2011 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tswicegood/040684acd4e8127b6a1a to your computer and use it in GitHub Desktop.
Save tswicegood/040684acd4e8127b6a1a to your computer and use it in GitHub Desktop.
puppet install failure with distribute
notice: /Stage[pre]/Python/Package[python-setuptools]/ensure: ensure changed 'purged' to 'latest'
notice: /Stage[pre]/Python/Exec[pip]: Triggered 'refresh' from 1 events
notice: /Stage[main]//Exec[env]/returns: SHELL=/bin/bash
notice: /Stage[main]//Exec[env]/returns: TERM=xterm-256color
notice: /Stage[main]//Exec[env]/returns: USER=root
notice: /Stage[main]//Exec[env]/returns: LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
notice: /Stage[main]//Exec[env]/returns: SUDO_USER=vagrant
notice: /Stage[main]//Exec[env]/returns: SUDO_UID=1000
notice: /Stage[main]//Exec[env]/returns: USERNAME=root
notice: /Stage[main]//Exec[env]/returns: MAIL=/var/mail/root
notice: /Stage[main]//Exec[env]/returns: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
notice: /Stage[main]//Exec[env]/returns: PWD=/tmp/vagrant-puppet/manifests
notice: /Stage[main]//Exec[env]/returns: LANG=C
notice: /Stage[main]//Exec[env]/returns: SHLVL=1
notice: /Stage[main]//Exec[env]/returns: SUDO_COMMAND=/bin/bash
notice: /Stage[main]//Exec[env]/returns: HOME=/home/vagrant
notice: /Stage[main]//Exec[env]/returns: LOGNAME=root
notice: /Stage[main]//Exec[env]/returns: LESSOPEN=| /usr/bin/lesspipe %s
notice: /Stage[main]//Exec[env]/returns: SUDO_GID=1000
notice: /Stage[main]//Exec[env]/returns: LESSCLOSE=/usr/bin/lesspipe %s %s
notice: /Stage[main]//Exec[env]/returns: _=/usr/bin/puppet
notice: /Stage[main]//Exec[env]/returns: DEBIAN_FRONTEND=noninteractive
notice: /Stage[main]//Exec[env]/returns: APT_LISTBUGS_FRONTEND=none
notice: /Stage[main]//Exec[env]/returns: APT_LISTCHANGES_FRONTEND=none
notice: /Stage[main]//Exec[env]/returns: LANGUAGE=C
notice: /Stage[main]//Exec[env]/returns: LC_MESSAGES=C
notice: /Stage[main]//Exec[env]/returns: LC_ALL=C
notice: /Stage[main]//Exec[env]/returns: executed successfully
err: /Stage[main]//Package[armstrong]/ensure: change from absent to present failed: Execution of '/usr/local/bin/pip install -vvv armstrong' returned 1: Downloading/unpacking armstrong
Running setup.py egg_info for package armstrong
Running command python setup.py egg_info
running egg_info
writing requirements to pip-egg-info/armstrong.egg-info/requires.txt
writing pip-egg-info/armstrong.egg-info/PKG-INFO
writing namespace_packages to pip-egg-info/armstrong.egg-info/namespace_packages.txt
writing top-level names to pip-egg-info/armstrong.egg-info/top_level.txt
writing dependency_links to pip-egg-info/armstrong.egg-info/dependency_links.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/armstrong.egg-info/SOURCES.txt'
writing manifest file 'pip-egg-info/armstrong.egg-info/SOURCES.txt'
Downloading/unpacking armstrong.cli>=0.3.2,<0.4 (from armstrong)
Running setup.py egg_info for package armstrong.cli
Running command python setup.py egg_info
running egg_info
writing pip-egg-info/armstrong.cli.egg-info/PKG-INFO
writing namespace_packages to pip-egg-info/armstrong.cli.egg-info/namespace_packages.txt
writing top-level names to pip-egg-info/armstrong.cli.egg-info/top_level.txt
writing dependency_links to pip-egg-info/armstrong.cli.egg-info/dependency_links.txt
writing entry points to pip-egg-info/armstrong.cli.egg-info/entry_points.txt
warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info/armstrong.cli.egg-info/SOURCES.txt'
writing manifest file 'pip-egg-info/armstrong.cli.egg-info/SOURCES.txt'
Source in ./build/armstrong.cli has version 0.3.2, which satisfies requirement armstrong.cli>=0.3.2,<0.4 (from armstrong)
Downloading/unpacking armstrong.core.arm-content>=0.3.0,<0.4 (from armstrong)
Running setup.py egg_info for package armstrong.core.arm-content
Running command python setup.py egg_info
Traceback (most recent call last):
File "<string>", line 3, in <module>
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/setuptools/__init__.py", line 2, in <module>
from setuptools.extension import Extension, Library
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/setuptools/extension.py", line 2, in <module>
from setuptools.dist import _get_unpatched
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/setuptools/dist.py", line 6, in <module>
from setuptools.command.install import install
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/setuptools/command/__init__.py", line 8, in <module>
from setuptools.command import install_scripts
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/setuptools/command/install_scripts.py", line 3, in <module>
from pkg_resources import Distribution, PathMetadata, ensure_directory
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 2729, in <module>
add_activation_listener(lambda dist: dist.activate())
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 700, in subscribe
callback(dist)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 2729, in <lambda>
add_activation_listener(lambda dist: dist.activate())
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 2232, in activate
map(declare_namespace, self._get_metadata('namespace_packages.txt'))
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 1815, in declare_namespace
path = sys.modules[parent].__path__
KeyError: 'armstrong'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 3, in <module>
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/setuptools/__init__.py", line 2, in <module>
from setuptools.extension import Extension, Library
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/setuptools/extension.py", line 2, in <module>
from setuptools.dist import _get_unpatched
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/setuptools/dist.py", line 6, in <module>
from setuptools.command.install import install
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/setuptools/command/__init__.py", line 8, in <module>
from setuptools.command import install_scripts
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/setuptools/command/install_scripts.py", line 3, in <module>
from pkg_resources import Distribution, PathMetadata, ensure_directory
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 2729, in <module>
add_activation_listener(lambda dist: dist.activate())
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 700, in subscribe
callback(dist)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 2729, in <lambda>
add_activation_listener(lambda dist: dist.activate())
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 2232, in activate
map(declare_namespace, self._get_metadata('namespace_packages.txt'))
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 1815, in declare_namespace
path = sys.modules[parent].__path__
KeyError: 'armstrong'
----------------------------------------
Command python setup.py egg_info failed with error code 1
Exception information:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pip-1.0.1-py2.7.egg/pip/basecommand.py", line 126, in main
self.run(options, args)
File "/usr/local/lib/python2.7/dist-packages/pip-1.0.1-py2.7.egg/pip/commands/install.py", line 223, 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-1.0.1-py2.7.egg/pip/req.py", line 986, in prepare_files
req_to_install.run_egg_info()
File "/usr/local/lib/python2.7/dist-packages/pip-1.0.1-py2.7.egg/pip/req.py", line 222, in run_egg_info
command_desc='python setup.py egg_info')
File "/usr/local/lib/python2.7/dist-packages/pip-1.0.1-py2.7.egg/pip/__init__.py", line 255, in call_subprocess
% (command_desc, proc.returncode))
InstallationError: Command python setup.py egg_info failed with error code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment