Django 1.7 makemigrations замораживание/зависание

Наконец, я обновляюсь с Django 1.6 до 1.7 и удаляю Юг в процессе. Я выполнил официальные инструкции Django и удалил все мои старые пронумерованные миграции. Теперь я пытаюсь запустить python manage.py makemigrations, чтобы новые миграции продолжали двигаться вперед с 1.7 миграционным модулем, но он полностью зависает, и единственный вывод, который я получаю, следующий:

bash -cl "/Users/me/.virtualenvs/mysite-Dj17/bin/python /Applications/PyCharm.app/Contents/helpers/pycharm/django_manage.py makemigrations /Users/me/Coding/mysite"
/Users/me/.virtualenvs/mysite-Dj17/lib/python2.7/site-packages/django/test/_doctest.py:59: RemovedInDjango18Warning: The django.test._doctest module is deprecated; use the doctest module from the Python standard library instead.
  RemovedInDjango18Warning)

/Users/me/.virtualenvs/mysite-Dj17/lib/python2.7/site-packages/django/test/simple.py:27: RemovedInDjango18Warning: The django.test.simple module and DjangoTestSuiteRunner are deprecated; use django.test.runner.DiscoverRunner instead.
  RemovedInDjango18Warning)

И тогда, даже если я оставлю это в течение нескольких часов, ничего не происходит.

Что здесь происходит? Как я могу отладить команду manage.py?

Update:

После запуска с dtruss per @WilfredHughes, я получаю следующий вывод (вывод вверху был обрезан, потому что он слишком длинный для StackOverflow):

sudo dtruss python manage.py makemigrations

