Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

Unable to install powershell_es #287

Closed
petrosAth opened this issue Nov 26, 2021 · 25 comments · Fixed by #307
Closed

Unable to install powershell_es #287

petrosAth opened this issue Nov 26, 2021 · 25 comments · Fixed by #307
Labels
bug Something isn't working

Comments

@petrosAth
Copy link

petrosAth commented Nov 26, 2021

I've managed to install sumneko_lua. I've peeked into lua\nvim-lsp-installer\installers\shell.lua and replaced

shell = "powershell.exe",

with

shell = "pwsh",

I have PowerShell Core 7.2.0 installed, btw.

2021-11-20_21-07-35

Suggestion: maybe it has sense to detect whether PowerShell Core installed.

Originally posted by @d9d6ka in #271 (comment)

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
powershell_es-failed-installation-screenshot

System info (please complete the following information):

OS: Windows 10
Neovim version: 0.5.1

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.

[DEBUG 26-Nov-21 23:55:22] ...opt\nvim-lsp-installer\lua\nvim-lsp-installer\server.lua:75: Attaching server to buffers pyright
[DEBUG 26-Nov-21 23:55:22] ...opt\nvim-lsp-installer\lua\nvim-lsp-installer\server.lua:86: Successfully attached server to buffers pyright
[DEBUG 26-Nov-21 23:55:22] ...opt\nvim-lsp-installer\lua\nvim-lsp-installer\server.lua:75: Attaching server to buffers omnisharp
[DEBUG 26-Nov-21 23:55:22] ...opt\nvim-lsp-installer\lua\nvim-lsp-installer\server.lua:86: Successfully attached server to buffers omnisharp
[DEBUG 26-Nov-21 23:55:22] ...opt\nvim-lsp-installer\lua\nvim-lsp-installer\server.lua:75: Attaching server to buffers powershell_es
[DEBUG 26-Nov-21 23:55:22] ...opt\nvim-lsp-installer\lua\nvim-lsp-installer\server.lua:86: Successfully attached server to buffers powershell_es
[DEBUG 26-Nov-21 23:55:22] ...opt\nvim-lsp-installer\lua\nvim-lsp-installer\server.lua:75: Attaching server to buffers sumneko_lua
[DEBUG 26-Nov-21 23:55:22] ...opt\nvim-lsp-installer\lua\nvim-lsp-installer\server.lua:86: Successfully attached server to buffers sumneko_lua
[DEBUG 26-Nov-21 23:55:24] ...lsp-installer\lua\nvim-lsp-installer\installers\pip3.lua:57: Found python3_host_prog ("C:\\Python39\\python.exe")
[DEBUG 26-Nov-21 23:55:24] ...lsp-installer\lua\nvim-lsp-installer\installers\pip3.lua:57: Found python3_host_prog ("C:\\Python39\\python.exe")
[DEBUG 26-Nov-21 23:55:24] ...lsp-installer\lua\nvim-lsp-installer\installers\pip3.lua:57: Found python3_host_prog ("C:\\Python39\\python.exe")
[DEBUG 26-Nov-21 23:55:24] ...lsp-installer\lua\nvim-lsp-installer\installers\pip3.lua:57: Found python3_host_prog ("C:\\Python39\\python.exe")
[DEBUG 26-Nov-21 23:55:24] ...lsp-installer\lua\nvim-lsp-installer\installers\pip3.lua:57: Found python3_host_prog ("C:\\Python39\\python.exe")
[DEBUG 26-Nov-21 23:55:24] ...-installer\lua\nvim-lsp-installer\ui\status-win\init.lua:616: Queuing server="powershell_es", version="" for installation
[INFO  26-Nov-21 23:55:24] ...-installer\lua\nvim-lsp-installer\ui\status-win\init.lua:551: Starting install server_name="powershell_es", requested_version=""
[DEBUG 26-Nov-21 23:55:24] ...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 26-Nov-21 23:55:24] ...-installer\lua\nvim-lsp-installer\installers\context.lua:13: Fetching URL "https://api.github.com/repos/PowerShell/PowerShellEditorServices/releases/latest"
[DEBUG 26-Nov-21 23:55:24] ...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 = { "LOCALAPPDATA=<redacted>", "CONDA_PROMPT_MODIFIER=<redacted>", "POSH_GIT_ENABLED=<redacted>", "GOPATH=C:\\Users\\petrosAth\\go", "NUMBER_OF_PROCESSORS=<redacted>", "PROCESSOR_REVISION=<redacted>", "TMP=<redacted>", "CHOCOLATEYLASTPATHUPDATE=<redacted>", "PROCESSOR_LEVEL=<redacted>", "SYSTEMROOT=<redacted>", "JD2_HOME=<redacted>", "DRIVERDATA=<redacted>", "PROCESSOR_ARCHITECTURE=<redacted>", "PROGRAMW6432=<redacted>", "POWERSHELL_DISTRIBUTION_CHANNEL=<redacted>", "WINDIR=<redacted>", "WSLENV=<redacted>", "OS=<redacted>", "HOMEDRIVE=<redacted>", "ONEDRIVE=<redacted>", "COMMONPROGRAMFILES=<redacted>", "WT_SESSION=<redacted>", "USERPROFILE=<redacted>", "WT_PROFILE_ID=<redacted>", "PROCESSOR_IDENTIFIER=<redacted>", "PATHEXT=<redacted>", "NVIM_LOG_FILE=<redacted>", "COMPUTERNAME=<redacted>", "MYVIMRC=<redacted>", "AZ_ENABLED=<redacted>", "COMMONPROGRAMFILES(X86)=<redacted>", "CHOCOLATEYINSTALL=<redacted>", "VIM=<redacted>", "PROGRAMFILES(X86)=<redacted>", "CHOCOLATEYTOOLSLOCATION=<redacted>", "NVIM_LISTEN_ADDRESS=<redacted>", "HOMEPATH=<redacted>", "PROGRAMDATA=<redacted>", "SYSTEMDRIVE=<redacted>", "APPDATA=<redacted>", "LOGONSERVER=<redacted>", "POWERLINE_COMMAND=<redacted>", "USERNAME=<redacted>", "TERM=<redacted>", "PROGRAMFILES=<redacted>", "USERDOMAIN=<redacted>", "PATH=C:\\Program Files\\PowerShell\\7;C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_1.11.2921.0_x64__8wekyb3d8bbwe;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\\neovim\\Neovim\\bin", "PUBLIC=<redacted>", "TEMP=<redacted>", "COMSPEC=<redacted>", "ALLUSERSPROFILE=<redacted>", "USERDOMAIN_ROAMINGPROFILE=<redacted>", "COMMONPROGRAMW6432=<redacted>", "VIMRUNTIME=<redacted>" }
}
[DEBUG 26-Nov-21 23:55:24] ...pt\nvim-lsp-installer\lua\nvim-lsp-installer\process.lua:166: Spawned with pid 13796
[DEBUG 26-Nov-21 23:55:24] ...nvim-lsp-installer\lua\nvim-lsp-installer\ui\display.lua:396: Opening window
[DEBUG 26-Nov-21 23:55:26] ...pt\nvim-lsp-installer\lua\nvim-lsp-installer\process.lua:152: Job pid=13796 exited with exit_code=0, signal=0
[DEBUG 26-Nov-21 23:55:26] ...-installer\lua\nvim-lsp-installer\installers\context.lua:16: Successfully fetched URL "https://api.github.com/repos/PowerShell/PowerShellEditorServices/releases/latest"
[DEBUG 26-Nov-21 23:55:26] ...-installer\lua\nvim-lsp-installer\installers\context.lua:84: Resolved latest version powershell_es PowerShell/PowerShellEditorServices v3.0.2
[DEBUG 26-Nov-21 23:55:26] ...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 = { "LOCALAPPDATA=<redacted>", "CONDA_PROMPT_MODIFIER=<redacted>", "POSH_GIT_ENABLED=<redacted>", "GOPATH=C:\\Users\\petrosAth\\go", "NUMBER_OF_PROCESSORS=<redacted>", "PROCESSOR_REVISION=<redacted>", "TMP=<redacted>", "CHOCOLATEYLASTPATHUPDATE=<redacted>", "PROCESSOR_LEVEL=<redacted>", "SYSTEMROOT=<redacted>", "JD2_HOME=<redacted>", "DRIVERDATA=<redacted>", "PROCESSOR_ARCHITECTURE=<redacted>", "PROGRAMW6432=<redacted>", "POWERSHELL_DISTRIBUTION_CHANNEL=<redacted>", "WINDIR=<redacted>", "WSLENV=<redacted>", "OS=<redacted>", "HOMEDRIVE=<redacted>", "ONEDRIVE=<redacted>", "COMMONPROGRAMFILES=<redacted>", "WT_SESSION=<redacted>", "USERPROFILE=<redacted>", "WT_PROFILE_ID=<redacted>", "PROCESSOR_IDENTIFIER=<redacted>", "PATHEXT=<redacted>", "NVIM_LOG_FILE=<redacted>", "COMPUTERNAME=<redacted>", "MYVIMRC=<redacted>", "AZ_ENABLED=<redacted>", "COMMONPROGRAMFILES(X86)=<redacted>", "CHOCOLATEYINSTALL=<redacted>", "VIM=<redacted>", "PROGRAMFILES(X86)=<redacted>", "CHOCOLATEYTOOLSLOCATION=<redacted>", "NVIM_LISTEN_ADDRESS=<redacted>", "HOMEPATH=<redacted>", "PROGRAMDATA=<redacted>", "SYSTEMDRIVE=<redacted>", "APPDATA=<redacted>", "LOGONSERVER=<redacted>", "POWERLINE_COMMAND=<redacted>", "USERNAME=<redacted>", "TERM=<redacted>", "PROGRAMFILES=<redacted>", "USERDOMAIN=<redacted>", "PATH=C:\\Program Files\\PowerShell\\7;C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_1.11.2921.0_x64__8wekyb3d8bbwe;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\\neovim\\Neovim\\bin", "PUBLIC=<redacted>", "TEMP=<redacted>", "COMSPEC=<redacted>", "ALLUSERSPROFILE=<redacted>", "USERDOMAIN_ROAMINGPROFILE=<redacted>", "COMMONPROGRAMW6432=<redacted>", "VIMRUNTIME=<redacted>" }
}
[DEBUG 26-Nov-21 23:55:26] ...pt\nvim-lsp-installer\lua\nvim-lsp-installer\process.lua:166: Spawned with pid 13648
[DEBUG 26-Nov-21 23:55:31] ...pt\nvim-lsp-installer\lua\nvim-lsp-installer\process.lua:152: Job pid=13648 exited with exit_code=0, signal=0
[DEBUG 26-Nov-21 23:55:31] ...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 = { "LOCALAPPDATA=<redacted>", "CONDA_PROMPT_MODIFIER=<redacted>", "POSH_GIT_ENABLED=<redacted>", "GOPATH=C:\\Users\\petrosAth\\go", "NUMBER_OF_PROCESSORS=<redacted>", "PROCESSOR_REVISION=<redacted>", "TMP=<redacted>", "CHOCOLATEYLASTPATHUPDATE=<redacted>", "PROCESSOR_LEVEL=<redacted>", "SYSTEMROOT=<redacted>", "JD2_HOME=<redacted>", "DRIVERDATA=<redacted>", "PROCESSOR_ARCHITECTURE=<redacted>", "PROGRAMW6432=<redacted>", "POWERSHELL_DISTRIBUTION_CHANNEL=<redacted>", "WINDIR=<redacted>", "WSLENV=<redacted>", "OS=<redacted>", "HOMEDRIVE=<redacted>", "ONEDRIVE=<redacted>", "COMMONPROGRAMFILES=<redacted>", "WT_SESSION=<redacted>", "USERPROFILE=<redacted>", "WT_PROFILE_ID=<redacted>", "PROCESSOR_IDENTIFIER=<redacted>", "PATHEXT=<redacted>", "NVIM_LOG_FILE=<redacted>", "COMPUTERNAME=<redacted>", "MYVIMRC=<redacted>", "AZ_ENABLED=<redacted>", "COMMONPROGRAMFILES(X86)=<redacted>", "CHOCOLATEYINSTALL=<redacted>", "VIM=<redacted>", "PROGRAMFILES(X86)=<redacted>", "CHOCOLATEYTOOLSLOCATION=<redacted>", "NVIM_LISTEN_ADDRESS=<redacted>", "HOMEPATH=<redacted>", "PROGRAMDATA=<redacted>", "SYSTEMDRIVE=<redacted>", "APPDATA=<redacted>", "LOGONSERVER=<redacted>", "POWERLINE_COMMAND=<redacted>", "USERNAME=<redacted>", "TERM=<redacted>", "PROGRAMFILES=<redacted>", "USERDOMAIN=<redacted>", "PATH=C:\\Program Files\\PowerShell\\7;C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_1.11.2921.0_x64__8wekyb3d8bbwe;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\\neovim\\Neovim\\bin", "PUBLIC=<redacted>", "TEMP=<redacted>", "COMSPEC=<redacted>", "ALLUSERSPROFILE=<redacted>", "USERDOMAIN_ROAMINGPROFILE=<redacted>", "COMMONPROGRAMW6432=<redacted>", "VIMRUNTIME=<redacted>" }
}
[DEBUG 26-Nov-21 23:55:31] ...pt\nvim-lsp-installer\lua\nvim-lsp-installer\process.lua:166: Spawned with pid 13696
[DEBUG 26-Nov-21 23:55:32] ...pt\nvim-lsp-installer\lua\nvim-lsp-installer\process.lua:152: Job pid=13696 exited with exit_code=1, signal=0
[DEBUG 26-Nov-21 23:55:32] ...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
[INFO  26-Nov-21 23:55:32] ...-installer\lua\nvim-lsp-installer\ui\status-win\init.lua:570: Installation completed server_name="powershell_es", success=false
[DEBUG 26-Nov-21 23:55:44] ...nvim-lsp-installer\lua\nvim-lsp-installer\ui\display.lua:199: Deleting window

@vadim-zyamalov
Copy link

vadim-zyamalov commented Nov 27, 2021

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.

@williamboman
Copy link
Owner

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?

@JSchrtke
Copy link
Contributor

JSchrtke commented Nov 29, 2021

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.

@JSchrtke
Copy link
Contributor

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

@williamboman
Copy link
Owner

williamboman commented Nov 29, 2021

You are using powershell.exe not pwsh.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)

@JSchrtke
Copy link
Contributor

JSchrtke commented Nov 29, 2021

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.

@williamboman
Copy link
Owner

williamboman commented Nov 29, 2021

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 #284 which seems to have caused it

@JSchrtke
Copy link
Contributor

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

@JSchrtke
Copy link
Contributor

JSchrtke commented Nov 29, 2021

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

@petrosAth
Copy link
Author

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

@williamboman
Copy link
Owner

powershell version is 5.1.19041.1320 pwsh version is 7.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

@petrosAth
Copy link
Author

You are using powershell.exe not pwsh.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)

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.

@petrosAth
Copy link
Author

powershell version is 5.1.19041.1320 pwsh version is 7.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

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 :/

@williamboman
Copy link
Owner

williamboman commented Nov 29, 2021

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?

@petrosAth
Copy link
Author

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.

@williamboman
Copy link
Owner

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

@petrosAth
Copy link
Author

petrosAth commented Nov 29, 2021

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.

@petrosAth
Copy link
Author

Thank you for your time and sorry for wasting it with a problem that ended up being on my system.

@petrosAth petrosAth reopened this Nov 29, 2021
@petrosAth
Copy link
Author

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.

@williamboman williamboman added the bug Something isn't working label Nov 30, 2021
@williamboman
Copy link
Owner

williamboman commented Dec 1, 2021

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:

  • the full output for the failed installation of powershell_es (you can find this in in the :LspInstallInfo window that automatically opens when :LspInstall)?
  • the full contents of the C:\\Users\\petrosAth\\AppData\\Local\\nvim-data\\lsp_servers\\powershell_es.tmp directory?

@petrosAth
Copy link
Author

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.

@williamboman
Copy link
Owner

Could you pull the latest commit from that branch and try again? Does it fail at an earlier stage now?

@petrosAth
Copy link
Author

petrosAth commented Dec 4, 2021

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.

@williamboman
Copy link
Owner

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!?

@petrosAth
Copy link
Author

petrosAth commented Dec 5, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants