"git push":slug编译挂起

Rex*_*exE 9 git django pip heroku heroku-toolbelt

这个问题今天开始没有明显的原因.当我git push dev master为我的Django项目做的时候,我有时会在程序说"用pip安装依赖项"之后挂起:

Counting objects: 11, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 643 bytes, done.
Total 7 (delta 5), reused 0 (delta 0)

-----> Python app detected
-----> No runtime.txt provided; assuming python-2.7.4.
-----> Using Python runtime (python-2.7.4)
-----> Installing dependencies using Pip (1.3.1)
Run Code Online (Sandbox Code Playgroud)

挂了15分钟后,编译超时.

然后我再次运行相同的命令(没有改变任何东西),它的工作原理.我怀疑在我的requirements.txt文件中安装其中一个模块是一个问题,但是我将该文件清空并且问题仍然存在.

我的日志只是显示了这个:

heroku[slug-compiler]: Slug compilation started
Run Code Online (Sandbox Code Playgroud)

我有什么想法可以排除故障吗?

sta*_*low 1

有点遥远,但是......你可以尝试

git fsck --full --strict
Run Code Online (Sandbox Code Playgroud)

确保您的存储库健康。