-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
pydantic throws ValidationError #243
Comments
This assertion is the server claiming that the client is sending a bad message (specifically: a non-integer process ID). You will need to get trace showing the message, and compare it with what the LSP specification says is allowed. I'm not an emacs user but I expect that its LSP client has some sort of setting to log the protocol flows. Then you can either agree with the server that the client is sending a bad message - in which case raise the issue at the client; or you can disagree, in which case raise the issue at the server. |
Thanks for the pointers, I'll try and get a trace out and work out where the problem is occurring. |
Pygls has now migrated to |
Thank you @tombh very much appreciated. |
Our pleasure 🙇 The greater thanks goes to @alcarney in particular for the migration itself. And Brett and Karthik from Microsoft too ❤️ |
I've encountered an error that pydantic has with
pygls
when used byjedi-language-server
...The authors of jedi-language-server suggested it might be down to lsp-jedi who suggested it might be down to
jedi-language-server
, but the error appeares to stem frompygls
and its use ofpydantic
(from my crude reading).This is with the following versions installed under user account rather than virtualenv
If there is any more useful information or steps I can take to help with investigating and resolving this please let me know.
The text was updated successfully, but these errors were encountered: