Created
November 4, 2012 17:40
-
-
Save walkah/4012728 to your computer and use it in GitHub Desktop.
django syncdb error on heroku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running `python manage.py syncdb` attached to terminal... up, run.1 | |
Skipping creation of NoticeTypes as notification app not found | |
Syncing... | |
Traceback (most recent call last): | |
File "manage.py", line 10, in <module> | |
execute_from_command_line(sys.argv) | |
File "/app/.heroku/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line | |
utility.execute() | |
File "/app/.heroku/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/app/.heroku/venv/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv | |
self.execute(*args, **options.__dict__) | |
File "/app/.heroku/venv/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute | |
output = self.handle(*args, **options) | |
File "/app/.heroku/venv/lib/python2.7/site-packages/django/core/management/base.py", line 371, in handle | |
return self.handle_noargs(**options) | |
File "/app/.heroku/venv/lib/python2.7/site-packages/south/management/commands/syncdb.py", line 90, in handle_noargs | |
syncdb.Command().execute(**options) | |
File "/app/.heroku/venv/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute | |
output = self.handle(*args, **options) | |
File "/app/.heroku/venv/lib/python2.7/site-packages/django/core/management/base.py", line 371, in handle | |
return self.handle_noargs(**options) | |
File "/app/.heroku/venv/lib/python2.7/site-packages/django/core/management/commands/syncdb.py", line 60, in handle_noargs | |
tables = connection.introspection.table_names() | |
File "/app/.heroku/venv/lib/python2.7/site-packages/django/db/backends/__init__.py", line 904, in table_names | |
return self.get_table_list(cursor) | |
File "/app/.heroku/venv/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/introspection.py", line 33, in get_table_list | |
AND pg_catalog.pg_table_is_visible(c.oid)""") | |
File "/app/.heroku/venv/lib/python2.7/site-packages/django/db/backends/util.py", line 40, in execute | |
return self.cursor.execute(sql, params) | |
File "/app/.heroku/venv/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute | |
return self.cursor.execute(query, args) | |
django.db.utils.DatabaseError: current transaction is aborted, commands ignored until end of transaction block |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment