New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`nimble install docopt` not working #105

Closed
mallochine opened this Issue Mar 7, 2015 · 10 comments

Comments

Projects
None yet
2 participants
@mallochine

mallochine commented Mar 7, 2015

Hey,

Not completely sure if this is an issue, but I used the "nimble install docopt" command, copied from http://howistart.org/posts/nim/1

I got the following error:

[nutanix@guo-dev brainfuck]$ nimble install docopt
Downloading docopt into /tmp/nimble_3085/docopt using git...
Found tags...
Cloning latest tagged version: v0.1
Initialized empty Git repository in /tmp/nimble_3085/docopt/.git/
fatal: Couldn't find remote ref v0.1
FAILURE: Execution failed with exit code 128
@dom96

This comment has been minimized.

Member

dom96 commented Mar 7, 2015

It works for me on Windows. I can also see the v0.1 tag on the Git repo https://github.com/docopt/docopt.nim so I'm not sure what the problem is.

Can you clone that repo manually and checkout v0.1?

@mallochine

This comment has been minimized.

mallochine commented Mar 7, 2015

Ah, so I'm actually on Linux...

I took a dive into the nimble source code and this is the exact shell command that is failing:

[nutanix@guo-dev docopt]$ git fetch origin --depth 1 v0.1
fatal: Couldn't find remote ref v0.1

Now if I simply do "git fetch origin", it still doesn't download anything:

[nutanix@guo-dev docopt]$ git fetch origin
remote: Counting objects: 115, done.
remote: Total 115 (delta 0), reused 0 (delta 0), pack-reused 115
Receiving objects: 100% (115/115), 32.25 KiB, done.
Resolving deltas: 100% (52/52), done.
From git://github.com/docopt/docopt.nim
 * [new branch]      master     -> origin/master
From git://github.com/docopt/docopt.nim
 * [new tag]         v0.1       -> v0.1
[nutanix@guo-dev docopt]$ ls -a
.  ..  .git
@mallochine

This comment has been minimized.

mallochine commented Mar 7, 2015

Some more debug:

[nutanix@guo-dev docopt]$ git remote show origin
* remote origin
  Fetch URL: git://github.com/docopt/docopt.nim
  Push  URL: git://github.com/docopt/docopt.nim
  HEAD branch: master
  Remote branch:
    master tracked

[nutanix@guo-dev docopt]$ pwd
/tmp/nimble_2349/docopt

[nutanix@guo-dev docopt]$ git --version
git version 1.7.1
@mallochine

This comment has been minimized.

mallochine commented Mar 7, 2015

A helpful improvement for future nimble versions would be verbosity information that would ease log collecting as opposed to digging into the source code itself.

@dom96

This comment has been minimized.

Member

dom96 commented Mar 7, 2015

What's the version of git that you are using?

On Saturday, 7 March 2015, Alex Guo notifications@github.com wrote:

A helpful improvement for future nimble versions would be verbosity
information that would ease log collecting instead of digging into the
source code itself.


Reply to this email directly or view it on GitHub
#105 (comment).

@mallochine

This comment has been minimized.

mallochine commented Mar 7, 2015

[nutanix@guo-dev docopt]$ git --version git version 1.7.1Date: Sat, 7 Mar 2015 13:18:42 -0800
From: notifications@github.com
To: nimble@noreply.github.com
CC: aguo@andrew.cmu.edu
Subject: Re: [nimble] nimble install docopt not working (#105)

What's the version of git that you are using?

On Saturday, 7 March 2015, Alex Guo notifications@github.com wrote:

A helpful improvement for future nimble versions would be verbosity

information that would ease log collecting instead of digging into the

source code itself.

Reply to this email directly or view it on GitHub

#105 (comment).


Reply to this email directly or view it on GitHub.

@dom96

This comment has been minimized.

Member

dom96 commented Mar 7, 2015

I'm using 1.9.5. Git 1.7.1 is pretty old I think. Can you upgrade?

@mallochine

This comment has been minimized.

mallochine commented Mar 8, 2015

Sure. I'm in the process of upgrading my git version. Update the README?

@mallochine

This comment has been minimized.

mallochine commented Mar 8, 2015

Looks like git 2.3.2 works. Thanks for your help! Do update the README once you can get to it, or maybe check for that in nimble compilation process?

@mallochine mallochine closed this Mar 8, 2015

@dom96

This comment has been minimized.

Member

dom96 commented Mar 8, 2015

Unfortunately i'm not sure what the lowest required version actually is.

I'll reopen this as a reminder to add something to the readme.

@dom96 dom96 reopened this Mar 8, 2015

@dom96 dom96 closed this in 496282c Dec 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment