go-gomail / gomail

The best way to send emails in Go.
MIT License
4.33k stars 573 forks source link

go get fail #14

Closed badoet closed 9 years ago

badoet commented 9 years ago

somehow running the go get gopkg.in/gomail.v1 in centos 6 is not working.. it just stuck there for very very long. and i check the $GOPATH/src/gopkg.in folder its empty... and i have been very curious why is it not go get github.com/go-gomail/gomail instead...

badoet commented 9 years ago

go get github.com/go-gomail/gomail also get stucks. but when i force stop it with ctrl + c and check the folder. the files are there.

alexcesaro commented 9 years ago

This may be linked to your Go version. Gomail needs Go 1.3 at least. What's your version?

badoet commented 9 years ago

1.4

alexcesaro commented 9 years ago

Do you have the same error with other repos?

You can try to do: go get -d gopkg.in/gomail.v1 (download only)

badoet commented 9 years ago

nope only this package . ok. still nt working... its a blank repo. i think might be because it dont have a main file?

alexcesaro commented 9 years ago

What's the output of go get -v -u gopkg.in/gomail.v1?

badoet commented 9 years ago
go get -v -u gopkg.in/gomail.v1
Fetching https://gopkg.in/gomail.v1?go-get=1
Parsing meta tags from https://gopkg.in/gomail.v1?go-get=1 (status code 200)
get "gopkg.in/gomail.v1": found meta tag main.metaImport{Prefix:"gopkg.in/gomail.v1", VCS:"git", RepoRoot:"https://gopkg.in/gomail.v1"} at https://gopkg.in/gomail.v1?go-get=1
gopkg.in/gomail.v1 (download)

and just stuck here.

alexcesaro commented 9 years ago

And go get -v -u gopkg.in/alexcesaro/quotedprintable.v1?

badoet commented 9 years ago

same issue. issit just golang 1.4 issue? or my centos version? or git? centos 6.6 git 1.7.1 running on digital ocean singapore

alexcesaro commented 9 years ago

What's the outputs of go version and go get -u -v gopkg.in/mgo.v2?

badoet commented 9 years ago

go version go1.4 linux/amd64

go get -u -v gopkg.in/mgo.v2
Fetching https://gopkg.in/mgo.v2?go-get=1
ignoring https fetch with status code 502
Fetching http://gopkg.in/mgo.v2?go-get=1
Parsing meta tags from http://gopkg.in/mgo.v2?go-get=1 (status code 200)
get "gopkg.in/mgo.v2": found meta tag main.metaImport{Prefix:"gopkg.in/mgo.v2", VCS:"git", RepoRoot:"https://gopkg.in/mgo.v2"} at http://gopkg.in/mgo.v2?go-get=1
gopkg.in/mgo.v2 (download)
alexcesaro commented 9 years ago

Did it get stuck on the last command?

badoet commented 9 years ago

yes it stuck on the last command. somehow my windows dev machine is fine. and my other linux machines are fine too. the only diff is the go version and the host environment- the other one is hosted in GCE and i just checked the my other digitalocean vps is also experiencing the same issue. and there is at least a report that it is not working in digitalocean.. https://groups.google.com/forum/#!topic/mgo-users/rO1-gUDFo_g

alexcesaro commented 9 years ago

Ok so I'm closing this issue since it is not a Gomail issue.