Open SpyPower opened 11 months ago
I have completely removed the folder /home/sp/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-1.7.2
and then reloaded vscode. Some extensions where not please by that and I was prompted to install this extension again.
after a couple more reloads, no errors.
is this a single (my) case or is this something that could be reproduced?
Thank you for your well-detailed report. :smile: Well, you are hitting a few issues at the same time unfortunately...
The first issue I believe we will soon fix in 1.7.3 which is the file permissions issue due to a race condition. As long as chmod works on your os, which it should because it's a ubuntu child os, it should be good. Also explains why it worked once and not the other time.
The split issue I'm confused by. Normally you see that in node <16 where .split() is not supported, but you are using node 18. I haven't seen that one before.
I'm having a similar issue in WSL Ubuntu 22.04, where the dotnet-install.sh
file does not have the executable bit set.
Is it possibly copying the extension files from my Windows host into the WSL filesystem and not redownloading it? That would explain the lack of executable bit.
I'm also getting the split is not a function
error.
Describe the bug
booting up the vscode, i get the following error
Error acquiring .NET! v7.0.11
Please attach log file(s) here if you have any:
Extension Version: 1.0.0 Error Message: .NET Acquisition Failed: Installation failed: Error: Command failed: "/home/anonymous/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-1.7.2/dist/install scripts/dotnet-install.sh" -InstallDir "/home/anonymous/.config/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.11" -Version 7.0.11 -Runtime dotnet /bin/sh: 1: /home/anonymous/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-1.7.2/dist/install scripts/dotnet-install.sh: Permission denied
Error Stack: Error: .NET Acquisition Failed: Installation failed: Error: Command failed: "/home/anonymous/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-1.7.2/dist/install scripts/dotnet-install.sh" -InstallDir "/home/anonymous/.config/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.11" -Version 7.0.11 -Runtime dotnet /bin/sh: 1: /home/anonymous/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-1.7.2/dist/install scripts/dotnet-install.sh: Permission denied
Other Info:
The file install
/home/sp/.vscode/extensions/ms-dotnettools.vscode-dotnet-runtime-1.7.2/dist/install
does not exist in that folder. The contents areErrors the extension may have encountered have likely been added to your terminal or VS Code windows. Please paste it/them here and describe what happened and the problem you are facing.
Further technical details
The version of the extension that's on your machine Name: .NET Runtime Install Tool Id: ms-dotnettools.vscode-dotnet-runtime Description: This extension installs and manages different versions of the .NET Runtime. Version: 1.7.2 Publisher: Microsoft VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.vscode-dotnet-runtime
Your operating system details![image](https://github.com/dotnet/vscode-dotnet-runtime/assets/13405649/cac27551-6078-4602-8141-4010bc3631e2)