Opened 11 years ago
Last modified 11 years ago
#22243 closed Uncategorized
migrate raises IndexError when getting parent from self.graph — at Initial Version
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Migrations | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | mszamot@… | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
After deleting south migrations (I move from Django 1.6) and using ./manage.py makemigrations the ./manage.py migrate raises an error. Here is the full traceback:
Traceback (most recent call last):
File "./manage.py", line 7, in <module>
execute_from_command_line(sys.argv)
File "/home/coot/webapps/social_feel/venv/src/django/django/core/management/init.py", line 427, in execute_from_command_line
utility.execute()
File "/home/coot/webapps/social_feel/venv/src/django/django/core/management/init.py", line 419, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/coot/webapps/social_feel/venv/src/django/django/core/management/base.py", line 288, in run_from_argv
self.execute(*args, options.dict)
File "/home/coot/webapps/social_feel/venv/src/django/django/core/management/base.py", line 337, in execute
output = self.handle(*args, options)
File "/home/coot/webapps/social_feel/venv/src/django/django/core/management/commands/migrate.py", line 62, in handle
executor = MigrationExecutor(connection, self.migration_progress_callback)
File "/home/coot/webapps/social_feel/venv/src/django/django/db/migrations/executor.py", line 14, in init
self.loader = MigrationLoader(self.connection)
File "/home/coot/webapps/social_feel/venv/src/django/django/db/migrations/loader.py", line 48, in init
self.build_graph()
File "/home/coot/webapps/social_feel/venv/src/django/django/db/migrations/loader.py", line 229, in build_graph
IndexError: list index out of range