Modify ↓
Ticket #359 (closed defect: fixed)
Failure Running Migrate
| Reported by: | andrew@… | Owned by: | andrew |
|---|---|---|---|
| Priority: | major | Milestone: | 0.7 |
| Component: | commands | Version: | 0.7-pre |
| Keywords: | Cc: |
Description
I just updated to the head of both django and south and when I try to run ./manage migrate I get the following error:
Traceback (most recent call last):
File "./manage.py", line 11, in <module>
execute_manager(settings)
File "/Library/Python/2.6/site-packages/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/Library/Python/2.6/site-packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Library/Python/2.6/site-packages/django/core/management/base.py", line 195, in run_from_argv
self.execute(*args, **options.__dict__)
File "/Library/Python/2.6/site-packages/django/core/management/base.py", line 222, in execute
output = self.handle(*args, **options)
File "/Library/Python/2.6/site-packages/South-0.7_pre-py2.6.egg/south/management/commands/migrate.py", line 102, in handle
delete_ghosts = delete_ghosts,
File "/Library/Python/2.6/site-packages/South-0.7_pre-py2.6.egg/south/migration/__init__.py", line 177, in migrate_app
applied = check_migration_histories(applied, delete_ghosts)
File "/Library/Python/2.6/site-packages/South-0.7_pre-py2.6.egg/south/migration/__init__.py", line 91, in check_migration_histories
exists.add(m)
UnboundLocalError: local variable 'm' referenced before assignment
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Fixed in [2867a83f3ac7].