9

This issue started today for no apparent reason. When I do git push dev master for my Django project, I sometimes get a hang after the program says "installing dependencies with 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)

After 15 minutes of hanging, compilation times out.

Then I run the same command again (without having changed anything), and it works. I suspected it was a problem installing one of the modules in my requirements.txt file, but I made that file empty and the problem still occurs.

My logs just show this:

heroku[slug-compiler]: Slug compilation started

Any ideas how I can troubleshoot this?

4

1 回答 1

1

有点远,但是……你可以试试

git fsck --full --strict

以确保您的存储库是健康的。

于 2013-08-31T23:54:39.783 回答