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

gx --verbose install --global takes forever to run #90

Open
zjiekai opened this issue Aug 17, 2016 · 2 comments
Open

gx --verbose install --global takes forever to run #90

zjiekai opened this issue Aug 17, 2016 · 2 comments

Comments

@zjiekai
Copy link

zjiekai commented Aug 17, 2016

Hi, I'm trying to get started on the unit test issue (libp2p/go-libp2p#83)

  • gx version 0.8.0
  • go version go1.6 linux/amd64
  • Ubuntu 16.04 LTS \n \l

gx --verbose install --global in the Makefile does not finish.

I can see there is a QmZ4Qi3GaRbjcx28Sme5eMH7RQjGkt8wHxt2a65oLaeFEV.part folder in ~/dev/gopath/src/gx/ipfs which contains 129 directories, 412 files.

I tried delete the ...part folder but gx still does not finish.

gopath/src/github.com/ipfs/go-libp2p$ gx --verbose install --global
installing package: go-libp2p-3.3.7
[1 / 34] fetched dep: go-libp2p-peerstore
[2 / 34] fetched dep: go-semver
[3 / 34] fetched dep: randbo
[4 / 34] fetched dep: go-multiaddr
[5 / 34] fetched dep: go-libp2p-loggables
[6 / 34] fetched dep: go-peerstream
[7 / 34] fetched dep: go-multihash
[8 / 34] fetched dep: multiaddr-filter
[9 / 34] fetched dep: go-reuseport
[10 / 34] fetched dep: go-multistream
[11 / 34] fetched dep: go-nat
[12 / 34] fetched dep: go-crypto
  - QmZ4Qi3GaRbjcx28Sme5eMH7RQjGkt8wHxt2a65oLaeFEV not found locally, fetching into /home/zjk/dev/gopath/src/gx/ipfs/QmZ4Qi3GaRbjcx28Sme5eMH7RQjGkt8wHxt2a65oLaeFEV
  - fetching QmZ4Qi3GaRbjcx28Sme5eMH7RQjGkt8wHxt2a65oLaeFEV via ipfs api
[13 / 34] fetched dep: goprocess
[14 / 34] fetched dep: gorocheck
[15 / 34] fetched dep: go-msgio
[16 / 34] fetched dep: go-notifier
[17 / 34] fetched dep: go-libp2p-secio
[18 / 34] fetched dep: go-base58
[19 / 34] fetched dep: go-smux-spdystream
[20 / 34] fetched dep: go-temp-err-catcher
[21 / 34] fetched dep: go-detect-race
[22 / 34] fetched dep: mafmt
[23 / 34] fetched dep: go-libp2p-transport
[24 / 34] fetched dep: go-keyspace
[25 / 34] fetched dep: go-metrics
[26 / 34] fetched dep: mdns
[27 / 34] fetched dep: go-stream-muxer
[28 / 34] fetched dep: go-ipfs-util
[29 / 34] fetched dep: go-log
[30 / 34] fetched dep: go-smux-yamux
[31 / 34] fetched dep: go-smux-multistream
[32 / 34] fetched dep: go-net
[33 / 34] fetched dep: go-multiaddr-net

I'm wondering if it's a network issue. But I'm not sure if I can use a http proxy with gx.

@zjiekai
Copy link
Author

zjiekai commented Aug 17, 2016

After a while (back at my desktop), it seems finished. Not sure if it's still a issue or it's my slow network

@whyrusleeping
Copy link
Owner

@zjiekai the package it looks like you were 'hung' on is rather large, if you have a slow internet connection, it would maybe appear to be hung. Are you running this with a local ipfs daemon? If so, on a slower internet connection you might have better luck running the gx install without a daemon running. Ipfs running during a gx install will add an overhead of outgoing traffic that will slow down the transfer over limited connections.

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

No branches or pull requests

2 participants