Advertisement
Guest User

Django CircularDependencyError

a guest
Aug 13th, 2014
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.19 KB | None | 0 0
  1. ./manage.py migrate
  2. Skipping creation of NoticeTypes as notification app not found
  3. Traceback (most recent call last):
  4.   File "./manage.py", line 13, in <module>
  5.     execute_from_command_line(sys.argv)
  6.   File "/Users/icom/devel/git-repo/django-1.7.x/django/core/management/__init__.py", line 385, in execute_from_command_line
  7.     utility.execute()
  8.   File "/Users/icom/devel/git-repo/django-1.7.x/django/core/management/__init__.py", line 377, in execute
  9.     self.fetch_command(subcommand).run_from_argv(self.argv)
  10.   File "/Users/icom/devel/git-repo/django-1.7.x/django/core/management/base.py", line 288, in run_from_argv
  11.     self.execute(*args, **options.__dict__)
  12.   File "/Users/icom/devel/git-repo/django-1.7.x/django/core/management/base.py", line 338, in execute
  13.     output = self.handle(*args, **options)
  14.   File "/Users/icom/devel/git-repo/django-1.7.x/django/core/management/commands/migrate.py", line 106, in handle
  15.     plan = executor.migration_plan(targets)
  16.   File "/Users/icom/devel/git-repo/django-1.7.x/django/db/migrations/executor.py", line 39, in migration_plan
  17.     backwards_plan = self.loader.graph.backwards_plan(target)[:-1]
  18.   File "/Users/icom/devel/git-repo/django-1.7.x/django/db/migrations/graph.py", line 66, in backwards_plan
  19.     return self.dfs(node, lambda x: self.dependents.get(x, set()))
  20.   File "/Users/icom/devel/git-repo/django-1.7.x/django/db/migrations/graph.py", line 121, in dfs
  21.     return _dfs(start, get_children, [])
  22.   File "/Users/icom/devel/git-repo/django-1.7.x/django/db/migrations/graph.py", line 113, in _dfs
  23.     results = _dfs(n, get_children, path) + results
  24.   File "/Users/icom/devel/git-repo/django-1.7.x/django/db/migrations/graph.py", line 113, in _dfs
  25.     results = _dfs(n, get_children, path) + results
  26.   File "/Users/icom/devel/git-repo/django-1.7.x/django/db/migrations/graph.py", line 113, in _dfs
  27.     results = _dfs(n, get_children, path) + results
  28.   File "/Users/icom/devel/git-repo/django-1.7.x/django/db/migrations/graph.py", line 105, in _dfs
  29.     raise CircularDependencyError(path[path.index(start):] + [start])
  30. django.db.migrations.graph.CircularDependencyError: [('people', u'0001_initial'), ('locations', u'0001_initial'), ('people', u'0001_initial')]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement