Skip to content

Instantly share code, notes, and snippets.

@pavelk2
Created February 18, 2013 12:37
Show Gist options
  • Save pavelk2/4977063 to your computer and use it in GitHub Desktop.
Save pavelk2/4977063 to your computer and use it in GitHub Desktop.
Problem with AppFog Django with PostgreSQL
exception
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/var/vcap.local/dea/apps/crowdcomputer-0-e93b72c7ccdc2e6969dda5a7c901812f/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
utility.execute()
File "/var/vcap.local/dea/apps/crowdcomputer-0-e93b72c7ccdc2e6969dda5a7c901812f/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/var/vcap.local/dea/apps/crowdcomputer-0-e93b72c7ccdc2e6969dda5a7c901812f/python/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/var/vcap.local/dea/apps/crowdcomputer-0-e93b72c7ccdc2e6969dda5a7c901812f/python/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
output = self.handle(*args, **options)
File "/var/vcap.local/dea/apps/crowdcomputer-0-e93b72c7ccdc2e6969dda5a7c901812f/python/lib/python2.7/site-packages/django/core/management/base.py", line 371, in handle
return self.handle_noargs(**options)
File "/var/vcap.local/dea/apps/crowdcomputer-0-e93b72c7ccdc2e6969dda5a7c901812f/python/lib/python2.7/site-packages/django/core/management/commands/syncdb.py", line 60, in handle_noargs
tables = connection.introspection.table_names()
File "/var/vcap.local/dea/apps/crowdcomputer-0-e93b72c7ccdc2e6969dda5a7c901812f/python/lib/python2.7/site-packages/django/db/backends/__init__.py", line 910, in table_names
return self.get_table_list(cursor)
File "/var/vcap.local/dea/apps/crowdcomputer-0-e93b72c7ccdc2e6969dda5a7c901812f/python/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 "/var/vcap.local/dea/apps/crowdcomputer-0-e93b72c7ccdc2e6969dda5a7c901812f/python/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