Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Running migrations for forum:
- - Migrating forwards to 0039_auto__del_field_tag_deleted__del_field_tag_deleted_by__del_field_tag_d.
- > forum:0036_auto__add_nodestate__chg_field_award_action__add_field_node_state_stri
- ! Error found during real run of migration! Aborting.
- ! Since you have a database that does not support running
- ! schema-altering statements in transactions, we have had
- ! to leave it in an interim state between migrations.
- ! You *might* be able to recover with: = DROP TABLE `forum_nodestate` CASCADE; []
- = ALTER TABLE `forum_award` ; []
- = ALTER TABLE `forum_award` ALTER COLUMN `action_id` DROP DEFAULT; []
- = ALTER TABLE `forum_award` MODIFY `action_id` integer NOT NULL;; []
- = ALTER TABLE `forum_award` ADD CONSTRAINT `action_id_refs_id_7d03ab29` FOREIGN KEY (`action_id`) REFERENCES `forum_action` (`id`); []
- = ALTER TABLE `forum_node` DROP COLUMN `state_string` CASCADE; []
- = ALTER TABLE `forum_flag` ; []
- = ALTER TABLE `forum_flag` ALTER COLUMN `action_id` DROP DEFAULT; []
- = ALTER TABLE `forum_flag` MODIFY `action_id` integer NOT NULL;; []
- = ALTER TABLE `forum_flag` ADD CONSTRAINT `action_id_refs_id_4dbcf93f` FOREIGN KEY (`action_id`) REFERENCES `forum_action` (`id`); []
- = ALTER TABLE `forum_vote` ; []
- = ALTER TABLE `forum_vote` ALTER COLUMN `action_id` DROP DEFAULT; []
- = ALTER TABLE `forum_vote` MODIFY `action_id` integer NOT NULL;; []
- = ALTER TABLE `forum_vote` ADD CONSTRAINT `action_id_refs_id_1cbf2a77` FOREIGN KEY (`action_id`) REFERENCES `forum_action` (`id`); []
- ! The South developers regret this has happened, and would
- ! like to gently persuade you to consider a slightly
- ! easier-to-deal-with DBMS.
- Traceback (most recent call last):
- File "manage.py", line 13, in <module>
- execute_manager(settings)
- File "/home/tuan/webapps/osqa_server/lib/python2.5/django/core/management/__init__.py", line 362, in execute_manager
- utility.execute()
- File "/home/tuan/webapps/osqa_server/lib/python2.5/django/core/management/__init__.py", line 303, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/home/tuan/webapps/osqa_server/lib/python2.5/django/core/management/base.py", line 195, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/home/tuan/webapps/osqa_server/lib/python2.5/django/core/management/base.py", line 222, in execute
- output = self.handle(*args, **options)
- File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/management/commands/migrate.py", line 102, in handle
- delete_ghosts = delete_ghosts,
- File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/migration/__init__.py", line 202, in migrate_app
- success = migrator.migrate_many(target, workplan, database)
- File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/migration/migrators.py", line 215, in migrate_many
- result = migrator.__class__.migrate_many(migrator, target, migrations, database)
- File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/migration/migrators.py", line 284, in migrate_many
- result = self.migrate(migration, database)
- File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/migration/migrators.py", line 121, in migrate
- result = self.run(migration)
- File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/migration/migrators.py", line 95, in run
- return self.run_migration(migration)
- File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/migration/migrators.py", line 77, in run_migration
- migration_function()
- File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/migration/migrators.py", line 56, in <lambda>
- return (lambda: direction(orm))
- File "/home/tuan/webapps/osqa_server/osqa/forum/migrations/0036_auto__add_nodestate__chg_field_award_action__add_field_node_state_stri.py", line 16, in forwards
- ('action', self.gf('django.db.models.fields.related.ForeignKey')(related_name='node_state', unique=True, to=orm['forum.Action'])),
- File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/db/generic.py", line 210, in create_table
- ', '.join([col for col in columns if col]),
- File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/db/generic.py", line 134, in execute
- cursor.execute(sql, params)
- File "/home/tuan/webapps/osqa_server/lib/python2.5/django/db/backends/mysql/base.py", line 84, in execute
- return self.cursor.execute(query, args)
- File "/usr/local/lib/python2.5/site-packages/MySQLdb/cursors.py", line 166, in execute
- self.errorhandler(self, exc, value)
- File "/usr/local/lib/python2.5/site-packages/MySQLdb/connections.py", line 35, in defaulterrorhandler
- raise errorclass, errorvalue
- _mysql_exceptions.OperationalError: (1050, "Table 'forum_nodestate' already exists")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement