This repository was archived by the owner on Sep 9, 2020. It is now read-only.
Description Trying to play with dep + kops (again) today!
Anyway just hit this weird panic where I had to manually remove the lockfile to try again. (Note, that dep init worked on the second try!)
kris-nova:kops kris$ dep init
Cached github.com/golang/glog
Cached github.com/kr/pty
Cached github.com/spf13/pflag
Cached github.com/docker/engine-api
Cached github.com/blang/semver
Cached github.com/gucumber/gucumber
Cached github.com/docker/libnetwork
Cached k8s.io/gengo
Cached github.com/opencontainers/runc
Cached k8s.io/client-go
Cached github.com/gogo/protobuf
Cached github.com/google/cadvisor
Cached github.com/coreos/rkt
Cached github.com/aws/aws-sdk-go
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x50 pc=0xda270]
goroutine 181 [running]:
panic(0x3a6380, 0xc4200100d0)
/usr/local/Cellar/go/1.7.5/libexec/src/runtime/panic.go:500 +0x1a1
github.com/golang/dep/vendor/github.com/sdboyer/gps.(*SourceMgr).SyncSourceFor(0xc42008e000, 0xc4206f80c0, 0x13, 0x0, 0x0, 0x0, 0x0)
/go/src/github.com/golang/dep/vendor/github.com/sdboyer/gps/source_manager.go:461 +0x180
main.getProjectData.func1(0xc4206f80c0, 0x13, 0xc42008e000)
/go/src/github.com/golang/dep/cmd/dep/init.go:244 +0x6c
created by main.getProjectData
/go/src/github.com/golang/dep/cmd/dep/init.go:279 +0xdf3
kris-nova:kops kris$ dep init
getSourceManager: cache lock file /go/pkg/dep/sm.lock exists - another process crashed or is still running?
kris-nova:kops kris$ rm -rf /go/pkg/dep/sm.lock
kris-nova:kops kris$ dep init
# Working init logs here
👍 React with 👍 2pbarker and udhos