Django 1.7 makemigrations freezing/hanging
Django 1.7 makemigrations freezing/hanging
我终于从 Django 1.6 升级到 1.7,并在此过程中删除了 South。我按照 official Django instructions 并删除了所有旧的编号迁移。现在我正在尝试运行 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 命令?
更新:
根据 @WilfredHughes 的建议使用 dtruss
运行后,我得到以下输出(顶部的输出已被剪掉,因为对于 Whosebug 来说太长了) :
sudo dtruss python manage.py makemigrations
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/collections.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/os[=12=]", 0x7FFF57D95E40, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/os.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/osmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/os.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/os.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/sys[=12=]", 0x7FFF57D95E40, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/sys.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/sysmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/sys.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/sys.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/gettext[=12=]", 0x7FFF57D95E40, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/gettext.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/gettextmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/gettext.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/gettext.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/threading[=12=]", 0x7FFF57D95E40, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/threading.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/threadingmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/threading.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/threading.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/warnings[=12=]", 0x7FFF57D95E40, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/warnings.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/warningsmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/warnings.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/warnings.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
close_nocancel(0x5) = 0 0
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/suit/locale[=12=]", 0x7FFF57D96630, 0x1000) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django_select2/locale[=12=]", 0x7FFF57D96630, 0x1000) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/staticfiles/locale[=12=]", 0x7FFF57D96630, 0x1000) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/messages/locale[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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, "62[=12=]45[=12=]", 0x1000) = 356 0
read_nocancel(0x5, "[=12=]", 0x1000) = 0 0
close_nocancel(0x5) = 0 0
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/sessions/locale[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 0x7FFF57D95CB0, 0x1000) = -1 Err#2
read_nocancel(0x5, "62[=12=]45[=12=]", 0x1000) = 356 0
read_nocancel(0x5, "[=12=]", 0x1000) = 0 0
close_nocancel(0x5) = 0 0
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/auth/locale[=12=]", 0x7FFF57D96630, 0x1000) = 0 0
read_nocancel(0x5, "[=12=]", 0x1000) = 0 0
close_nocancel(0x5) = 0 0
open_nocancel(".[=12=]", 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[=12=]", 0x7FFF57D94720, 0x7F8D8B21F800) = 0 0
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/djrill/views.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/djrill[=12=]", 0x1100004, 0xFFFFFFFFFFFFFFF2) = 6 0
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django_extensions/locale/en_US/LC_MESSAGES/django.mo[=12=]", 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[=12=]", 0x7FFF57D95FE0, 0x7F8D8B21F800) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdbmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/MySQLdb[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/MySQLdb.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/MySQLdbmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/MySQLdb.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/MySQLdb.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/MySQLdb[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/MySQLdb.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/MySQLdbmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/MySQLdb.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/MySQLdb.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/MySQLdb[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/MySQLdb.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/MySQLdbmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/MySQLdb.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/MySQLdb.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/MySQLdb[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/MySQLdb[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/MySQLdb.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/MySQLdbmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/MySQLdb.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/MySQLdb.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/MySQLdb[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/MySQLdb.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/MySQLdbmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/MySQLdb.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/MySQLdb.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/Coding/mysite/MySQLdb[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdbmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/Coding/mysite/MySQLdb[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdbmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/Coding/mysite/cx_Oracle[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oraclemodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/cx_Oracle[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/cx_Oracle.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/cx_Oraclemodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/cx_Oracle.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/cx_Oracle.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/cx_Oracle[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/cx_Oracle.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/cx_Oraclemodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/cx_Oracle.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/cx_Oracle.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/cx_Oracle[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/cx_Oracle.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/cx_Oraclemodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/cx_Oracle.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/cx_Oracle.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cx_Oracle[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/cx_Oracle[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/cx_Oracle.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/cx_Oraclemodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/cx_Oracle.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/cx_Oracle.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/cx_Oracle[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/Coding/mysite/cx_Oracle[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oraclemodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/Coding/mysite/cx_Oracle[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oraclemodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel(".[=12=]", 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[=12=]", 0x7FFF57D95D90, 0x7F8D8B84F800) = 0 0
open_nocancel("/Users/me/Coding/mysite/mysite.log[=12=]", 0x209, 0x1B6) = 5 0
lseek(0x5, 0x0, 0x2) = -1730136042 0
fstat64(0x5, 0x7FFF57D95DE8, 0x2) = 0 0
close_nocancel(0x3) = 0 0
更新:
根据下面的评论和答案,我尝试完全关闭并重新启动 Postgres 以确保没有打开的连接,并且 makemigrations
仍然挂起。但是,我 所做 注意到的是,如果我让 Postgres 完全关闭(通过尝试 $ psql
确认但没有得到任何回应),然后尝试 makemigrations
,我有相同的行为。
您正在迁移的数据库是否有打开的连接?如果是这样,那可能是您的迁移挂起的原因。看到 this south bug for more information. I realise that Django 1.7 does not use south and that bug refers specifically to south. Migrations are built directly in Django 1.7, but since other people 有同样的问题,我担心这个问题仍然存在。
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
您应该尝试禁用所有 installed_apps 并查看是否可以解决问题。如果是这样,请隔离导致问题的那个。然后设置调试痕迹。
我遇到了完全相同的问题,正如另一个答案中所建议的那样,我尝试删除 INSTALLED_APPS 中的应用程序,然后发现我的应用程序导致了此行为。
最后这行代码是原因:
import fabric
当我删除它时一切正常。
我注意到(在第一个 django 教程之后)向模型添加新字段 class 会导致 makemigrations 挂起。编辑现有字段、删除字段、添加新模型 class - 一切正常,只是将新字段添加到现有 class 挂起。我不确定1.8版本是否也是这种情况。
编辑:这仅发生在 windows 下的 git bash 7. 当我尝试 windows cmd 控制台时 - 它有效。
我终于从 Django 1.6 升级到 1.7,并在此过程中删除了 South。我按照 official Django instructions 并删除了所有旧的编号迁移。现在我正在尝试运行 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 命令?
更新:
根据 @WilfredHughes 的建议使用 dtruss
运行后,我得到以下输出(顶部的输出已被剪掉,因为对于 Whosebug 来说太长了) :
sudo dtruss python manage.py makemigrations
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/collections.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/os[=12=]", 0x7FFF57D95E40, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/os.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/osmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/os.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/os.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/sys[=12=]", 0x7FFF57D95E40, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/sys.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/sysmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/sys.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/sys.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/gettext[=12=]", 0x7FFF57D95E40, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/gettext.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/gettextmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/gettext.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/gettext.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/threading[=12=]", 0x7FFF57D95E40, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/threading.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/threadingmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/threading.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/threading.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/warnings[=12=]", 0x7FFF57D95E40, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/warnings.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/warningsmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/warnings.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/utils/translation/warnings.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
close_nocancel(0x5) = 0 0
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/suit/locale[=12=]", 0x7FFF57D96630, 0x1000) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django_select2/locale[=12=]", 0x7FFF57D96630, 0x1000) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/staticfiles/locale[=12=]", 0x7FFF57D96630, 0x1000) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/messages/locale[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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, "62[=12=]45[=12=]", 0x1000) = 356 0
read_nocancel(0x5, "[=12=]", 0x1000) = 0 0
close_nocancel(0x5) = 0 0
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/sessions/locale[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 0x7FFF57D95CB0, 0x1000) = -1 Err#2
read_nocancel(0x5, "62[=12=]45[=12=]", 0x1000) = 356 0
read_nocancel(0x5, "[=12=]", 0x1000) = 0 0
close_nocancel(0x5) = 0 0
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django/contrib/auth/locale[=12=]", 0x7FFF57D96630, 0x1000) = 0 0
read_nocancel(0x5, "[=12=]", 0x1000) = 0 0
close_nocancel(0x5) = 0 0
open_nocancel(".[=12=]", 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[=12=]", 0x7FFF57D94720, 0x7F8D8B21F800) = 0 0
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/djrill/views.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/djrill[=12=]", 0x1100004, 0xFFFFFFFFFFFFFFF2) = 6 0
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/django_extensions/locale/en_US/LC_MESSAGES/django.mo[=12=]", 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[=12=]", 0x7FFF57D95FE0, 0x7F8D8B21F800) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdbmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/MySQLdb[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/MySQLdb.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/MySQLdbmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/MySQLdb.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/MySQLdb.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/MySQLdb[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/MySQLdb.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/MySQLdbmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/MySQLdb.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/MySQLdb.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/MySQLdb[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/MySQLdb.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/MySQLdbmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/MySQLdb.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/MySQLdb.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/MySQLdb[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/MySQLdb[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/MySQLdb.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/MySQLdbmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/MySQLdb.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/MySQLdb.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/MySQLdb[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/MySQLdb.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/MySQLdbmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/MySQLdb.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/MySQLdb.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/Coding/mysite/MySQLdb[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdbmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/Coding/mysite/MySQLdb[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdbmodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/MySQLdb.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/Coding/mysite/cx_Oracle[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oraclemodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/cx_Oracle[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/cx_Oracle.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/cx_Oraclemodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/cx_Oracle.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/src/unicodecsv-master/cx_Oracle.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/cx_Oracle[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/cx_Oracle.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/cx_Oraclemodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/cx_Oracle.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/cx_Oracle.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/cx_Oracle[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/cx_Oracle.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/cx_Oraclemodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/cx_Oracle.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/lib-dynload/cx_Oracle.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/lib/python2.7/cx_Oracle[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/cx_Oracle[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/cx_Oracle.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/cx_Oraclemodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/cx_Oracle.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/cx_Oracle.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/.virtualenvs/mysite-dj17/lib/python2.7/site-packages/newrelic-2.24.0.21/cx_Oracle[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 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[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/Coding/mysite/cx_Oracle[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oraclemodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
stat64("/Users/me/Coding/mysite/cx_Oracle[=12=]", 0x7FFF57D95FE0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oraclemodule.so[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.py[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel("/Users/me/Coding/mysite/cx_Oracle.pyc[=12=]", 0x0, 0x1B6) = -1 Err#2
open_nocancel(".[=12=]", 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[=12=]", 0x7FFF57D95D90, 0x7F8D8B84F800) = 0 0
open_nocancel("/Users/me/Coding/mysite/mysite.log[=12=]", 0x209, 0x1B6) = 5 0
lseek(0x5, 0x0, 0x2) = -1730136042 0
fstat64(0x5, 0x7FFF57D95DE8, 0x2) = 0 0
close_nocancel(0x3) = 0 0
更新:
根据下面的评论和答案,我尝试完全关闭并重新启动 Postgres 以确保没有打开的连接,并且 makemigrations
仍然挂起。但是,我 所做 注意到的是,如果我让 Postgres 完全关闭(通过尝试 $ psql
确认但没有得到任何回应),然后尝试 makemigrations
,我有相同的行为。
您正在迁移的数据库是否有打开的连接?如果是这样,那可能是您的迁移挂起的原因。看到 this south bug for more information. I realise that Django 1.7 does not use south and that bug refers specifically to south. Migrations are built directly in Django 1.7, but since other people 有同样的问题,我担心这个问题仍然存在。
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
您应该尝试禁用所有 installed_apps 并查看是否可以解决问题。如果是这样,请隔离导致问题的那个。然后设置调试痕迹。
我遇到了完全相同的问题,正如另一个答案中所建议的那样,我尝试删除 INSTALLED_APPS 中的应用程序,然后发现我的应用程序导致了此行为。
最后这行代码是原因:
import fabric
当我删除它时一切正常。
我注意到(在第一个 django 教程之后)向模型添加新字段 class 会导致 makemigrations 挂起。编辑现有字段、删除字段、添加新模型 class - 一切正常,只是将新字段添加到现有 class 挂起。我不确定1.8版本是否也是这种情况。
编辑:这仅发生在 windows 下的 git bash 7. 当我尝试 windows cmd 控制台时 - 它有效。