Skip to content

Instantly share code, notes, and snippets.

@wjdp
Created November 9, 2014 19:35
Show Gist options
  • Save wjdp/d1084a7b913779d5f9b0 to your computer and use it in GitHub Desktop.
Save wjdp/d1084a7b913779d5f9b0 to your computer and use it in GitHub Desktop.
./manage.py migration hang
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/will/env/xSACdb-dj7/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/home/will/env/xSACdb-dj7/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/will/env/xSACdb-dj7/local/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
self.execute(*args, **options.__dict__)
File "/home/will/env/xSACdb-dj7/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
output = self.handle(*args, **options)
File "/home/will/env/xSACdb-dj7/local/lib/python2.7/site-packages/django/core/management/commands/makemigrations.py", line 89, in handle
loader.project_state(),
File "/home/will/env/xSACdb-dj7/local/lib/python2.7/site-packages/django/db/migrations/loader.py", line 268, in project_state
return self.graph.make_state(nodes=nodes, at_end=at_end, real_apps=list(self.unmigrated_apps))
File "/home/will/env/xSACdb-dj7/local/lib/python2.7/site-packages/django/db/migrations/graph.py", line 135, in make_state
for migration in self.forwards_plan(node):
File "/home/will/env/xSACdb-dj7/local/lib/python2.7/site-packages/django/db/migrations/graph.py", line 55, in forwards_plan
return self.dfs(node, lambda x: self.dependencies.get(x, set()))
File "/home/will/env/xSACdb-dj7/local/lib/python2.7/site-packages/django/db/migrations/graph.py", line 114, in dfs
stack = children + stack
KeyboardInterrupt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment