[coc.nvim] Server TexLab failed to start: spawn ETXTBSY
See original GitHub issueHi. i have void-linux and install latex like this:
https://en.wikibooks.org/wiki/LaTeX/Installation#Custom_installation_with_TeX_Live
And after that try to install coc-texlab
via neovim:
:CocInstall coc-texlab
When i hit the enter, i see this:
[coc.nvim] TexLab Server is not found, downloading…
And after a while:
[coc.nvim] Server TexLab failed to start: spawn ETXTBSY
Every time i open an .tex
file:
[coc.nvim] Error output from texlab: /home/linarcx/.config/coc/extensions/coc-texlab-data/texlab exited with code: null
Tip: I also notice that it downloads a file called: texlab
and put it in: /home/linarcx/.config/coc/extensions/coc-texlab-data/texlab
And this is the output of :CocInfo
:
## versions
vim version: NVIM v0.3.8
node version: v11.14.0
coc.nvim version: 0.0.71-fa429d0bbc
term: xterm-kitty
platform: linux
## Messages
[coc.nvim] Error output from texlab: /home/linarcx/.config/coc/extensions/coc-texlab-data/texlab exited with code: 127
[coc.nvim] Error output from texlab: Connection to server is erroring. Shutting down server.
[coc.nvim] Error output from texlab: Connection to server is erroring. Shutting down server.
[coc.nvim] Error output from texlab: Connection to server is erroring. Shutting down server.
[coc.nvim] Error output from texlab: /home/linarcx/.config/coc/extensions/coc-texlab-data/texlab exited with code: 127
## Output channel: TexLab
[Error - 6:14:15 PM] Connection to server is erroring. Shutting down server.
[Error - 6:14:15 PM] Connection to server is erroring. Shutting down server.
/home/linarcx/.config/coc/extensions/coc-texlab-data/texlab: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
[Error - 6:14:15 PM] /home/linarcx/.config/coc/extensions/coc-texlab-data/texlab exited with code: 127
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
neoclide/coc.nvim - Gitter
[coc.nvim] We encountered an issue extracting the Language Server. ... [coc.nvim] Command error: Error: ETXTBSY: text file is busy, open ...
Read more >Serverless framework: Chrome "Error: spawn ETXTBSY"
However when I run: $ sls invoke -f hello. I get: { "errorType": "Error", "errorMessage": "spawn ETXTBSY", "trace": [ "Error: spawn ETXTBSY" ...
Read more >coc-texlab - npm
Start using coc-texlab in your project by running `npm i coc-texlab`. ... for LaTeX documents, powered by the TexLab language server.
Read more >`UnhandledRejection: spawn ETXTBSY` - Fannheyward/Coc-Texlab
[coc.nvim]: UnhandledRejection: spawn ETXTBSY Error: spawn ETXTBSY at ChildProcess.spawn ... The newly downloaded server works ok after restarting coc.
Read more >Texlab LSP server crashes on launch : r/neovim - Reddit
Hiya, not super used to posting threads like this so excuse my etiquette if it's a bit wonky, wasn't sure which github repo...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I find the solution. i build texlab from source and put it’s binary in
/home/linarcx/.config/coc/extensions/coc-texlab-data/texlab
Now everything works like charm. But should i do everytime build it from source? There is no better way to handle these situations?You don’t need to build the server every time. After texlab new version released, you can upgrade it from vim by
:CocCommand latex.UpdateLanguageServer
.