Created
January 30, 2013 16:27
-
-
Save jacobsvante/4674424 to your computer and use it in GitHub Desktop.
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
[...migrations running...] | |
Running migrations for social_auth: | |
- Migrating forwards to 0002_auto__add_unique_nonce_timestamp_salt_server_url__add_unique_associati. | |
> social_auth:0001_initial | |
FATAL ERROR - The following SQL query failed: CREATE TABLE "social_auth_usersocialauth" ("id" serial NOT NULL PRIMARY KEY, "user_id" integer NOT NULL, "provider" varchar(32) NOT NULL, "uid" varchar(255) NOT NULL, "extra_data" text NOT NULL); | |
The error was: relation "social_auth_usersocialauth" already exists | |
Error in migration: social_auth:0001_initial | |
Traceback (most recent call last): | |
File "/Users/jacob/.virtualenvs/sentry_venv/bin/sentry", line 9, in <module> | |
load_entry_point('sentry==5.3.2', 'console_scripts', 'sentry')() | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/sentry/utils/runner.py", line 191, in main | |
initializer=initialize_app, | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/logan/runner.py", line 155, in run_app | |
management.execute_from_command_line([runner_name, command] + command_args) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line | |
utility.execute() | |
File "/Users/jacob/.virtualenvs/sentry_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 "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv | |
self.execute(*args, **options.__dict__) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute | |
output = self.handle(*args, **options) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/sentry/management/commands/start.py", line 58, in handle | |
call_command('upgrade', verbosity=0) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 150, in call_command | |
return klass.execute(*args, **defaults) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute | |
output = self.handle(*args, **options) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/sentry/management/commands/upgrade.py", line 26, in handle | |
call_command('syncdb', migrate=True, interactive=(not options['noinput'])) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 150, in call_command | |
return klass.execute(*args, **defaults) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute | |
output = self.handle(*args, **options) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/django/core/management/base.py", line 371, in handle | |
return self.handle_noargs(**options) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/south/management/commands/syncdb.py", line 99, in handle_noargs | |
management.call_command('migrate', **options) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 150, in call_command | |
return klass.execute(*args, **defaults) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute | |
output = self.handle(*args, **options) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/south/management/commands/migrate.py", line 108, in handle | |
ignore_ghosts = ignore_ghosts, | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/south/migration/__init__.py", line 213, in migrate_app | |
success = migrator.migrate_many(target, workplan, database) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/south/migration/migrators.py", line 235, in migrate_many | |
result = migrator.__class__.migrate_many(migrator, target, migrations, database) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/south/migration/migrators.py", line 310, in migrate_many | |
result = self.migrate(migration, database) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/south/migration/migrators.py", line 133, in migrate | |
result = self.run(migration) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/south/migration/migrators.py", line 107, in run | |
return self.run_migration(migration) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/south/migration/migrators.py", line 81, in run_migration | |
migration_function() | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/south/migration/migrators.py", line 57, in <lambda> | |
return (lambda: direction(orm)) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/social_auth/migrations/0001_initial.py", line 17, in forwards | |
('extra_data', self.gf('social_auth.fields.JSONField')(default='{}')), | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/south/db/generic.py", line 44, in _cache_clear | |
return func(self, table, *args, **opts) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/south/db/generic.py", line 352, in create_table | |
', '.join([col for col in columns if col]), | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/south/db/generic.py", line 273, in execute | |
cursor.execute(sql, params) | |
File "/Users/jacob/.virtualenvs/sentry_venv/lib/python2.7/site-packages/django/db/backends/util.py", line 40, in execute | |
return self.cursor.execute(sql, params) | |
File "/Users/jacob/.virtualenvs/sentry_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: relation "social_auth_usersocialauth" already exists |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment