Closed petrosAth closed 2 years ago
Do you have the latest git version of nvim-lsp-installer
installed?
The problem seems to be fixed in #278. In my case (PowerShell 5.1 and PowerShell Core 7.2.0) powershell_es
is successfully installed.
UPD: It seems you have.
Hello! What is your powershell.exe
version? I'm not sure how to actually get this, and Google seems to yield different answers, maybe @d9d6ka or @JSchrtke knows?
You are using powershell.exe
not pwsh.exe
see line 18-23 of your log
[DEBUG 26-Nov-21 23:55:24] ...pt\nvim-lsp-installer\lua\nvim-lsp-installer\process.lua:120: Spawning cmd="powershell.exe",
...(I truncated this here)
The powershell editor services only work with powershell 7+
Afaik the latest windows powershell version, aka powershell.exe
is 5.1, so that won't work.
See this for reference.
Hello! What is your
powershell.exe
version? I'm not sure how to actually get this, and Google seems to yield different answers, maybe @d9d6ka or @JSchrtke knows?
You are looking for (Get-Host).Version
, that should do the trick
You are using
powershell.exe
notpwsh.exe
see line 18-23 of your log
Yeah we don't use pwsh
in this plugin, it's powershell
all the way. The reasoning I have for this is that powershell
is native to Windows and can pretty safely be assumed to be installed, whereas pwsh
is more or less an addon that you have to manually install. Happy to be corrected though! I'm not too keen on making pwsh
a requirement, because so far we're only doing very simple operations through powershell (basically just iwr
and Expand-Archive
)
Uh, I might be wrong, but I'm pretty sure about powershell es needing 7+. Lemme do some googling.
Edit: I don't have access to my windows machine atm anyway, I'll revisit this tomorrow.
Uh, I might be wrong, but I'm pretty sure about powershell es needing 7+. Lemme do some googling
No that seems correct! But it seems like OP is having issues with the installation only. We recently merged https://github.com/williamboman/nvim-lsp-installer/pull/284 which seems to have caused it
Yeah, this article says the same.
The ISE was first introduced with Windows PowerShell V2 and was re-designed with PowerShell V3. The ISE is supported in all supported versions of Windows PowerShell up to and including Windows PowerShell V5.1. The PowerShell ISE is no longer in active feature development. As a shipping component of Windows, it continues to be officially supported for security and high-priority servicing fixes. We currently have no plans to remove the ISE from Windows.
There is no support for the ISE in PowerShell v6 and beyond. Users looking for replacement for the ISE should use Visual Studio Code with the PowerShell Extension.
That extension being what powershell ES was developed for.
Imho, while you can rely on powershell 5.1 being present, I for myself consider it kinda deprecated. It seems to me MS is really pushing towards PS 7
It installs correctly if I swap "powershell.exe" with "pwsh"
Oh, you even said so. My bad, I'm a bit tired. Tldr; you need PS 7
Hello! What is your
powershell.exe
version? I'm not sure how to actually get this, and Google seems to yield different answers, maybe @d9d6ka or @JSchrtke knows?
powershell version is 5.1.19041.1320
pwsh version is 7.2.0
powershell version is
5.1.19041.1320
pwsh version is7.2.0
Thanks. Are you otherwise able to run the Expand-Archive
command in a powershell
(not pwsh
) session? Here's the latest powershell_es zip: https://github.com/PowerShell/PowerShellEditorServices/releases/download/v3.0.2/PowerShellEditorServices.zip
You are using
powershell.exe
notpwsh.exe
see line 18-23 of your logYeah we don't use
pwsh
in this plugin, it'spowershell
all the way. The reasoning I have for this is thatpowershell
is native to Windows and can pretty safely be assumed to be installed, whereaspwsh
is more or less an addon that you have to manually install. Happy to be corrected though! I'm not too keen on makingpwsh
a requirement, because so far we're only doing very simple operations through powershell (basically justiwr
andExpand-Archive
)
While your reasoning behind using powershell makes sense, I am pretty sure that anyone developing under windows today have pwsh and windows terminal installed. They are the first actually usable shell and terminal for Windows from Microsoft.
powershell version is
5.1.19041.1320
pwsh version is7.2.0
Thanks. Are you otherwise able to run the
Expand-Archive
command in apowershell
(notpwsh
) session? Here's the latest powershell_es zip: https://github.com/PowerShell/PowerShellEditorServices/releases/download/v3.0.2/PowerShellEditorServices.zip
The command Expand-Archive PowerShellEditorServices.zip
run successfully when executed straight from powershell.exe and the contents of the folder produced are correct.
I'm confused :/
The command
Expand-Archive PowerShellEditorServices.zip
run successfully when executed straight from powershell.exe and the contents of the folder produced are correct. I'm confused :/
Does Microsoft.PowerShell.Archive\Expand-Archive PowerShellEditorServices.zip
work?
The command
Expand-Archive PowerShellEditorServices.zip
run successfully when executed straight from powershell.exe and the contents of the folder produced are correct. I'm confused :/Does
Microsoft.PowerShell.Archive\Expand-Archive PowerShellEditorServices.zip
work?
Yes it does.
Microsoft.PowerShell.Archive\Expand-Archive PowerShellEditorServices.zip
executed in powershell.exe 5.1.19041.1320
gave me a directory named PowerShellEditorServices with the correct contents.
Yes it does.
Oh no. I was hoping you'd get an error 😆. I really don't know what's happening here :/. Can you think of anything obvious? Here's the callsite
Oh no. I was hoping you'd get an error 😆.
It seems it does.
This is weird. Microsoft.PowerShell.Archive\Expand-Archive PowerShellEditorServices.zip
only works if I run it in the same powershell session that I previously run Expand-Archive PowerShellEditorServices.zip
(I deleted the extracted folder before the second command).
If I start powershell and run Microsoft.PowerShell.Archive\Expand-Archive PowerShellEditorServices.zip
, I get the error from my screenshot.
PS. I found the problem. It was a missing PATH from my System Environment Variables. What is driving me crazy is that it is a fresh windows installation(less than two months).
In case anyone has the same problem and search for it, the path that was missing is:
%Windir%\System32\WindowsPowerShell\v1.0\Modules
from the "System variable" PSModulePath
.
Thank you for your time and sorry for wasting it with a problem that ended up being on my system.
The servers appear to install correctly but I only see empty folders.
It happens for sumneko_lua, omnisharp and powershell_es. pyright installs fine.
[DEBUG 30-Nov-21 02:00:12] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:616: Queuing server="powershell_es", version="" for installation
[INFO 30-Nov-21 02:00:12] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:551: Starting install server_name="powershell_es", requested_version=""
[DEBUG 30-Nov-21 02:00:12] ...ker\opt\nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:41: fs: mkdirp C:\Users\petrosAth\AppData\Local\nvim-data\lsp_servers\powershell_es.tmp
[DEBUG 30-Nov-21 02:00:12] ...-installer/lua/nvim-lsp-installer/installers/context.lua:13: Fetching URL "https://api.github.com/repos/PowerShell/PowerShellEditorServices/releases/latest"
[DEBUG 30-Nov-21 02:00:12] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:120: Spawning cmd="powershell.exe", spawn_opts={
args = { "-NoProfile", "-Command", "$ProgressPreference = 'SilentlyContinue';Write-Output (iwr -UseBasicParsing -Uri \"https://api.github.com/repos/PowerShell/PowerShellEditorServices/releases/latest\").Content" },
env = { "COMMONPROGRAMW6432=<redacted>", "POWERSHELL_DISTRIBUTION_CHANNEL=<redacted>", "LOCALAPPDATA=<redacted>", "WT_PROFILE_ID=<redacted>", "POSH_GIT_ENABLED=<redacted>", "NUMBER_OF_PROCESSORS=<redacted>", "PROCESSOR_REVISION=<redacted>", "CHOCOLATEYLASTPATHUPDATE=<redacted>", "PROCESSOR_LEVEL=<redacted>", "SYSTEMROOT=<redacted>", "DRIVERDATA=<redacted>", "VIM=<redacted>", "CHOCOLATEYTOOLSLOCATION=<redacted>", "WSLENV=<redacted>", "HOMEPATH=<redacted>", "OS=<redacted>", "SYSTEMDRIVE=<redacted>", "ONEDRIVE=<redacted>", "LOGONSERVER=<redacted>", "COMMONPROGRAMFILES=<redacted>", "USERNAME=<redacted>", "USERDOMAIN=<redacted>", "PUBLIC=<redacted>", "PROCESSOR_ARCHITECTURE=<redacted>", "COMSPEC=<redacted>", "WINDIR=<redacted>", "PATH=C:\\Program Files\\PowerShell\\7;C:\\Python39\\Scripts\\;C:\\Python39\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files (x86)\\dotnet\\;C:\\node_modules\\tree-sitter-cli;C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw64\\bin;C:\\Program Files\\LLVM\\bin;C:\\ProgramData\\chocolatey\\lib\\SQLite\\tools;C:\\Program Files\\nodejs\\;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Go\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\tools\\neovim\\Neovim\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\themes;C:\\Users\\petrosAth\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\petrosAth\\AppData\\Roaming\\npm;C:\\Users\\petrosAth\\scoop\\shims;C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\sumneko_lua\\extension\\server\\bin\\Windows;C:\\Users\\petrosAth\\go\\bin;C:\\tools\\neovide;C:\\tools\\neovim\\Neovim\\bin", "WT_SESSION=<redacted>", "POWERLINE_COMMAND=<redacted>", "PATHEXT=<redacted>", "TERM=<redacted>", "USERPROFILE=<redacted>", "PROGRAMFILES=<redacted>", "COMMONPROGRAMFILES(X86)=<redacted>", "NVIM_LISTEN_ADDRESS=<redacted>", "TEMP=<redacted>", "PROGRAMDATA=<redacted>", "GOPATH=C:\\Users\\petrosAth\\go", "ALLUSERSPROFILE=<redacted>", "CHOCOLATEYINSTALL=<redacted>", "MYVIMRC=<redacted>", "VIMRUNTIME=<redacted>", "APPDATA=<redacted>", "CONDA_PROMPT_MODIFIER=<redacted>", "AZ_ENABLED=<redacted>", "COMPUTERNAME=<redacted>", "NVIM_LOG_FILE=<redacted>", "PROGRAMFILES(X86)=<redacted>", "TMP=<redacted>", "PROCESSOR_IDENTIFIER=<redacted>", "HOMEDRIVE=<redacted>", "JD2_HOME=<redacted>", "PROGRAMW6432=<redacted>", "USERDOMAIN_ROAMINGPROFILE=<redacted>" }
}
[DEBUG 30-Nov-21 02:00:12] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:166: Spawned with pid 4180
[DEBUG 30-Nov-21 02:00:14] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:152: Job pid=4180 exited with exit_code=0, signal=0
[DEBUG 30-Nov-21 02:00:14] ...-installer/lua/nvim-lsp-installer/installers/context.lua:16: Successfully fetched URL "https://api.github.com/repos/PowerShell/PowerShellEditorServices/releases/latest"
[DEBUG 30-Nov-21 02:00:14] ...-installer/lua/nvim-lsp-installer/installers/context.lua:84: Resolved latest version powershell_es PowerShell/PowerShellEditorServices v3.0.2
[DEBUG 30-Nov-21 02:00:14] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:120: Spawning cmd="powershell.exe", spawn_opts={
args = { "-NoProfile" },
cwd = "C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\powershell_es.tmp",
env = { "COMMONPROGRAMW6432=<redacted>", "POWERSHELL_DISTRIBUTION_CHANNEL=<redacted>", "LOCALAPPDATA=<redacted>", "WT_PROFILE_ID=<redacted>", "POSH_GIT_ENABLED=<redacted>", "NUMBER_OF_PROCESSORS=<redacted>", "PROCESSOR_REVISION=<redacted>", "CHOCOLATEYLASTPATHUPDATE=<redacted>", "PROCESSOR_LEVEL=<redacted>", "SYSTEMROOT=<redacted>", "DRIVERDATA=<redacted>", "VIM=<redacted>", "CHOCOLATEYTOOLSLOCATION=<redacted>", "WSLENV=<redacted>", "HOMEPATH=<redacted>", "OS=<redacted>", "SYSTEMDRIVE=<redacted>", "ONEDRIVE=<redacted>", "LOGONSERVER=<redacted>", "COMMONPROGRAMFILES=<redacted>", "USERNAME=<redacted>", "USERDOMAIN=<redacted>", "PUBLIC=<redacted>", "PROCESSOR_ARCHITECTURE=<redacted>", "COMSPEC=<redacted>", "WINDIR=<redacted>", "PATH=C:\\Program Files\\PowerShell\\7;C:\\Python39\\Scripts\\;C:\\Python39\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files (x86)\\dotnet\\;C:\\node_modules\\tree-sitter-cli;C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw64\\bin;C:\\Program Files\\LLVM\\bin;C:\\ProgramData\\chocolatey\\lib\\SQLite\\tools;C:\\Program Files\\nodejs\\;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Go\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\tools\\neovim\\Neovim\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\themes;C:\\Users\\petrosAth\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\petrosAth\\AppData\\Roaming\\npm;C:\\Users\\petrosAth\\scoop\\shims;C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\sumneko_lua\\extension\\server\\bin\\Windows;C:\\Users\\petrosAth\\go\\bin;C:\\tools\\neovide;C:\\tools\\neovim\\Neovim\\bin", "WT_SESSION=<redacted>", "POWERLINE_COMMAND=<redacted>", "PATHEXT=<redacted>", "TERM=<redacted>", "USERPROFILE=<redacted>", "PROGRAMFILES=<redacted>", "COMMONPROGRAMFILES(X86)=<redacted>", "NVIM_LISTEN_ADDRESS=<redacted>", "TEMP=<redacted>", "PROGRAMDATA=<redacted>", "GOPATH=C:\\Users\\petrosAth\\go", "ALLUSERSPROFILE=<redacted>", "CHOCOLATEYINSTALL=<redacted>", "MYVIMRC=<redacted>", "VIMRUNTIME=<redacted>", "APPDATA=<redacted>", "CONDA_PROMPT_MODIFIER=<redacted>", "AZ_ENABLED=<redacted>", "COMPUTERNAME=<redacted>", "NVIM_LOG_FILE=<redacted>", "PROGRAMFILES(X86)=<redacted>", "TMP=<redacted>", "PROCESSOR_IDENTIFIER=<redacted>", "HOMEDRIVE=<redacted>", "JD2_HOME=<redacted>", "PROGRAMW6432=<redacted>", "USERDOMAIN_ROAMINGPROFILE=<redacted>" }
}
[DEBUG 30-Nov-21 02:00:14] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:166: Spawned with pid 6020
[DEBUG 30-Nov-21 02:00:14] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:152: Job pid=6020 exited with exit_code=0, signal=0
[DEBUG 30-Nov-21 02:00:14] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:120: Spawning cmd="powershell.exe", spawn_opts={
args = { "-NoProfile" },
cwd = "C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\powershell_es.tmp",
env = { "COMMONPROGRAMW6432=<redacted>", "POWERSHELL_DISTRIBUTION_CHANNEL=<redacted>", "LOCALAPPDATA=<redacted>", "WT_PROFILE_ID=<redacted>", "POSH_GIT_ENABLED=<redacted>", "NUMBER_OF_PROCESSORS=<redacted>", "PROCESSOR_REVISION=<redacted>", "CHOCOLATEYLASTPATHUPDATE=<redacted>", "PROCESSOR_LEVEL=<redacted>", "SYSTEMROOT=<redacted>", "DRIVERDATA=<redacted>", "VIM=<redacted>", "CHOCOLATEYTOOLSLOCATION=<redacted>", "WSLENV=<redacted>", "HOMEPATH=<redacted>", "OS=<redacted>", "SYSTEMDRIVE=<redacted>", "ONEDRIVE=<redacted>", "LOGONSERVER=<redacted>", "COMMONPROGRAMFILES=<redacted>", "USERNAME=<redacted>", "USERDOMAIN=<redacted>", "PUBLIC=<redacted>", "PROCESSOR_ARCHITECTURE=<redacted>", "COMSPEC=<redacted>", "WINDIR=<redacted>", "PATH=C:\\Program Files\\PowerShell\\7;C:\\Python39\\Scripts\\;C:\\Python39\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files (x86)\\dotnet\\;C:\\node_modules\\tree-sitter-cli;C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw64\\bin;C:\\Program Files\\LLVM\\bin;C:\\ProgramData\\chocolatey\\lib\\SQLite\\tools;C:\\Program Files\\nodejs\\;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Go\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\tools\\neovim\\Neovim\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\themes;C:\\Users\\petrosAth\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\petrosAth\\AppData\\Roaming\\npm;C:\\Users\\petrosAth\\scoop\\shims;C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\sumneko_lua\\extension\\server\\bin\\Windows;C:\\Users\\petrosAth\\go\\bin;C:\\tools\\neovide;C:\\tools\\neovim\\Neovim\\bin", "WT_SESSION=<redacted>", "POWERLINE_COMMAND=<redacted>", "PATHEXT=<redacted>", "TERM=<redacted>", "USERPROFILE=<redacted>", "PROGRAMFILES=<redacted>", "COMMONPROGRAMFILES(X86)=<redacted>", "NVIM_LISTEN_ADDRESS=<redacted>", "TEMP=<redacted>", "PROGRAMDATA=<redacted>", "GOPATH=C:\\Users\\petrosAth\\go", "ALLUSERSPROFILE=<redacted>", "CHOCOLATEYINSTALL=<redacted>", "MYVIMRC=<redacted>", "VIMRUNTIME=<redacted>", "APPDATA=<redacted>", "CONDA_PROMPT_MODIFIER=<redacted>", "AZ_ENABLED=<redacted>", "COMPUTERNAME=<redacted>", "NVIM_LOG_FILE=<redacted>", "PROGRAMFILES(X86)=<redacted>", "TMP=<redacted>", "PROCESSOR_IDENTIFIER=<redacted>", "HOMEDRIVE=<redacted>", "JD2_HOME=<redacted>", "PROGRAMW6432=<redacted>", "USERDOMAIN_ROAMINGPROFILE=<redacted>" }
}
[DEBUG 30-Nov-21 02:00:14] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:166: Spawned with pid 1304
[DEBUG 30-Nov-21 02:00:14] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:152: Job pid=1304 exited with exit_code=0, signal=0
[DEBUG 30-Nov-21 02:00:14] ...ker\opt\nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:22: fs: rmrf C:\Users\petrosAth\AppData\Local\nvim-data\lsp_servers\powershell_es.tmp\archive.zip
[DEBUG 30-Nov-21 02:00:14] ...ker\opt\nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:25: fs: rmrf failed
[DEBUG 30-Nov-21 02:00:14] ...opt\nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:142: Promoting installation directory "C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\powershell_es.tmp" for "powershell_es"
[DEBUG 30-Nov-21 02:00:14] ...ker\opt\nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:33: fs: rename C:\Users\petrosAth\AppData\Local\nvim-data\lsp_servers\powershell_es.tmp C:\Users\petrosAth\AppData\Local\nvim-data\lsp_servers\powershell_es
[DEBUG 30-Nov-21 02:00:14] ...opt\nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:163: Successfully promoted install_dir="C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\powershell_es.tmp" for "powershell_es"
[INFO 30-Nov-21 02:00:14] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:570: Installation completed server_name="powershell_es", success=true
[DEBUG 30-Nov-21 02:00:14] ...opt\nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:75: Attaching server to buffers powershell_es
[DEBUG 30-Nov-21 02:00:14] ...opt\nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:86: Successfully attached server to buffers powershell_es
[DEBUG 30-Nov-21 02:00:20] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:616: Queuing server="omnisharp", version="" for installation
[INFO 30-Nov-21 02:00:20] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:551: Starting install server_name="omnisharp", requested_version=""
[DEBUG 30-Nov-21 02:00:20] ...ker\opt\nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:41: fs: mkdirp C:\Users\petrosAth\AppData\Local\nvim-data\lsp_servers\omnisharp.tmp
[DEBUG 30-Nov-21 02:00:20] ...-installer/lua/nvim-lsp-installer/installers/context.lua:13: Fetching URL "https://api.github.com/repos/OmniSharp/omnisharp-roslyn/releases/latest"
[DEBUG 30-Nov-21 02:00:20] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:120: Spawning cmd="powershell.exe", spawn_opts={
args = { "-NoProfile", "-Command", "$ProgressPreference = 'SilentlyContinue';Write-Output (iwr -UseBasicParsing -Uri \"https://api.github.com/repos/OmniSharp/omnisharp-roslyn/releases/latest\").Content" },
env = { "COMMONPROGRAMW6432=<redacted>", "POWERSHELL_DISTRIBUTION_CHANNEL=<redacted>", "LOCALAPPDATA=<redacted>", "WT_PROFILE_ID=<redacted>", "POSH_GIT_ENABLED=<redacted>", "NUMBER_OF_PROCESSORS=<redacted>", "PROCESSOR_REVISION=<redacted>", "CHOCOLATEYLASTPATHUPDATE=<redacted>", "PROCESSOR_LEVEL=<redacted>", "SYSTEMROOT=<redacted>", "DRIVERDATA=<redacted>", "VIM=<redacted>", "CHOCOLATEYTOOLSLOCATION=<redacted>", "WSLENV=<redacted>", "HOMEPATH=<redacted>", "OS=<redacted>", "SYSTEMDRIVE=<redacted>", "ONEDRIVE=<redacted>", "LOGONSERVER=<redacted>", "COMMONPROGRAMFILES=<redacted>", "USERNAME=<redacted>", "USERDOMAIN=<redacted>", "PUBLIC=<redacted>", "PROCESSOR_ARCHITECTURE=<redacted>", "COMSPEC=<redacted>", "WINDIR=<redacted>", "PATH=C:\\Program Files\\PowerShell\\7;C:\\Python39\\Scripts\\;C:\\Python39\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files (x86)\\dotnet\\;C:\\node_modules\\tree-sitter-cli;C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw64\\bin;C:\\Program Files\\LLVM\\bin;C:\\ProgramData\\chocolatey\\lib\\SQLite\\tools;C:\\Program Files\\nodejs\\;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Go\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\tools\\neovim\\Neovim\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\themes;C:\\Users\\petrosAth\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\petrosAth\\AppData\\Roaming\\npm;C:\\Users\\petrosAth\\scoop\\shims;C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\sumneko_lua\\extension\\server\\bin\\Windows;C:\\Users\\petrosAth\\go\\bin;C:\\tools\\neovide;C:\\tools\\neovim\\Neovim\\bin", "WT_SESSION=<redacted>", "POWERLINE_COMMAND=<redacted>", "PATHEXT=<redacted>", "TERM=<redacted>", "USERPROFILE=<redacted>", "PROGRAMFILES=<redacted>", "COMMONPROGRAMFILES(X86)=<redacted>", "NVIM_LISTEN_ADDRESS=<redacted>", "TEMP=<redacted>", "PROGRAMDATA=<redacted>", "GOPATH=C:\\Users\\petrosAth\\go", "ALLUSERSPROFILE=<redacted>", "CHOCOLATEYINSTALL=<redacted>", "MYVIMRC=<redacted>", "VIMRUNTIME=<redacted>", "APPDATA=<redacted>", "CONDA_PROMPT_MODIFIER=<redacted>", "AZ_ENABLED=<redacted>", "COMPUTERNAME=<redacted>", "NVIM_LOG_FILE=<redacted>", "PROGRAMFILES(X86)=<redacted>", "TMP=<redacted>", "PROCESSOR_IDENTIFIER=<redacted>", "HOMEDRIVE=<redacted>", "JD2_HOME=<redacted>", "PROGRAMW6432=<redacted>", "USERDOMAIN_ROAMINGPROFILE=<redacted>" }
}
[DEBUG 30-Nov-21 02:00:20] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:166: Spawned with pid 13224
[DEBUG 30-Nov-21 02:00:21] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:152: Job pid=13224 exited with exit_code=0, signal=0
[DEBUG 30-Nov-21 02:00:21] ...-installer/lua/nvim-lsp-installer/installers/context.lua:16: Successfully fetched URL "https://api.github.com/repos/OmniSharp/omnisharp-roslyn/releases/latest"
[DEBUG 30-Nov-21 02:00:21] ...-installer/lua/nvim-lsp-installer/installers/context.lua:84: Resolved latest version omnisharp OmniSharp/omnisharp-roslyn v1.37.17
[DEBUG 30-Nov-21 02:00:21] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:120: Spawning cmd="powershell.exe", spawn_opts={
args = { "-NoProfile" },
cwd = "C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\omnisharp.tmp",
env = { "COMMONPROGRAMW6432=<redacted>", "POWERSHELL_DISTRIBUTION_CHANNEL=<redacted>", "LOCALAPPDATA=<redacted>", "WT_PROFILE_ID=<redacted>", "POSH_GIT_ENABLED=<redacted>", "NUMBER_OF_PROCESSORS=<redacted>", "PROCESSOR_REVISION=<redacted>", "CHOCOLATEYLASTPATHUPDATE=<redacted>", "PROCESSOR_LEVEL=<redacted>", "SYSTEMROOT=<redacted>", "DRIVERDATA=<redacted>", "VIM=<redacted>", "CHOCOLATEYTOOLSLOCATION=<redacted>", "WSLENV=<redacted>", "HOMEPATH=<redacted>", "OS=<redacted>", "SYSTEMDRIVE=<redacted>", "ONEDRIVE=<redacted>", "LOGONSERVER=<redacted>", "COMMONPROGRAMFILES=<redacted>", "USERNAME=<redacted>", "USERDOMAIN=<redacted>", "PUBLIC=<redacted>", "PROCESSOR_ARCHITECTURE=<redacted>", "COMSPEC=<redacted>", "WINDIR=<redacted>", "PATH=C:\\Program Files\\PowerShell\\7;C:\\Python39\\Scripts\\;C:\\Python39\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files (x86)\\dotnet\\;C:\\node_modules\\tree-sitter-cli;C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw64\\bin;C:\\Program Files\\LLVM\\bin;C:\\ProgramData\\chocolatey\\lib\\SQLite\\tools;C:\\Program Files\\nodejs\\;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Go\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\tools\\neovim\\Neovim\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\themes;C:\\Users\\petrosAth\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\petrosAth\\AppData\\Roaming\\npm;C:\\Users\\petrosAth\\scoop\\shims;C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\sumneko_lua\\extension\\server\\bin\\Windows;C:\\Users\\petrosAth\\go\\bin;C:\\tools\\neovide;C:\\tools\\neovim\\Neovim\\bin", "WT_SESSION=<redacted>", "POWERLINE_COMMAND=<redacted>", "PATHEXT=<redacted>", "TERM=<redacted>", "USERPROFILE=<redacted>", "PROGRAMFILES=<redacted>", "COMMONPROGRAMFILES(X86)=<redacted>", "NVIM_LISTEN_ADDRESS=<redacted>", "TEMP=<redacted>", "PROGRAMDATA=<redacted>", "GOPATH=C:\\Users\\petrosAth\\go", "ALLUSERSPROFILE=<redacted>", "CHOCOLATEYINSTALL=<redacted>", "MYVIMRC=<redacted>", "VIMRUNTIME=<redacted>", "APPDATA=<redacted>", "CONDA_PROMPT_MODIFIER=<redacted>", "AZ_ENABLED=<redacted>", "COMPUTERNAME=<redacted>", "NVIM_LOG_FILE=<redacted>", "PROGRAMFILES(X86)=<redacted>", "TMP=<redacted>", "PROCESSOR_IDENTIFIER=<redacted>", "HOMEDRIVE=<redacted>", "JD2_HOME=<redacted>", "PROGRAMW6432=<redacted>", "USERDOMAIN_ROAMINGPROFILE=<redacted>" }
}
[DEBUG 30-Nov-21 02:00:21] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:166: Spawned with pid 5320
[DEBUG 30-Nov-21 02:00:21] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:152: Job pid=5320 exited with exit_code=0, signal=0
[DEBUG 30-Nov-21 02:00:21] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:120: Spawning cmd="powershell.exe", spawn_opts={
args = { "-NoProfile" },
cwd = "C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\omnisharp.tmp",
env = { "COMMONPROGRAMW6432=<redacted>", "POWERSHELL_DISTRIBUTION_CHANNEL=<redacted>", "LOCALAPPDATA=<redacted>", "WT_PROFILE_ID=<redacted>", "POSH_GIT_ENABLED=<redacted>", "NUMBER_OF_PROCESSORS=<redacted>", "PROCESSOR_REVISION=<redacted>", "CHOCOLATEYLASTPATHUPDATE=<redacted>", "PROCESSOR_LEVEL=<redacted>", "SYSTEMROOT=<redacted>", "DRIVERDATA=<redacted>", "VIM=<redacted>", "CHOCOLATEYTOOLSLOCATION=<redacted>", "WSLENV=<redacted>", "HOMEPATH=<redacted>", "OS=<redacted>", "SYSTEMDRIVE=<redacted>", "ONEDRIVE=<redacted>", "LOGONSERVER=<redacted>", "COMMONPROGRAMFILES=<redacted>", "USERNAME=<redacted>", "USERDOMAIN=<redacted>", "PUBLIC=<redacted>", "PROCESSOR_ARCHITECTURE=<redacted>", "COMSPEC=<redacted>", "WINDIR=<redacted>", "PATH=C:\\Program Files\\PowerShell\\7;C:\\Python39\\Scripts\\;C:\\Python39\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files (x86)\\dotnet\\;C:\\node_modules\\tree-sitter-cli;C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw64\\bin;C:\\Program Files\\LLVM\\bin;C:\\ProgramData\\chocolatey\\lib\\SQLite\\tools;C:\\Program Files\\nodejs\\;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Go\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\tools\\neovim\\Neovim\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\themes;C:\\Users\\petrosAth\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\petrosAth\\AppData\\Roaming\\npm;C:\\Users\\petrosAth\\scoop\\shims;C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\sumneko_lua\\extension\\server\\bin\\Windows;C:\\Users\\petrosAth\\go\\bin;C:\\tools\\neovide;C:\\tools\\neovim\\Neovim\\bin", "WT_SESSION=<redacted>", "POWERLINE_COMMAND=<redacted>", "PATHEXT=<redacted>", "TERM=<redacted>", "USERPROFILE=<redacted>", "PROGRAMFILES=<redacted>", "COMMONPROGRAMFILES(X86)=<redacted>", "NVIM_LISTEN_ADDRESS=<redacted>", "TEMP=<redacted>", "PROGRAMDATA=<redacted>", "GOPATH=C:\\Users\\petrosAth\\go", "ALLUSERSPROFILE=<redacted>", "CHOCOLATEYINSTALL=<redacted>", "MYVIMRC=<redacted>", "VIMRUNTIME=<redacted>", "APPDATA=<redacted>", "CONDA_PROMPT_MODIFIER=<redacted>", "AZ_ENABLED=<redacted>", "COMPUTERNAME=<redacted>", "NVIM_LOG_FILE=<redacted>", "PROGRAMFILES(X86)=<redacted>", "TMP=<redacted>", "PROCESSOR_IDENTIFIER=<redacted>", "HOMEDRIVE=<redacted>", "JD2_HOME=<redacted>", "PROGRAMW6432=<redacted>", "USERDOMAIN_ROAMINGPROFILE=<redacted>" }
}
[DEBUG 30-Nov-21 02:00:21] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:166: Spawned with pid 2036
[DEBUG 30-Nov-21 02:00:22] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:152: Job pid=2036 exited with exit_code=0, signal=0
[DEBUG 30-Nov-21 02:00:22] ...ker\opt\nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:22: fs: rmrf C:\Users\petrosAth\AppData\Local\nvim-data\lsp_servers\omnisharp.tmp\archive.zip
[DEBUG 30-Nov-21 02:00:22] ...ker\opt\nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:25: fs: rmrf failed
[DEBUG 30-Nov-21 02:00:22] ...opt\nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:142: Promoting installation directory "C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\omnisharp.tmp" for "omnisharp"
[DEBUG 30-Nov-21 02:00:22] ...ker\opt\nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:33: fs: rename C:\Users\petrosAth\AppData\Local\nvim-data\lsp_servers\omnisharp.tmp C:\Users\petrosAth\AppData\Local\nvim-data\lsp_servers\omnisharp
[DEBUG 30-Nov-21 02:00:22] ...opt\nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:163: Successfully promoted install_dir="C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\omnisharp.tmp" for "omnisharp"
[INFO 30-Nov-21 02:00:22] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:570: Installation completed server_name="omnisharp", success=true
[DEBUG 30-Nov-21 02:00:22] ...opt\nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:75: Attaching server to buffers omnisharp
[DEBUG 30-Nov-21 02:00:22] ...opt\nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:86: Successfully attached server to buffers omnisharp
[DEBUG 30-Nov-21 02:00:28] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:616: Queuing server="pyright", version="" for installation
[INFO 30-Nov-21 02:00:28] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:551: Starting install server_name="pyright", requested_version=""
[DEBUG 30-Nov-21 02:00:28] ...ker\opt\nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:41: fs: mkdirp C:\Users\petrosAth\AppData\Local\nvim-data\lsp_servers\pyright.tmp
[DEBUG 30-Nov-21 02:00:28] ...ker\opt\nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:105: fs: append_file "C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\pyright.tmp\\.npmrc"
[DEBUG 30-Nov-21 02:00:28] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:120: Spawning cmd="npm.cmd", spawn_opts={
args = { "init", "--yes", "--scope=lsp-installer" },
cwd = "C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\pyright.tmp"
}
[DEBUG 30-Nov-21 02:00:28] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:166: Spawned with pid 5472
[DEBUG 30-Nov-21 02:00:31] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:152: Job pid=5472 exited with exit_code=0, signal=0
[DEBUG 30-Nov-21 02:00:31] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:120: Spawning cmd="npm.cmd", spawn_opts={
args = { "install", "pyright" },
cwd = "C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\pyright.tmp"
}
[DEBUG 30-Nov-21 02:00:31] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:166: Spawned with pid 10336
[DEBUG 30-Nov-21 02:00:38] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:152: Job pid=10336 exited with exit_code=0, signal=0
[DEBUG 30-Nov-21 02:00:38] ...opt\nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:142: Promoting installation directory "C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\pyright.tmp" for "pyright"
[DEBUG 30-Nov-21 02:00:38] ...ker\opt\nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:33: fs: rename C:\Users\petrosAth\AppData\Local\nvim-data\lsp_servers\pyright.tmp C:\Users\petrosAth\AppData\Local\nvim-data\lsp_servers\python
[DEBUG 30-Nov-21 02:00:38] ...opt\nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:163: Successfully promoted install_dir="C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\pyright.tmp" for "pyright"
[INFO 30-Nov-21 02:00:38] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:570: Installation completed server_name="pyright", success=true
[DEBUG 30-Nov-21 02:00:38] ...opt\nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:75: Attaching server to buffers pyright
[DEBUG 30-Nov-21 02:00:38] ...opt\nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:86: Successfully attached server to buffers pyright
[DEBUG 30-Nov-21 02:00:42] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:616: Queuing server="sumneko_lua", version="" for installation
[INFO 30-Nov-21 02:00:42] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:551: Starting install server_name="sumneko_lua", requested_version=""
[DEBUG 30-Nov-21 02:00:42] ...ker\opt\nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:41: fs: mkdirp C:\Users\petrosAth\AppData\Local\nvim-data\lsp_servers\sumneko_lua.tmp
[DEBUG 30-Nov-21 02:00:42] ...-installer/lua/nvim-lsp-installer/installers/context.lua:13: Fetching URL "https://api.github.com/repos/sumneko/vscode-lua/releases/latest"
[DEBUG 30-Nov-21 02:00:42] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:120: Spawning cmd="powershell.exe", spawn_opts={
args = { "-NoProfile", "-Command", "$ProgressPreference = 'SilentlyContinue';Write-Output (iwr -UseBasicParsing -Uri \"https://api.github.com/repos/sumneko/vscode-lua/releases/latest\").Content" },
env = { "COMMONPROGRAMW6432=<redacted>", "POWERSHELL_DISTRIBUTION_CHANNEL=<redacted>", "LOCALAPPDATA=<redacted>", "WT_PROFILE_ID=<redacted>", "POSH_GIT_ENABLED=<redacted>", "NUMBER_OF_PROCESSORS=<redacted>", "PROCESSOR_REVISION=<redacted>", "CHOCOLATEYLASTPATHUPDATE=<redacted>", "PROCESSOR_LEVEL=<redacted>", "SYSTEMROOT=<redacted>", "DRIVERDATA=<redacted>", "VIM=<redacted>", "CHOCOLATEYTOOLSLOCATION=<redacted>", "WSLENV=<redacted>", "HOMEPATH=<redacted>", "OS=<redacted>", "SYSTEMDRIVE=<redacted>", "ONEDRIVE=<redacted>", "LOGONSERVER=<redacted>", "COMMONPROGRAMFILES=<redacted>", "USERNAME=<redacted>", "USERDOMAIN=<redacted>", "PUBLIC=<redacted>", "PROCESSOR_ARCHITECTURE=<redacted>", "COMSPEC=<redacted>", "WINDIR=<redacted>", "PATH=C:\\Program Files\\PowerShell\\7;C:\\Python39\\Scripts\\;C:\\Python39\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files (x86)\\dotnet\\;C:\\node_modules\\tree-sitter-cli;C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw64\\bin;C:\\Program Files\\LLVM\\bin;C:\\ProgramData\\chocolatey\\lib\\SQLite\\tools;C:\\Program Files\\nodejs\\;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Go\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\tools\\neovim\\Neovim\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\themes;C:\\Users\\petrosAth\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\petrosAth\\AppData\\Roaming\\npm;C:\\Users\\petrosAth\\scoop\\shims;C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\sumneko_lua\\extension\\server\\bin\\Windows;C:\\Users\\petrosAth\\go\\bin;C:\\tools\\neovide;C:\\tools\\neovim\\Neovim\\bin", "WT_SESSION=<redacted>", "POWERLINE_COMMAND=<redacted>", "PATHEXT=<redacted>", "TERM=<redacted>", "USERPROFILE=<redacted>", "PROGRAMFILES=<redacted>", "COMMONPROGRAMFILES(X86)=<redacted>", "NVIM_LISTEN_ADDRESS=<redacted>", "TEMP=<redacted>", "PROGRAMDATA=<redacted>", "GOPATH=C:\\Users\\petrosAth\\go", "ALLUSERSPROFILE=<redacted>", "CHOCOLATEYINSTALL=<redacted>", "MYVIMRC=<redacted>", "VIMRUNTIME=<redacted>", "APPDATA=<redacted>", "CONDA_PROMPT_MODIFIER=<redacted>", "AZ_ENABLED=<redacted>", "COMPUTERNAME=<redacted>", "NVIM_LOG_FILE=<redacted>", "PROGRAMFILES(X86)=<redacted>", "TMP=<redacted>", "PROCESSOR_IDENTIFIER=<redacted>", "HOMEDRIVE=<redacted>", "JD2_HOME=<redacted>", "PROGRAMW6432=<redacted>", "USERDOMAIN_ROAMINGPROFILE=<redacted>" }
}
[DEBUG 30-Nov-21 02:00:42] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:166: Spawned with pid 12112
[DEBUG 30-Nov-21 02:00:43] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:152: Job pid=12112 exited with exit_code=0, signal=0
[DEBUG 30-Nov-21 02:00:43] ...-installer/lua/nvim-lsp-installer/installers/context.lua:16: Successfully fetched URL "https://api.github.com/repos/sumneko/vscode-lua/releases/latest"
[DEBUG 30-Nov-21 02:00:43] ...-installer/lua/nvim-lsp-installer/installers/context.lua:84: Resolved latest version sumneko_lua sumneko/vscode-lua v2.5.1
[DEBUG 30-Nov-21 02:00:43] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:120: Spawning cmd="powershell.exe", spawn_opts={
args = { "-NoProfile" },
cwd = "C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\sumneko_lua.tmp",
env = { "COMMONPROGRAMW6432=<redacted>", "POWERSHELL_DISTRIBUTION_CHANNEL=<redacted>", "LOCALAPPDATA=<redacted>", "WT_PROFILE_ID=<redacted>", "POSH_GIT_ENABLED=<redacted>", "NUMBER_OF_PROCESSORS=<redacted>", "PROCESSOR_REVISION=<redacted>", "CHOCOLATEYLASTPATHUPDATE=<redacted>", "PROCESSOR_LEVEL=<redacted>", "SYSTEMROOT=<redacted>", "DRIVERDATA=<redacted>", "VIM=<redacted>", "CHOCOLATEYTOOLSLOCATION=<redacted>", "WSLENV=<redacted>", "HOMEPATH=<redacted>", "OS=<redacted>", "SYSTEMDRIVE=<redacted>", "ONEDRIVE=<redacted>", "LOGONSERVER=<redacted>", "COMMONPROGRAMFILES=<redacted>", "USERNAME=<redacted>", "USERDOMAIN=<redacted>", "PUBLIC=<redacted>", "PROCESSOR_ARCHITECTURE=<redacted>", "COMSPEC=<redacted>", "WINDIR=<redacted>", "PATH=C:\\Program Files\\PowerShell\\7;C:\\Python39\\Scripts\\;C:\\Python39\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files (x86)\\dotnet\\;C:\\node_modules\\tree-sitter-cli;C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw64\\bin;C:\\Program Files\\LLVM\\bin;C:\\ProgramData\\chocolatey\\lib\\SQLite\\tools;C:\\Program Files\\nodejs\\;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Go\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\tools\\neovim\\Neovim\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\themes;C:\\Users\\petrosAth\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\petrosAth\\AppData\\Roaming\\npm;C:\\Users\\petrosAth\\scoop\\shims;C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\sumneko_lua\\extension\\server\\bin\\Windows;C:\\Users\\petrosAth\\go\\bin;C:\\tools\\neovide;C:\\tools\\neovim\\Neovim\\bin", "WT_SESSION=<redacted>", "POWERLINE_COMMAND=<redacted>", "PATHEXT=<redacted>", "TERM=<redacted>", "USERPROFILE=<redacted>", "PROGRAMFILES=<redacted>", "COMMONPROGRAMFILES(X86)=<redacted>", "NVIM_LISTEN_ADDRESS=<redacted>", "TEMP=<redacted>", "PROGRAMDATA=<redacted>", "GOPATH=C:\\Users\\petrosAth\\go", "ALLUSERSPROFILE=<redacted>", "CHOCOLATEYINSTALL=<redacted>", "MYVIMRC=<redacted>", "VIMRUNTIME=<redacted>", "APPDATA=<redacted>", "CONDA_PROMPT_MODIFIER=<redacted>", "AZ_ENABLED=<redacted>", "COMPUTERNAME=<redacted>", "NVIM_LOG_FILE=<redacted>", "PROGRAMFILES(X86)=<redacted>", "TMP=<redacted>", "PROCESSOR_IDENTIFIER=<redacted>", "HOMEDRIVE=<redacted>", "JD2_HOME=<redacted>", "PROGRAMW6432=<redacted>", "USERDOMAIN_ROAMINGPROFILE=<redacted>" }
}
[DEBUG 30-Nov-21 02:00:43] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:166: Spawned with pid 9012
[DEBUG 30-Nov-21 02:00:43] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:152: Job pid=9012 exited with exit_code=0, signal=0
[DEBUG 30-Nov-21 02:00:43] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:120: Spawning cmd="powershell.exe", spawn_opts={
args = { "-NoProfile" },
cwd = "C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\sumneko_lua.tmp",
env = { "COMMONPROGRAMW6432=<redacted>", "POWERSHELL_DISTRIBUTION_CHANNEL=<redacted>", "LOCALAPPDATA=<redacted>", "WT_PROFILE_ID=<redacted>", "POSH_GIT_ENABLED=<redacted>", "NUMBER_OF_PROCESSORS=<redacted>", "PROCESSOR_REVISION=<redacted>", "CHOCOLATEYLASTPATHUPDATE=<redacted>", "PROCESSOR_LEVEL=<redacted>", "SYSTEMROOT=<redacted>", "DRIVERDATA=<redacted>", "VIM=<redacted>", "CHOCOLATEYTOOLSLOCATION=<redacted>", "WSLENV=<redacted>", "HOMEPATH=<redacted>", "OS=<redacted>", "SYSTEMDRIVE=<redacted>", "ONEDRIVE=<redacted>", "LOGONSERVER=<redacted>", "COMMONPROGRAMFILES=<redacted>", "USERNAME=<redacted>", "USERDOMAIN=<redacted>", "PUBLIC=<redacted>", "PROCESSOR_ARCHITECTURE=<redacted>", "COMSPEC=<redacted>", "WINDIR=<redacted>", "PATH=C:\\Program Files\\PowerShell\\7;C:\\Python39\\Scripts\\;C:\\Python39\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\dotnet\\;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files (x86)\\dotnet\\;C:\\node_modules\\tree-sitter-cli;C:\\ProgramData\\chocolatey\\lib\\mingw\\tools\\install\\mingw64\\bin;C:\\Program Files\\LLVM\\bin;C:\\ProgramData\\chocolatey\\lib\\SQLite\\tools;C:\\Program Files\\nodejs\\;C:\\Program Files\\PowerShell\\7\\;C:\\Program Files\\Go\\bin;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\tools\\neovim\\Neovim\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\bin;C:\\Users\\petrosAth\\AppData\\Local\\Programs\\oh-my-posh\\themes;C:\\Users\\petrosAth\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\petrosAth\\AppData\\Roaming\\npm;C:\\Users\\petrosAth\\scoop\\shims;C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\sumneko_lua\\extension\\server\\bin\\Windows;C:\\Users\\petrosAth\\go\\bin;C:\\tools\\neovide;C:\\tools\\neovim\\Neovim\\bin", "WT_SESSION=<redacted>", "POWERLINE_COMMAND=<redacted>", "PATHEXT=<redacted>", "TERM=<redacted>", "USERPROFILE=<redacted>", "PROGRAMFILES=<redacted>", "COMMONPROGRAMFILES(X86)=<redacted>", "NVIM_LISTEN_ADDRESS=<redacted>", "TEMP=<redacted>", "PROGRAMDATA=<redacted>", "GOPATH=C:\\Users\\petrosAth\\go", "ALLUSERSPROFILE=<redacted>", "CHOCOLATEYINSTALL=<redacted>", "MYVIMRC=<redacted>", "VIMRUNTIME=<redacted>", "APPDATA=<redacted>", "CONDA_PROMPT_MODIFIER=<redacted>", "AZ_ENABLED=<redacted>", "COMPUTERNAME=<redacted>", "NVIM_LOG_FILE=<redacted>", "PROGRAMFILES(X86)=<redacted>", "TMP=<redacted>", "PROCESSOR_IDENTIFIER=<redacted>", "HOMEDRIVE=<redacted>", "JD2_HOME=<redacted>", "PROGRAMW6432=<redacted>", "USERDOMAIN_ROAMINGPROFILE=<redacted>" }
}
[DEBUG 30-Nov-21 02:00:43] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:166: Spawned with pid 5748
[DEBUG 30-Nov-21 02:00:44] ...pt\nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:152: Job pid=5748 exited with exit_code=0, signal=0
[DEBUG 30-Nov-21 02:00:44] ...ker\opt\nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:22: fs: rmrf C:\Users\petrosAth\AppData\Local\nvim-data\lsp_servers\sumneko_lua.tmp\archive.zip
[DEBUG 30-Nov-21 02:00:44] ...ker\opt\nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:25: fs: rmrf failed
[DEBUG 30-Nov-21 02:00:44] ...opt\nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:142: Promoting installation directory "C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\sumneko_lua.tmp" for "sumneko_lua"
[DEBUG 30-Nov-21 02:00:44] ...ker\opt\nvim-lsp-installer/lua/nvim-lsp-installer/fs.lua:33: fs: rename C:\Users\petrosAth\AppData\Local\nvim-data\lsp_servers\sumneko_lua.tmp C:\Users\petrosAth\AppData\Local\nvim-data\lsp_servers\sumneko_lua
[DEBUG 30-Nov-21 02:00:44] ...opt\nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:163: Successfully promoted install_dir="C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\sumneko_lua.tmp" for "sumneko_lua"
[INFO 30-Nov-21 02:00:44] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:570: Installation completed server_name="sumneko_lua", success=true
[DEBUG 30-Nov-21 02:00:44] ...opt\nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:75: Attaching server to buffers sumneko_lua
[DEBUG 30-Nov-21 02:00:44] ...opt\nvim-lsp-installer/lua/nvim-lsp-installer/server.lua:86: Successfully attached server to buffers sumneko_lua
If you want me to try anything let me know. I can't think of anything else, I'll be making the change to "pwsh" locally.
If you want me to try anything let me know. I can't think of anything else, I'll be making the change to "pwsh" locally.
@petrosAth could you try the branch debug-powershell
and then try installing powershell_es
again. I've added a hardcoded error at the end, also removed the automatic deletion of the temporary installation directory when an installation fails.
Could you then provide:
powershell_es
(you can find this in in the :LspInstallInfo
window that automatically opens when :LspInstall
)?C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\powershell_es.tmp
directory?branch debug-powershell
neovim 0.7.0
LspInstallInfo:
Pending servers (1)
powershell_es (failed)
Fetching latest release version from GitHub API...
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
$ProgressPreference = 'SilentlyContinue';iwr -UseBasicParsing -Uri "https://github.com/PowerShell/PowerShellEditorServices/releases/download/v3.0.2/PowerShellEditorServices.zip" -OutFile "archive.zip"
Cannot load PSReadline module. Console is running without PSReadline.
PS C:\Users\petrosAth\AppData\Local\nvim-data\lsp_servers\powershell_es.tmp> Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
$ProgressPreference = 'SilentlyContinue';Microsoft.PowerShell.Archive\Expand-Archive -Path "archive.zip" -DestinationPath "."
Cannot load PSReadline module. Console is running without PSReadline.
PS C:\Users\petrosAth\AppData\Local\nvim-data\lsp_servers\powershell_es.tmp> Deleting "C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\powershell_es.tmp\\archive.zip"
Failed to delete "C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\powershell_es.tmp\\archive.zip".
I will error no purpose.
C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\powershell_es.tmp
directory is completely empty.
Could you pull the latest commit from that branch and try again? Does it fail at an earlier stage now?
branch debug-powershell
neovim 0.7.0
LspInstallInfo:
Pending servers (1)
powershell_es (failed)
Fetching latest release version from GitHub API...
Deleting "C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\powershell_es.tmp\\archive.zip"
I will error no purpose.
C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\powershell_es
directory is correctly populated with the archive contents. It is not deleted.
C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\powershell_es
directory is correctly populated with the archive contents. It is not deleted.
Wait so that sounds like it's working now!?
C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\powershell_es
directory is correctly populated with the archive contents. It is not deleted.Wait so that sounds like it's working now!?
branch shell-dont-use-stdin
neovim 0.7.0
Yes it does! They all install correctly now(sumneko_lua, omnisharp and powershell_es). I'm sorry I wasn't clear on my previous message.
Describe the bug I have exactly the same issue with powershell_es failling to Expand-Archive.
It installs correctly if I swap "powershell.exe" with "pwsh"
Screenshots
System info (please complete the following information):
Please also include any other system information you think is relevant!
Install log If applicable, include nvim-lsp-installer's logs. See :help nvim-lsp-installer-debugging for instructions on how to set the log level and access the logs.