williamboman / nvim-lsp-installer

Further development has moved to https://github.com/williamboman/mason.nvim!
https://github.com/williamboman/mason.nvim
Apache License 2.0
2k stars 123 forks source link

Error while installing phpactor #357

Closed shurizzle closed 2 years ago

shurizzle commented 2 years ago

Describe the bug phpactor gives an error when I try to install it

Expected behavior No errors.

Screenshots immagine

System info (please complete the following information):

Checkhealth output (:checkhealth nvim-lsp-installer):


nvim-lsp-installer: require("nvim-lsp-installer.health").check()
========================================================================
## nvim-lsp-installer report
  - WARNING: **Go**: not available
  - WARNING: **java**: not available
  - OK: **sh**: `Ok`
  - OK: **tar**: `tar (GNU tar) 1.30`
  - OK: **gzip**: `gzip 1.10`
  - OK: **curl**: `curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3`
  - OK: **wget**: `GNU Wget 1.20.3 built on linux-gnu.`
  - OK: **python3**: `Python 3.8.10`
  - OK: **node**: `v16.13.1`
  - OK: **Ruby**: `ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]`
  - OK: **bash**: `GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)`
  - OK: **PHP**: `PHP 7.4.3 (cli) (built: Nov 25 2021 23:16:22) ( NTS )`
  - OK: **RubyGem**: `3.1.2`
  - OK: **Composer**: `Composer 1.10.1 2020-03-13 20:34:27`
  - OK: **npm**: `8.1.2`
  - OK: **pip3**: `pip 21.1.1 from /home/shura/.local/lib/python3.8/site-packages/pip (python 3.8)`

Please also include any other system information you think is relevant!

Install log

[DEBUG Fri Dec 24 22:23:56 2021] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:75: Attaching server to buffers vimls
[DEBUG Fri Dec 24 22:23:56 2021] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:86: Successfully attached server to buffers vimls
[DEBUG Fri Dec 24 22:23:56 2021] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:75: Attaching server to buffers jsonls
[DEBUG Fri Dec 24 22:23:56 2021] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:86: Successfully attached server to buffers jsonls
[DEBUG Fri Dec 24 22:23:56 2021] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:75: Attaching server to buffers rust_analyzer
[DEBUG Fri Dec 24 22:23:56 2021] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:86: Successfully attached server to buffers rust_analyzer
[DEBUG Fri Dec 24 22:23:56 2021] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:75: Attaching server to buffers sumneko_lua
[DEBUG Fri Dec 24 22:23:56 2021] ...art/nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:86: Successfully attached server to buffers sumneko_lua
[DEBUG Fri Dec 24 22:24:00 2021] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:627: Queuing server="phpactor", version="" for installation
[INFO  Fri Dec 24 22:24:00 2021] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:562: Starting install server_name="phpactor", requested_version=""
[DEBUG Fri Dec 24 22:24:00 2021] ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:41: fs: mkdirp /home/shura/.local/share/nvim/lsp_servers/phpactor.tmp
[DEBUG Fri Dec 24 22:24:00 2021] ...nvim-lsp-installer/lua/nvim-lsp-installer/ui/display.lua:396: Opening window
[DEBUG Fri Dec 24 22:24:00 2021] ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:22: fs: rmrf /home/shura/.local/share/nvim/lsp_servers/phpactor.tmp
[DEBUG Fri Dec 24 22:24:00 2021] ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:22: fs: rmrf /home/shura/.local/share/nvim/lsp_servers/phpactor.tmp
[DEBUG Fri Dec 24 22:24:00 2021] ...r/start/nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:25: fs: rmrf failed
[INFO  Fri Dec 24 22:24:00 2021] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:581: Installation completed server_name="phpactor", success=false
[DEBUG Fri Dec 24 22:24:02 2021] ...nvim-lsp-installer/lua/nvim-lsp-installer/ui/display.lua:199: Deleting window
williamboman commented 2 years ago

Ah yes this was accidentally introduced in #352. Fixed!