Code Monkey home page Code Monkey logo

Comments (4)

tsloughter avatar tsloughter commented on August 22, 2024

Damn, yea, terrible user experience. It is because you don't have github https support for private repos setup in your .netrc.

Will leave this ticket open until we have it provide a useful error message.

from rebar3.

catamorphism avatar catamorphism commented on August 22, 2024

Once I fixed my .netrc:

$ rebar3 compile
===> Fetching erequest_id
===> Fetching midjan
===> Fetching dinerl
(tchevalier@tchevalier-ltm)
[Wed Jan 07~13:24:12] ~/heroku/hundur $ DEBUG=1 rebar3 compile
[snip]
===> Fetching dinerl
===> sh info:
    cwd: "/Users/tchevalier/heroku/hundur"
    cmd: git clone https://github.com/SemanticSugar/dinerl.git .tmp_dir393704963216 -b v1.0.1 --single-branch

===>    opts: [{cd,"/tmp"}]

===> Port Cmd: "git clone https://github.com/SemanticSugar/dinerl.git .tmp_dir393704963216 -b v1.0.1 --single-branch"
Port Opts: [{cd,"/tmp"},
            exit_status,
            {line,16384},
            use_stdio,stderr_to_stdout,hide]

===> sh(git clone https://github.com/SemanticSugar/dinerl.git .tmp_dir393704963216 -b v1.0.1 --single-branch)
failed with return code 128 and the following output:
Cloning into '.tmp_dir393704963216'...
fatal: did not receive expected object 68f43be15accbd4403af68315c9ac997ad8e46cf
fatal: index-pack failed

I'm pretty sure this is the same bug, since both issues involve git failing, but in different ways. Just thought I would document this other failure case too.

from rebar3.

shijiang1130 avatar shijiang1130 commented on August 22, 2024

Hi catamorphism,
could you try modify the git config file, add the line below to see if fix the issue.
compression = -1

Here is the same symptom, but another way to resolve: http://git.661346.n2.nabble.com/Large-pack-causes-git-clone-failures-what-to-do-td5481488.html

from rebar3.

tsloughter avatar tsloughter commented on August 22, 2024

Oh, we forgot to close this. @shijiang1130 it was a github issue. Thanks.

Closing this now even though I said I'd leave it open until I made error messages better, just to make it less confusing :)

from rebar3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.