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
CL assertion fails via lsp-start-plain -> lsp-install-server #3415
Comments
I'm having this error too, but starting with
I can use edit: with this error still is possible to install a server with |
I found a solution that works for me, when i set |
Having the same problem here on: I found that this bug was introduced by commit
The bytecode is:
This code corresponds to line 187 of lsp-mode/clients/lsp-perlnavigator.el Line 187 in 6ff97a3
I was able to get Similarly, I got lsp-mode/clients/lsp-marksman.el Line 80 in b2dc841
I couldn't figure out why Two last things:
|
On my machine it's Lines 79 to 83 in db0b378
All the cl-first executable-find cl-rest business is redundant because lsp-stdio-connection already does that:Lines 6941 to 6951 in 6ff97a3
I replaced that with simply |
If the fix above looks correct to people, I can submit a PR. |
I can verify @suvayu fix works for me. |
Well, the file was easy because since Since @abh1shek-sh has verified the fix works, I'll submit a PR over the weekend (including a note in the docs, since this seems to crop up). |
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
lsp-install-server
encounters a cl-assertion-failed error when invoked from alsp-start-plain
emacs.Steps to reproduce
I did M-x
lsp-start-plain
, which spawned a new emacs process. From this emacs, I did M-xlsp-install-server
.Expected behavior
I expected to get a minibuffer asking me to choose a server to install.
Which Language Server did you use?
N/A
OS
MacOS, 11.6
Emacs 27.1
Error callstack
Anything else?
No response
The text was updated successfully, but these errors were encountered: