Client autotools_ls quit with exit code 1 and signal 0
Probably the same as the other closed issues, although different error messages in the logs on my end.
Ubuntu 24.04 LTS, installed through Mason. Nvim release version 0.10.1
[ERROR][2024-10-10 14:09:15] .../vim/lsp/rpc.lua:770 "rpc" "autotools-language-server" "stderr" ' MakeLanguageServer(NAME, version).start_io()\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/home/mikey/.local/share/nvim/mason/packages/autotools-language-server/venv/lib/python3.12/site-packages/make_language_server/server.py", line 55, in init\n self.parser = get_parser("make")\n ^^^^^^^^^^^^^^^^^^\n File "tree_sitter_languages/core.pyx", line 19, in tree_sitter_languages.core.get_parser\n File "tree_sitter_languages/core.pyx", line 14, in tree_sitter_languages.core.get_language\nTypeError: init() takes exactly 1 argument (2 given)\n'
I think #8 and #11 should be the reason. Update to 0.0.19 should fix the problem.
Is this available through Mason? Seems to only find the 0.0.18 release. No worries if not, can do it manually
It should be finished manually, I think.
The methods you mentioned in #8 and #11 are not working. Because:
Mason installs the language servers in its own directory, i.e., ~/.local/share/nvim/mason/packages/autotools-language-server/venv/; while, pip install them in ./local. So, even we installed 0.0.19, nvim Make language server is still running the one installed by mason, version 0.0.18.
@wangxa you can move the files into Mason and do a custom install. But I agree, I won't be using this repo until Mason can install the current version properly.
OK. Thnak you.
pip install --prefix /the/path/you/want should work.
same issue
Yes, same as #11