Advertisement
Guest User

Untitled

a guest
May 27th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.68 KB | None | 0 0
  1. Running migrations for forum:
  2. - Migrating forwards to 0039_auto__del_field_tag_deleted__del_field_tag_deleted_by__del_field_tag_d.
  3. > forum:0036_auto__add_nodestate__chg_field_award_action__add_field_node_state_stri
  4. ! Error found during real run of migration! Aborting.
  5.  
  6. ! Since you have a database that does not support running
  7. ! schema-altering statements in transactions, we have had
  8. ! to leave it in an interim state between migrations.
  9.  
  10. ! You *might* be able to recover with: = DROP TABLE `forum_nodestate` CASCADE; []
  11. = ALTER TABLE `forum_award` ; []
  12. = ALTER TABLE `forum_award` ALTER COLUMN `action_id` DROP DEFAULT; []
  13. = ALTER TABLE `forum_award` MODIFY `action_id` integer NOT NULL;; []
  14. = ALTER TABLE `forum_award` ADD CONSTRAINT `action_id_refs_id_7d03ab29` FOREIGN KEY (`action_id`) REFERENCES `forum_action` (`id`); []
  15. = ALTER TABLE `forum_node` DROP COLUMN `state_string` CASCADE; []
  16. = ALTER TABLE `forum_flag` ; []
  17. = ALTER TABLE `forum_flag` ALTER COLUMN `action_id` DROP DEFAULT; []
  18. = ALTER TABLE `forum_flag` MODIFY `action_id` integer NOT NULL;; []
  19. = ALTER TABLE `forum_flag` ADD CONSTRAINT `action_id_refs_id_4dbcf93f` FOREIGN KEY (`action_id`) REFERENCES `forum_action` (`id`); []
  20. = ALTER TABLE `forum_vote` ; []
  21. = ALTER TABLE `forum_vote` ALTER COLUMN `action_id` DROP DEFAULT; []
  22. = ALTER TABLE `forum_vote` MODIFY `action_id` integer NOT NULL;; []
  23. = ALTER TABLE `forum_vote` ADD CONSTRAINT `action_id_refs_id_1cbf2a77` FOREIGN KEY (`action_id`) REFERENCES `forum_action` (`id`); []
  24.  
  25. ! The South developers regret this has happened, and would
  26. ! like to gently persuade you to consider a slightly
  27. ! easier-to-deal-with DBMS.
  28.  
  29. Traceback (most recent call last):
  30. File "manage.py", line 13, in <module>
  31. execute_manager(settings)
  32. File "/home/tuan/webapps/osqa_server/lib/python2.5/django/core/management/__init__.py", line 362, in execute_manager
  33. utility.execute()
  34. File "/home/tuan/webapps/osqa_server/lib/python2.5/django/core/management/__init__.py", line 303, in execute
  35. self.fetch_command(subcommand).run_from_argv(self.argv)
  36. File "/home/tuan/webapps/osqa_server/lib/python2.5/django/core/management/base.py", line 195, in run_from_argv
  37. self.execute(*args, **options.__dict__)
  38. File "/home/tuan/webapps/osqa_server/lib/python2.5/django/core/management/base.py", line 222, in execute
  39. output = self.handle(*args, **options)
  40. File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/management/commands/migrate.py", line 102, in handle
  41. delete_ghosts = delete_ghosts,
  42. File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/migration/__init__.py", line 202, in migrate_app
  43. success = migrator.migrate_many(target, workplan, database)
  44. File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/migration/migrators.py", line 215, in migrate_many
  45. result = migrator.__class__.migrate_many(migrator, target, migrations, database)
  46. File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/migration/migrators.py", line 284, in migrate_many
  47. result = self.migrate(migration, database)
  48. File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/migration/migrators.py", line 121, in migrate
  49. result = self.run(migration)
  50. File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/migration/migrators.py", line 95, in run
  51. return self.run_migration(migration)
  52. File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/migration/migrators.py", line 77, in run_migration
  53. migration_function()
  54. File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/migration/migrators.py", line 56, in <lambda>
  55. return (lambda: direction(orm))
  56. 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
  57. ('action', self.gf('django.db.models.fields.related.ForeignKey')(related_name='node_state', unique=True, to=orm['forum.Action'])),
  58. File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/db/generic.py", line 210, in create_table
  59. ', '.join([col for col in columns if col]),
  60. File "/home/tuan/lib/python2.5/South-0.7-py2.5.egg/south/db/generic.py", line 134, in execute
  61. cursor.execute(sql, params)
  62. File "/home/tuan/webapps/osqa_server/lib/python2.5/django/db/backends/mysql/base.py", line 84, in execute
  63. return self.cursor.execute(query, args)
  64. File "/usr/local/lib/python2.5/site-packages/MySQLdb/cursors.py", line 166, in execute
  65. self.errorhandler(self, exc, value)
  66. File "/usr/local/lib/python2.5/site-packages/MySQLdb/connections.py", line 35, in defaulterrorhandler
  67. raise errorclass, errorvalue
  68. _mysql_exceptions.OperationalError: (1050, "Table 'forum_nodestate' already exists")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement