Skip to content
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

glide hangs on glide get #141

Open
kyteague opened this issue Nov 14, 2015 · 6 comments
Open

glide hangs on glide get #141

kyteague opened this issue Nov 14, 2015 · 6 comments

Comments

@kyteague
Copy link

$ cat glide.yaml
package: main
import:
- package: github.com/getsentry/raven-go
- package: github.com/mattn/go-colorable
- package: github.com/stretchr/testify
  subpackages:
  - /assert
- package: github.com/davecgh/go-spew
  subpackages:
  - /spew
- package: github.com/go-sql-driver/mysql
- package: github.com/mreiferson/go-snappystream
- package: github.com/jordan-wright/email
- package: github.com/bitly/go-nsq
- package: github.com/pmezard/go-difflib
  subpackages:
  - /difflib
- package: github.com/facebookgo/structtag
- package: github.com/ogier/pflag
- package: gopkg.in/yaml.v2
- package: gopkg.in/inconshreveable/log15.v2
- package: gopkg.in/flosch/pongo2.v3
$ glide --version
glide version dev
$ glide get github.com/Masterminds/glide
[INFO] Preparing to install 1 package.
[INFO] Found glide.yaml in /Users/kyle/code/notebox/backend/src/notebox/vendor/github.com/Masterminds/glide/glide.yaml
[INFO] Fetching updates for github.com/mattn/go-colorable.

After ctrl+c and rerunning the command.

$ glide get github.com/Masterminds/glide
[INFO] Preparing to install 1 package.
Oops! open /Users/kyle/code/notebox/backend/src/notebox/vendor/github.com/Masterminds/glide/.git/objects/pack/pack-04c8588e9f9966d5c3f177bb498f43d7e6dc4495.idx: permission denied

OS is OSX 10.11

@mattfarina
Copy link
Member

I've been trying to replicated this problem. For example, I tried the glide.yaml file here along with the commands you suggested and did so on OS X 10.11. Are you still seeing this problem? Any pointers on how I can reproduce it?

@technosophos
Copy link
Member

That looks like a corrupted Git checkout (Git failed on something before it managed to set the writable bit on the mode). If you blow away vendor and try again, do you get the same problem?

@technosophos
Copy link
Member

Actually, you should be able to just remove vendor/github.com/Masterminds/glide and then try again

@kyteague
Copy link
Author

Yeah I was able to get it to work again by deleting the vendor folder. It may have just been my network connection going out. Is there a timeout for glide get?

This line seems pretty weird as well. Why would it be fetching this during glide get?

[INFO] Fetching updates for github.com/mattn/go-colorable.

@technosophos
Copy link
Member

I assume that whatever you did a glide get on had a dependency on that package?

@kyteague
Copy link
Author

kyteague commented Dec 8, 2015

I did a glide get on glide itself. That dependency exists in my glide.yaml but I didn't explicitly fetch it.

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

No branches or pull requests

3 participants