Closed hemangjoshi37a closed 4 months ago
You or your administrator must have mis-configured your installation. By default there is no a-language-server-implementation
spec shipped with this extension, but your system - as per your logs - contains it:
traitlets.traitlets.TraitError: schema errors:
1 is not one of [2]
for:
{'a-language-server-implementation': {'version': 1, 'argv': ['/absolute/path/to/a-language-server', '--stdio'], 'languages': ['a-language']}}
and it contains the spec defined for version 1 whereas the current jupyter-lsp
requires version 2 (as the error message is trying to tell you).
It appears that someone copy-pasted the configuration example from https://jupyterlab-lsp.readthedocs.io/en/latest/Configuring.html#language-servers without replacing placeholders -
/absolute/path/to/a-language-server
is just an example path, a-language
is just placeholder for language name etc. This is not going to work.
You need to find out where the faulty configuration was placed and get it removed. Closing as this is not a bug in jupyter-lsp
.
In future, please do not post the same issue in three different repositories (here, jupyterlab and notebook) - this is considered impolite as it forces maintainers of all these projects to spend time reading and analysing your question.
@krassowski ok thanks for the response and i am considering your feedback about not posting same issues. thanks a lot.