open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/collections.pyc\0", 0x0, 0x1B6)       = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/os\0", 0x7FFF57D95E40, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/os.so\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/osmodule.so\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/os.py\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/os.pyc\0", 0x0, 0x1B6)        = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/sys\0", 0x7FFF57D95E40, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/sys.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/sysmodule.so\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/sys.py\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/sys.pyc\0", 0x0, 0x1B6)       = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/gettext\0", 0x7FFF57D95E40, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/gettext.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/gettextmodule.so\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/gettext.py\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/gettext.pyc\0", 0x0, 0x1B6)       = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/threading\0", 0x7FFF57D95E40, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/threading.so\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/threadingmodule.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/threading.py\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/threading.pyc\0", 0x0, 0x1B6)         = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/warnings\0", 0x7FFF57D95E40, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/warnings.so\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/warningsmodule.so\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/warnings.py\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/warnings.pyc\0", 0x0, 0x1B6)      = -1 Err#2
close_nocancel(0x5)      = 0 0
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/suit/locale\0", 0x7FFF57D96630, 0x1000)       = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django_select2/locale\0", 0x7FFF57D96630, 0x1000)         = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/staticfiles/locale\0", 0x7FFF57D96630, 0x1000)         = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/messages/locale\0", 0x7FFF57D96630, 0x1000)        = 0 0
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/messages/locale/en_US.ISO8859-1/LC_MESSAGES/django.mo\0", 0x7FFF57D95CB0, 0x1000       = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/messages/locale/en_US/LC_MESSAGES/django.mo\0", 0x7FFF57D95CB0, 0x1000)        = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/messages/locale/en.ISO8859-1/LC_MESSAGES/django.mo\0", 0x7FFF57D95CB0, 0x1000)         = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/messages/locale/en/LC_MESSAGES/django.mo\0", 0x7FFF57D95CB0, 0x1000)       = 0 0
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/messages/locale/en/LC_MESSAGES/django.mo\0", 0x0, 0x1B6)        = 5 0
fstat64(0x5, 0x7FFF57D95F48, 0x1B6)      = 0 0
fstat64(0x5, 0x7FFF57D95328, 0x1B6)      = 0 0
lseek(0x5, 0x0, 0x1)         = 0 0
lseek(0x5, 0x0, 0x1)         = 0 0
fstat64(0x5, 0x7FFF57D95218, 0x1)        = 0 0
read_nocancel(0x5, "\336\022\004\225\0", 0x1000)         = 356 0
read_nocancel(0x5, "\0", 0x1000)         = 0 0
close_nocancel(0x5)      = 0 0
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/sessions/locale\0", 0x7FFF57D96630, 0x1000)        = 0 0
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/sessions/locale/en_US.ISO8859-1/LC_MESSAGES/django.mo\0", 0x7FFF57D95CB0, 0x1000       = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/sessions/locale/en_US/LC_MESSAGES/django.mo\0", 0x7FFF57D95CB0, 0x1000)        = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/sessions/locale/en.ISO8859-1/LC_MESSAGES/django.mo\0", 0x7FFF57D95CB0, 0x1000)         = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/sessions/locale/en/LC_MESSAGES/django.mo\0", 0x7FFF57D95CB0, 0x1000)       = 0 0
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/sessions/locale/en/LC_MESSAGES/django.mo\0", 0x0, 0x1B6)        = 5 0
fstat64(0x5, 0x7FFF57D95F48, 0x1B6)      = 0 0
fstat64(0x5, 0x7FFF57D95328, 0x1B6)      = 0 0
lseek(0x5, 0x0, 0x1)         = 0 0
lseek(0x5, 0x0, 0x1)         = 0 0
fstat64(0x5, 0x7FFF57D95218, 0x1)        = 0 0
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/contenttypes/locale/en_US.ISO8859-1/LC_MESSAGES/django.mo\0", 0x7FFF57D95CB0, 0x1000)      = -1 Err#2
read_nocancel(0x5, "\336\022\004\225\0", 0x1000)         = 356 0
read_nocancel(0x5, "\0", 0x1000)         = 0 0
close_nocancel(0x5)      = 0 0
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/auth/locale\0", 0x7FFF57D96630, 0x1000)        = 0 0
read_nocancel(0x5, "\0", 0x1000)         = 0 0
close_nocancel(0x5)      = 0 0
open_nocancel(".\0", 0x0, 0x1)       = 5 0
fstat64(0x5, 0x7FFF57D947B0, 0x1)        = 0 0
fcntl_nocancel(0x5, 0x32, 0x7F8D8B21F800)        = 0 0
close_nocancel(0x5)      = 0 0
stat64("/Users/me/Coding/mysite\0", 0x7FFF57D94720, 0x7F8D8B21F800)      = 0 0
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/djrill/views.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/djrill\0", 0x1100004, 0xFFFFFFFFFFFFFFF2)      = 6 0
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django_extensions/locale/en_US/LC_MESSAGES/django.mo\0", 0x7FFF57D95CB0, 0x1000)      = -1 Err#2
fstat64(0x5, 0x7FFF57D95328, 0x1B6)      = 0 0
lseek(0x5, 0x0, 0x1)         = 0 0
lseek(0x5, 0x0, 0x1)         = 0 0
fstat64(0x5, 0x7FFF57D95218, 0x1)        = 0 0
stat64("/Users/me/Coding/mysite/MySQLdb\0", 0x7FFF57D95FE0, 0x7F8D8B21F800)      = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdbmodule.so\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.py\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.pyc\0", 0x0, 0x1B6)       = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/MySQLdb\0", 0x7FFF57D95FE0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/MySQLdb.so\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/MySQLdbmodule.so\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/MySQLdb.py\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/MySQLdb.pyc\0", 0x0, 0x1B6)      = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/MySQLdb\0", 0x7FFF57D95FE0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/MySQLdb.so\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/MySQLdbmodule.so\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/MySQLdb.py\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/MySQLdb.pyc\0", 0x0, 0x1B6)      = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/MySQLdb\0", 0x7FFF57D95FE0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/MySQLdb.so\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/MySQLdbmodule.so\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/MySQLdb.py\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/MySQLdb.pyc\0", 0x0, 0x1B6)      = -1 Err#2
stat64("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/MySQLdb\0", 0x7FFF57D95FE0, 0x1B6)         = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/MySQLdb.so\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/MySQLdbmodule.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/MySQLdb.py\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/MySQLdb.pyc\0", 0x0, 0x1B6)         = -1 Err#2
stat64("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin/MySQLdb\0", 0x7FFF57D95FE0, 0x1B6)         = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin/MySQLdb.so\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin/MySQLdbmodule.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin/MySQLdb.py\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin/MySQLdb.pyc\0", 0x0, 0x1B6)         = -1 Err#2
stat64("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/MySQLdb\0", 0x7FFF57D95FE0, 0x1B6)      = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/MySQLdb.so\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/MySQLdbmodule.so\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/MySQLdb.py\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/MySQLdb.pyc\0", 0x0, 0x1B6)      = -1 Err#2
stat64("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/MySQLdb\0", 0x7FFF57D95FE0, 0x1B6)        = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/MySQLdb.so\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/MySQLdbmodule.so\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/MySQLdb.py\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/MySQLdb.pyc\0", 0x0, 0x1B6)        = -1 Err#2
stat64("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/MySQLdb\0", 0x7FFF57D95FE0, 0x1B6)         = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/MySQLdb.so\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/MySQLdbmodule.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/MySQLdb.py\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/MySQLdb.pyc\0", 0x0, 0x1B6)         = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/MySQLdb\0", 0x7FFF57D95FE0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/MySQLdb.so\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/MySQLdbmodule.so\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/MySQLdb.py\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/MySQLdb.pyc\0", 0x0, 0x1B6)        = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/MySQLdb\0", 0x7FFF57D95FE0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/MySQLdb.so\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/MySQLdbmodule.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/MySQLdb.py\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/MySQLdb.pyc\0", 0x0, 0x1B6)         = -1 Err#2
stat64("/Users/me/Coding/mysite/MySQLdb\0", 0x7FFF57D95FE0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdbmodule.so\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.py\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.pyc\0", 0x0, 0x1B6)       = -1 Err#2
stat64("/Users/me/Coding/mysite/MySQLdb\0", 0x7FFF57D95FE0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdbmodule.so\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.py\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.pyc\0", 0x0, 0x1B6)       = -1 Err#2
stat64("/Users/me/Coding/mysite/cx_Oracle\0", 0x7FFF57D95FE0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.so\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oraclemodule.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.py\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.pyc\0", 0x0, 0x1B6)         = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/cx_Oracle\0", 0x7FFF57D95FE0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/cx_Oracle.so\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/cx_Oraclemodule.so\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/cx_Oracle.py\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/cx_Oracle.pyc\0", 0x0, 0x1B6)        = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/cx_Oracle\0", 0x7FFF57D95FE0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/cx_Oracle.so\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/cx_Oraclemodule.so\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/cx_Oracle.py\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/cx_Oracle.pyc\0", 0x0, 0x1B6)        = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/cx_Oracle\0", 0x7FFF57D95FE0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/cx_Oracle.so\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/cx_Oraclemodule.so\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/cx_Oracle.py\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/cx_Oracle.pyc\0", 0x0, 0x1B6)        = -1 Err#2
stat64("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cx_Oracle\0", 0x7FFF57D95FE0, 0x1B6)       = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cx_Oracle.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cx_Oraclemodule.so\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cx_Oracle.py\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cx_Oracle.pyc\0", 0x0, 0x1B6)       = -1 Err#2
stat64("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin/cx_Oracle\0", 0x7FFF57D95FE0, 0x1B6)       = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin/cx_Oracle.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin/cx_Oraclemodule.so\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin/cx_Oracle.py\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin/cx_Oracle.pyc\0", 0x0, 0x1B6)       = -1 Err#2
stat64("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/cx_Oracle\0", 0x7FFF57D95FE0, 0x1B6)        = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/cx_Oracle.so\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/cx_Oraclemodule.so\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/cx_Oracle.py\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/cx_Oracle.pyc\0", 0x0, 0x1B6)        = -1 Err#2
stat64("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/cx_Oracle\0", 0x7FFF57D95FE0, 0x1B6)      = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/cx_Oracle.so\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/cx_Oraclemodule.so\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/cx_Oracle.py\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/cx_Oracle.pyc\0", 0x0, 0x1B6)      = -1 Err#2
stat64("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/cx_Oracle\0", 0x7FFF57D95FE0, 0x1B6)       = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/cx_Oracle.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/cx_Oraclemodule.so\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/cx_Oracle.py\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages/cx_Oracle.pyc\0", 0x0, 0x1B6)       = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/cx_Oracle\0", 0x7FFF57D95FE0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/cx_Oracle.so\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/cx_Oraclemodule.so\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/cx_Oracle.py\0", 0x0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/cx_Oracle.pyc\0", 0x0, 0x1B6)      = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/cx_Oracle\0", 0x7FFF57D95FE0, 0x1B6)       = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/cx_Oracle.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/cx_Oraclemodule.so\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/cx_Oracle.py\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/cx_Oracle.pyc\0", 0x0, 0x1B6)       = -1 Err#2
stat64("/Users/me/Coding/mysite/cx_Oracle\0", 0x7FFF57D95FE0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.so\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oraclemodule.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.py\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.pyc\0", 0x0, 0x1B6)         = -1 Err#2
stat64("/Users/me/Coding/mysite/cx_Oracle\0", 0x7FFF57D95FE0, 0x1B6)         = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.so\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oraclemodule.so\0", 0x0, 0x1B6)        = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.py\0", 0x0, 0x1B6)      = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.pyc\0", 0x0, 0x1B6)         = -1 Err#2
open_nocancel(".\0", 0x0, 0x1)       = 5 0
fstat64(0x5, 0x7FFF57D95E20, 0x1)        = 0 0
fcntl_nocancel(0x5, 0x32, 0x7F8D8B84F800)        = 0 0
close_nocancel(0x5)      = 0 0
stat64("/Users/me/Coding/mysite\0", 0x7FFF57D95D90, 0x7F8D8B84F800)      = 0 0
open_nocancel("/Users/me/Coding/mysite/mysite.log\0", 0x209, 0x1B6)      = 5 0
lseek(0x5, 0x0, 0x2)         = -1730136042 0
fstat64(0x5, 0x7FFF57D95DE8, 0x2)        = 0 0
close_nocancel(0x3)      = 0 0

Update: В комментариях и ответах ниже я попытался полностью отключить и перезапустить Postgres, чтобы убедиться, что открытых соединений нет, а makemigrations все еще зависает. Однако, что я сделал, заметил, что если я оставил Postgres полностью закрытым (подтвержденным при попытке $ psql и не получив ответа), а затем попробовав makemigrations, у меня было такое же поведение.

Ответ 1

Вы должны попробовать отключить все ваши установленные_пакеты и посмотреть, разрешает ли это проблема. Если это так, выделите тот, который вызывает проблемы. Затем установите трассировку отладки.

Ответ 2

Django 1.7, по-видимому, имел эту ошибку, которая может вызвать миграцию для достаточно большого количества моделей для уродства. Они сказали, что они что-то делают с этим, и похоже, что они исправили его в 1.7.1.

https://docs.djangoproject.com/en/1.7/releases/1.7.1/

Это третья запись, и есть еще несколько улучшений, которые могут быть связаны с этим.

Слышал это первым в этом разговоре, надеюсь, что он решает вашу проблему: https://www.youtube.com/watch?v=bjIXZ-XX2SM

Ответ 3

Существуют ли открытые соединения с базой данных, которую вы переносите? Если это так, возможно, это причина вашей миграции. Для получения дополнительной информации см. эту южную ошибку. Я понимаю, что Django 1.7 не использует юг, и эта ошибка относится конкретно к югу. Миграции создаются непосредственно в Django 1.7, но поскольку другие люди имеют ту же проблему, я боюсь, что эта проблема все еще существует.

Ответ 4

У меня была точно такая же проблема, и, как было предложено в другом ответе, я попытался устранить приложения в INSTALLED_APPS, а затем нашел мое приложение, которое вызывало это поведение.

Наконец, эта строка кода была причиной:

import fabric

когда я удалил все, все работало нормально.

Ответ 5

Я заметил (после первого учебника по django), что добавление нового поля в класс модели заставляет makemigrations висеть. Редактирование существующего поля, удаление поля, добавление нового класса модели - все это работает, только добавление нового поля в существующий класс зависает. Я не уверен, что это также относится к версии 1.8.

Изменить: это происходит только в git bash под окнами 7. Когда я пытаюсь консоль Windows cmd - она ​​работает.