Coder Social home page Coder Social logo

E900: Invalid channel id (again?) about vim-go HOT 5 CLOSED

sbinet avatar sbinet commented on June 8, 2024
E900: Invalid channel id (again?)

from vim-go.

Comments (5)

sbinet avatar sbinet commented on June 8, 2024

hum... compiling the same gopls version but with golang/go@c19c4c566c (ie: Go1.21.0) works.

and it would seem that the "invalid channel id" error comes up when compiling gopls with golang/go@5fa4aac

can people reproduce it ?

from vim-go.

bhcleek avatar bhcleek commented on June 8, 2024

The most common reason for the Invalid channel id error is because gopls has crashed. Given that you can duplicate this with a specific revision of the Go source code, I recommend that you file an issue in github.com/golang/go about it.

from vim-go.

sbinet avatar sbinet commented on June 8, 2024

Would you have a set of shell commands that'd replicate the set of vim operations I've sketched above ?

Ie : what does vim-go send to gopls ?

from vim-go.

bhcleek avatar bhcleek commented on June 8, 2024

You can add let g:go_debug=['lsp'] to see the logs of requests and responses to gopls from vim-go. That may be enough for the gopls team to understand what's going on. Alternatively, they may ask you to use the -logfile option. You can use g:go_gopls_options (see :help g:go_gopls_options) to set it.

However, the very simple reproduction case you've described may be all they need.

from vim-go.

sbinet avatar sbinet commented on June 8, 2024

it's a known issue:
golang/go#62191

from vim-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.