mdempsky / gocode

An autocompletion daemon for the Go programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't `go get` gocode: unexpected end at 44938, want 4941

ablakey opened this issue · comments

Trying to go get gocode results in what looks like an incomplete file?

$ go get -u github.com/mdempsky/gocode
# github.com/mdempsky/gocode
2018/10/28 22:35:08 /usr/lib/go-1.11/pkg/linux_amd64/compress/zlib.a(__.PKGDEF/): unexpected end at 44938, want 4941

Cannot reproduce with other Go packages.

go version go1.11.1 linux/amd64

Ubuntu 16.04

Thank you!

Looks like the issue was ultimately that my installation of Go was corrupt in some manner. Reinstalling Go altogether has fixed this. Thanks.