Skip to content

Instantly share code, notes, and snippets.

@DavidYKay
Created May 30, 2012 15:28
Show Gist options
  • Save DavidYKay/2837029 to your computer and use it in GitHub Desktop.
Save DavidYKay/2837029 to your computer and use it in GitHub Desktop.
Heroku Fail to Push
Counting objects: 11, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 514 bytes, done.
Total 6 (delta 5), reused 0 (delta 0)
-----> Heroku receiving push
-----> Python/Django app detected
-----> Preparing Python interpreter (2.7.2)
-----> Creating Virtualenv version 1.7
New python executable in ./bin/python2.7
Not overwriting existing python script ./bin/python (you must use ./bin/python2.7)
Installing distribute..............................................................................................................................................................................................done.
Installing pip...............done.
Overwriting ./bin/activate with new content
Overwriting ./bin/activate.fish with new content
Overwriting ./bin/activate.csh with new content
Running virtualenv with interpreter /usr/local/bin/python2.7
-----> Activating virtualenv
-----> Installing dependencies using pip version 1.0.2
Requirement already satisfied (use --upgrade to upgrade): Django==1.3.1 in ./lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): PIL==1.1.7 in ./lib/python2.7/site-packages/PIL (from -r requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): South==0.7.3 in ./lib/python2.7/site-packages (from -r requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): amqplib==1.0.2 in ./lib/python2.7/site-packages (from -r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): anyjson==0.3.1 in ./lib/python2.7/site-packages (from -r requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): boto in ./lib/python2.7/site-packages (from -r requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): celery==2.4.6 in ./lib/python2.7/site-packages (from -r requirements.txt (line 7))
Requirement already satisfied (use --upgrade to upgrade): distribute==0.6.24 in ./lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg (from -r requirements.txt (line 8))
Requirement already satisfied (use --upgrade to upgrade): django-celery==2.4.2 in ./lib/python2.7/site-packages (from -r requirements.txt (line 9))
Requirement already satisfied (use --upgrade to upgrade): django-ckeditor==0.0.9 in ./lib/python2.7/site-packages (from -r requirements.txt (line 10))
Requirement already satisfied (use --upgrade to upgrade): django-kombu==0.9.4 in ./lib/python2.7/site-packages (from -r requirements.txt (line 11))
Requirement already satisfied (use --upgrade to upgrade): django-picklefield==0.1.9 in ./lib/python2.7/site-packages (from -r requirements.txt (line 12))
Requirement already satisfied (use --upgrade to upgrade): django-social-auth==0.6.1 in ./lib/python2.7/site-packages (from -r requirements.txt (line 13))
Requirement already satisfied (use --upgrade to upgrade): django-storages in ./lib/python2.7/site-packages (from -r requirements.txt (line 14))
Requirement already satisfied (use --upgrade to upgrade): gunicorn==0.13.4 in ./lib/python2.7/site-packages (from -r requirements.txt (line 15))
Requirement already satisfied (use --upgrade to upgrade): httplib2==0.7.2 in ./lib/python2.7/site-packages (from -r requirements.txt (line 16))
Requirement already satisfied (use --upgrade to upgrade): kombu==2.0.0 in ./lib/python2.7/site-packages (from -r requirements.txt (line 17))
Requirement already satisfied (use --upgrade to upgrade): oauth2==1.5.211 in ./lib/python2.7/site-packages (from -r requirements.txt (line 18))
Requirement already satisfied (use --upgrade to upgrade): psycopg2==2.4.4 in ./lib/python2.7/site-packages (from -r requirements.txt (line 19))
Requirement already satisfied (use --upgrade to upgrade): python-dateutil==1.5 in ./lib/python2.7/site-packages (from -r requirements.txt (line 20))
Requirement already satisfied (use --upgrade to upgrade): python-openid==2.2.5 in ./lib/python2.7/site-packages (from -r requirements.txt (line 21))
Requirement already satisfied (use --upgrade to upgrade): simplejson==2.3.2 in ./lib/python2.7/site-packages (from -r requirements.txt (line 22))
Requirement already satisfied (use --upgrade to upgrade): wsgiref==0.1.2 in /usr/local/lib/python2.7 (from -r requirements.txt (line 23))
Requirement already satisfied (use --upgrade to upgrade): geopy in ./lib/python2.7/site-packages (from -r requirements.txt (line 24))
Requirement already satisfied (use --upgrade to upgrade): django-tastypie==0.9.11 in ./lib/python2.7/site-packages (from -r requirements.txt (line 25))
Requirement already satisfied (use --upgrade to upgrade): linaro-django-pagination in ./lib/python2.7/site-packages (from -r requirements.txt (line 26))
Requirement already satisfied (use --upgrade to upgrade): mimeparse in ./lib/python2.7/site-packages (from django-tastypie==0.9.11->-r requirements.txt (line 25))
Cleaning up...
-----> Collecting static files
Traceback (most recent call last):
File "crimefighter/manage.py", line 14, in <module>
execute_manager(settings)
File "/tmp/build_3cxx04v38d8m8/lib/python2.7/site-packages/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/tmp/build_3cxx04v38d8m8/lib/python2.7/site-packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/tmp/build_3cxx04v38d8m8/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/tmp/build_3cxx04v38d8m8/lib/python2.7/site-packages/django/core/management/base.py", line 209, in execute
translation.activate('en-us')
File "/tmp/build_3cxx04v38d8m8/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 100, in activate
return _trans.activate(language)
File "/tmp/build_3cxx04v38d8m8/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 202, in activate
_active.value = translation(language)
File "/tmp/build_3cxx04v38d8m8/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 185, in translation
default_translation = _fetch(settings.LANGUAGE_CODE)
File "/tmp/build_3cxx04v38d8m8/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 162, in _fetch
app = import_module(appname)
File "/tmp/build_3cxx04v38d8m8/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/tmp/build_3cxx04v38d8m8/lib/python2.7/site-packages/django/contrib/admin/__init__.py", line 3, in <module>
from django.contrib.admin.helpers import ACTION_CHECKBOX_NAME
File "/tmp/build_3cxx04v38d8m8/lib/python2.7/site-packages/django/contrib/admin/helpers.py", line 3, in <module>
from django.contrib.admin.util import (flatten_fieldsets, lookup_field,
File "/tmp/build_3cxx04v38d8m8/lib/python2.7/site-packages/django/contrib/admin/util.py", line 1, in <module>
from django.db import models
File "/tmp/build_3cxx04v38d8m8/lib/python2.7/site-packages/django/db/__init__.py", line 78, in <module>
connection = connections[DEFAULT_DB_ALIAS]
File "/tmp/build_3cxx04v38d8m8/lib/python2.7/site-packages/django/db/utils.py", line 93, in __getitem__
backend = load_backend(db['ENGINE'])
File "/tmp/build_3cxx04v38d8m8/lib/python2.7/site-packages/django/db/utils.py", line 33, in load_backend
return import_module('.base', backend_name)
File "/tmp/build_3cxx04v38d8m8/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/tmp/build_3cxx04v38d8m8/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py", line 35, in <module>
raise ImproperlyConfigured("Error loading %s: %s" % (module, exc))
django.core.exceptions.ImproperlyConfigured: Error loading either pysqlite2 or sqlite3 modules (tried in that order): No module named _sqlite3
! Heroku push rejected, failed to compile Python/django app
To [email protected]:[myapp].git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:[myapp].git'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment