Skip to content
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

Lots of "unknown notification" errors #107

Open
LennyPhoenix opened this issue May 28, 2021 · 6 comments
Open

Lots of "unknown notification" errors #107

LennyPhoenix opened this issue May 28, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@LennyPhoenix
Copy link

When performing actions such as opening new files, and closing buffers I get errors like this:
image

I have the workaround in my emacs config, but it doesn't seem to do anything:
image

Any ideas on what I can do? Let me know if I need to send more logs/details.

@LennyPhoenix LennyPhoenix changed the title Lots of "unknown" Lots of "unknown notification" errors May 28, 2021
@NathanLovato
Copy link
Collaborator

It's a known issue, seems it could an unsupported command on lsp's side. Not sure exactly. It's not something we can fix directly in gdscript-mode. See emacs-lsp/lsp-mode#2127

The workaround works for me. An alternative is to suppress warnings for lsp-mode (it'll suppress all warnings) (setq warning-suppress-types '((lsp-mode)))

@LennyPhoenix
Copy link
Author

Ah I see, I'll try out that workaround then. Thanks 👍

@Calinou Calinou added the bug Something isn't working label Oct 2, 2021
@NathanLovato
Copy link
Collaborator

Is this error still relevant today, about 18 months later?

@xiliuya
Copy link
Collaborator

xiliuya commented Apr 21, 2023

Hello ,@LennyPhoenix
emacs already has eglot built in.
We have now added the relevant configuration of eglot, I tried to test 'godot 3.5' and it works.
If the problem persists with lsp-mode, please try using eglot.
Add the following configuration:

(setq gdscript-godot-executable "/home/xiliuya/soft/Godot_v3.5-stable_x11.64"
      gdscript-eglot-version 3)

@LennyPhoenix
Copy link
Author

Sorry, I haven't used Emacs in about 2 years so I can't test this anymore sadly.

@pivaldi
Copy link

pivaldi commented Sep 11, 2024

The workaround works for me. An alternative is to suppress warnings for lsp-mode (it'll suppress all warnings) (setq warning-suppress-types '((lsp-mode)))

Disabling all lsp-mode waning you lose important feed-backs.
So I create an advise to filter the Emacs warning by string regexp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants