“git push”:slug compiling挂起 [英] "git push": slug compilation hangs

查看:146
本文介绍了“git push”:slug compiling挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题今天开始没有明显的原因。当我为Django项目执行 git push dev master 时,我有时会在程序说安装依赖关系之后得到一个挂起:

 计数对象:11,完成。 
使用最多2个线程的Delta压缩。
压缩对象:100%(7/7),完成。
写入对象:100%(7/7),643字节,完成。
总计7(五角五),重新使用0(delta 0)

-----> Python应用程序检测到
----->没有提供runtime.txt;假设python-2.7.4。
----->使用Python运行时(python-2.7.4)
----->使用Pip(1.3.1)安装依赖项

挂起15分钟后,编译超时。 p>

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



我的日志只显示这个:

  heroku [slug-compiler]:Slug compilation started 

任何想法如何解决这个问题?

解决方案

有点一个远射,但是...你可以尝试

  git fsck --full --strict 

以确保您的资料库是健康的。


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?

解决方案

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

git fsck --full --strict

to make sure your repository is healthy.

这篇关于“git push”:slug compiling挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