Skip to content

Instantly share code, notes, and snippets.

@dcrosta
Created September 22, 2012 19:36
Show Gist options
  • Save dcrosta/3767544 to your computer and use it in GitHub Desktop.
Save dcrosta/3767544 to your computer and use it in GitHub Desktop.
-----> Heroku receiving push
-----> Python app detected
-----> Preparing Python interpreter (2.7.2)
-----> Creating Virtualenv version 1.7.2
New python executable in .heroku/venv/bin/python2.7
Not overwriting existing python script .heroku/venv/bin/python (you must use .heroku/venv/bin/python2.7)
Installing distribute..................................................................................................................................................................................................done.
Installing pip................done.
Overwriting .heroku/venv/bin/activate with new content
Overwriting .heroku/venv/bin/activate.fish with new content
Overwriting .heroku/venv/bin/activate.csh with new content
Running virtualenv with interpreter /usr/local/bin/python2.7
-----> Activating virtualenv
-----> Installing dependencies using pip version 1.1
Requirement already satisfied (use --upgrade to upgrade): Flask==0.9 in ./.heroku/venv/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): Flask-Bootstrap==2.0.4-3 in ./.heroku/venv/lib/python2.7/site-packages (from -r requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): Flask-DebugToolbar==0.7.1 in ./.heroku/venv/lib/python2.7/site-packages (from -r requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): Flask-Login==0.1.3 in ./.heroku/venv/lib/python2.7/site-packages (from -r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): Flask-PyMongo==0.1.3 in ./.heroku/venv/lib/python2.7/site-packages (from -r requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): Flask-WTF==0.8 in ./.heroku/venv/lib/python2.7/site-packages (from -r requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): Jinja2==2.6 in ./.heroku/venv/lib/python2.7/site-packages (from -r requirements.txt (line 7))
Requirement already satisfied (use --upgrade to upgrade): WTForms==1.0.1 in ./.heroku/venv/lib/python2.7/site-packages (from -r requirements.txt (line 8))
Requirement already satisfied (use --upgrade to upgrade): Werkzeug==0.8.3 in ./.heroku/venv/lib/python2.7/site-packages (from -r requirements.txt (line 9))
Requirement already satisfied (use --upgrade to upgrade): blinker==1.2 in ./.heroku/venv/lib/python2.7/site-packages (from -r requirements.txt (line 10))
Downloading/unpacking pymongo==2.3 (from -r requirements.txt (line 11))
Storing download in cache at /app/tmp/repo.git/.cache/pip_downloads/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpymongo%2Fpymongo-2.3.tar.gz
Running setup.py egg_info for package pymongo
Requirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in /usr/local/lib/python2.7 (from -r requirements.txt (line 12))
Requirement already satisfied (use --upgrade to upgrade): Flask-OAuth==0.11 in ./.heroku/venv/lib/python2.7/site-packages (from -r requirements.txt (line 13))
Requirement already satisfied (use --upgrade to upgrade): sendgrid-python==0.1.1 in ./.heroku/venv/lib/python2.7/site-packages (from -r requirements.txt (line 14))
Requirement already satisfied (use --upgrade to upgrade): pytz in ./.heroku/venv/lib/python2.7/site-packages (from -r requirements.txt (line 15))
Requirement already satisfied (use --upgrade to upgrade): gunicorn==0.14.6 in ./.heroku/venv/lib/python2.7/site-packages (from -r requirements.txt (line 16))
Downloading/unpacking bugsnag==1.0.0 (from -r requirements.txt (line 17))
Downloading bugsnag-1.0.0.tar.gz
Storing download in cache at /app/tmp/repo.git/.cache/pip_downloads/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fb%2Fbugsnag%2Fbugsnag-1.0.0.tar.gz
Running setup.py egg_info for package bugsnag
Requirement already satisfied (use --upgrade to upgrade): oauth2 in ./.heroku/venv/lib/python2.7/site-packages (from Flask-OAuth==0.11->-r requirements.txt (line 13))
Requirement already satisfied (use --upgrade to upgrade): sendgrid in ./.heroku/venv/lib/python2.7/site-packages (from sendgrid-python==0.1.1->-r requirements.txt (line 14))
Requirement already satisfied (use --upgrade to upgrade): httplib2 in ./.heroku/venv/lib/python2.7/site-packages (from oauth2->Flask-OAuth==0.11->-r requirements.txt (line 13))
Installing collected packages: pymongo, bugsnag
Found existing installation: pymongo 2.3rc1
Exception:
Traceback (most recent call last):
File "/tmp/build_2rr7za23sacft/.heroku/venv/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 104, in main
status = self.run(options, args)
File "/tmp/build_2rr7za23sacft/.heroku/venv/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/commands/install.py", line 250, in run
requirement_set.install(install_options, global_options)
File "/tmp/build_2rr7za23sacft/.heroku/venv/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1120, in install
requirement.uninstall(auto_confirm=True)
File "/tmp/build_2rr7za23sacft/.heroku/venv/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 452, in uninstall
assert (link_pointer == dist.location), 'Egg-link %s does not match installed location of %s (at %s)' % (link_pointer, self.name, dist.location)
AssertionError: Egg-link ../../../../src/pymongo does not match installed location of pymongo (at /tmp/build_2rr7za23sacft/.heroku/src/pymongo)
Storing complete log in /app/.pip/pip.log
! Heroku push rejected, failed to compile Python app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment