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

go get github.com/revel/cmd/revel fails with undefined in revel/cmd/harness? #87

Closed
terencechow opened this issue Apr 26, 2017 · 4 comments

Comments

@terencechow
Copy link

terencechow commented Apr 26, 2017

Running go get github.com/revel/cmd/revel

results in the following errors:

No change to our repo. We use the heroku buildpack with dokku. Never had problems until today. What's going on? Sometimes happens on our local machine sometimes does not. Always happens on our vm which is ubuntu 14.04. go version 1.5.1 revel 0.13

# github.com/revel/cmd/harness
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:94: undefined: revel.HTTPAddr
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:97: undefined: revel.HTTPSsl
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:118: undefined: revel.HTTPSsl
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:174: undefined: revel.HTTPAddr
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:174: undefined: revel.HTTPPort
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:178: undefined: revel.HTTPSsl
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:181: undefined: revel.HTTPSslCert
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:182: undefined: revel.HTTPSslKey
../.go_workspace/src/github.com/revel/cmd/harness/harness.go:224: undefined: revel.HTTPSsl
../.go_workspace/src/github.com/revel/cmd/harness/reflect.go:431: undefined: revel.RevelImportPath
../.go_workspace/src/github.com/revel/cmd/harness/reflect.go:431: too many errors
@notzippy
Copy link
Contributor

Not reproducable

@terencechow
Copy link
Author

For your info it is because you upgraded revel at the time and we were using the heroku build pack as part of our build process. We couldn't choose the revel version with the heroku buildpack and the heroku build pack used the latest revel, but our code was using a revel from a version before.

@notzippy
Copy link
Contributor

Ahh that makes sense, thanks for the update

@notzippy
Copy link
Contributor

BTW, I just merged in this change revel/meta#11 which will update your GOPATH to specific version of revel using the godeps (dependency files) in https://github.com/revel/meta/

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