Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"git push": slug compilation hangs

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?

like image 339
RexE Avatar asked Aug 31 '13 16:08

RexE


1 Answers

A bit of a far shot, but ... you could try

git fsck --full --strict

to make sure your repository is healthy.

like image 124
stackunderflow Avatar answered Oct 26 '22 03:10

stackunderflow