-
Notifications
You must be signed in to change notification settings - Fork 657
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
Panics with unknown export format version -1 #521
Comments
I'm getting this as well after switching to Go 1.11beta1. Switching back to Go 1.10 seems like has no effect. Maybe it's a coincidence, I don't know. I'm on latest MacOS X. Also, I was using GOOS=js GOARCH=wasm for the build when I start getting those crashes, if it's related. Any suggestions on how to debug this issue? |
Another detail, that may be relevant: my Go 1.11 installation is a binary installation (I didn;t compile it myself). Package files seems to have totally different encoding that crashes Here is an output of pkg files for
There is no version info and that's causing a crash. |
Okay, I found it, it's called Some more info: https://groups.google.com/forum/#!topic/golang-dev/Lj_B-O6OMv8 |
Yeah I ran my own go 1.10+dev when I started seeing this. |
So the proper solution would be to implement a parser for the indexed export format. I started to work on this, but it might take longer than by people who already worked with it. It actually requires a lot of copying and adapting from |
Is it correct that until gcode understands the new format, it is broken for Go >= 1.11? |
I've opened an issue over at mdempsky#43 |
Hm, turns out my test case was wrong, it works for me with Go 1.11beta2 and mdempksy's fork at https://github.com/mdempsky/gocode |
I do not understand why this issue is closed... I am keep getting panic with go 1.11 |
It's not closed |
oh, yes... sorry |
Same issue here, even with |
I'm having the same issue after upgrading to go 1.11 |
Hi! Is there a workaround for this issue. I am seeing the same with go version go1.11 darwin/amd64 |
Gocode is no longer maintained, you can try a fork, such as: https://github.com/mdempsky/gocode |
The fork at https://github.com/mdempsky/gocode fixes this issue. |
Not sure what needs clearing/removing.
The text was updated successfully, but these errors were encountered: