After updating the Google App Engine SDK last night...
Both go env
and goapp env
have the correct GOPATH and GOROOT, go build
and goapp build
both work, but appcfg.py update ...
returns that every third-party package is missing.
Even if I run goapp get ...
or go get ...
again for each package, it makes no difference since they're already in the GOPATH anyway. That alone should be confirmed by the fact that both commands build the project.
What could be wrong? :(
EDIT: It produces different errors each time I run appcfg.py update .
...
main.go:4: can't find import: "github.com/gin-gonic/gin" github.com/gin-gonic/gin/binding/default_validator.go:7: can't find import: "gopkg.in/go-playground/validator.v8" github.com/gin-gonic/gin/context.go:17: can't find import: "github.com/gin-gonic/gin/binding"
... Ran goapp get ...
on all of these, even though they're already there.
main.go:4: can't find import: "github.com/gin-gonic/gin" github.com/gin-gonic/contrib/gzip/gzip.go:9: can't find import: "github.com/gin-gonic/gin" github.com/gin-gonic/gin/render/yaml.go:10: can't find import: "gopkg.in/yaml.v2"
... Repeat, run goapp get ...
on all of these again.
main.go:4: can't find import: "github.com/gin-gonic/gin" github.com/gin-gonic/gin/render/yaml.go:10: can't find import: "gopkg.in/yaml.v2"
Makes no sense. The libraries are already there. I can do goapp build
and it works, but I can't deploy.
All of this is inside the "--- begin server output ---" and "--- end server output ---" wrappings... is this a server-side issue?
goapp deploy
instead of appcfg.py for golang deployments. Does that work? – Justin Beckwith