Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got this error when via VS Code when updating Azure ARm Template extension #98

Closed
fitzgeraldsteele opened this issue Jun 16, 2020 · 4 comments
Labels
bug Something isn't working install scripts

Comments

@fitzgeraldsteele
Copy link

The issue text was copied to the clipboard. Please paste it into this window.

Repro steps:

Extension Version: 0.1.2
Error Message: Dotnet Core Acquisition Failed: Command failed: "/home/anonymous/.vscode-server/extensions/ms-dotnettools.vscode-dotnet-runtime-0.1.2/dist/install scripts/dotnet-install.sh" -InstallDir "/home/anonymous/.vscode-server/data/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/3.1.5" -Runtime dotnet -Version 3.1.5
/home/anonymous/.vscode-server/extensions/ms-dotnettools.vscode-dotnet-runtime-0.1.2/dist/install scripts/dotnet-install.sh: 7: /home/anonymous/.vscode-server/extensions/ms-dotnettools.vscode-dotnet-runtime-0.1.2/dist/install scripts/dotnet-install.sh: Syntax error: newline unexpected

Error Stack: Error: Dotnet Core Acquisition Failed: Command failed: "/home/anonymous/.vscode-server/extensions/ms-dotnettools.vscode-dotnet-runtime-0.1.2/dist/install scripts/dotnet-install.sh" -InstallDir "/home/anonymous/.vscode-server/data/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/3.1.5" -Runtime dotnet -Version 3.1.5
/home/anonymous/.vscode-server/extensions/ms-dotnettools.vscode-dotnet-runtime-0.1.2/dist/install scripts/dotnet-install.sh: 7: /home/anonymous/.vscode-server/extensions/ms-dotnettools.vscode-dotnet-runtime-0.1.2/dist/install scripts/dotnet-install.sh: Syntax error: newline unexpected

at /home/anonymous/.vscode-server/extensions/ms-dotnettools.vscode-dotnet-runtime-0.1.2/dist/extension.js:211:111243

Please attach the log file located at /home/fisteele/.vscode-server/data/logs/20200616T083335/exthost1/ms-dotnettools.vscode-dotnet-runtime/DotNetAcquisition1592321647042.txt. Note that this file may contain personal data.

Privacy Alert! The contents copied to your clipboard may contain personal data. Prior to posting to GitHub, please remove any personal data which should not be publicly viewable. https://privacy.microsoft.com/en-US/privacystatement

@sfoslund
Copy link
Member

@fitzgeraldsteele thanks for filing an issue. It looks like this is an issue with running the install scripts, do you mind giving us some more debugging information? If you could provide the contents of the install script (/home/anonymous/.vscode-server/extensions/ms-dotnettools.vscode-dotnet-runtime-0.1.2/dist/install scripts/dotnet-install.sh) and the log file (/home/anonymous/.vscode-server/data/logs/20200616T083335/exthost1/ms-dotnettools.vscode-dotnet-runtime/DotNetAcquisition1592321647042.txt), that would be very helpful, thanks!

@sfoslund sfoslund added bug Something isn't working install scripts labels Jun 16, 2020
@dnchance
Copy link

Getting the same error but on Windows.
Contents of Install Script:

dotnet-install.txt

log file:
DotNetAcquisition1597952140705.txt

@sfoslund
Copy link
Member

Import-Module : The specified module 'C:\scratch\git\Modules\QT.SystemsINF.Core\QT.SystemsINF.Core.psm1' was not
loaded because no valid module file was found in any module directory.
At C:\Users\dchance\ShareFile\Personal Folders\Documents\WindowsPowerShell\profile.ps1:11 char:1

@dnchance It looks like an import that was specified in your powershell profile failed.

@sfoslund
Copy link
Member

sfoslund commented Oct 1, 2020

This looks like a duplicate of #121, which will be fixed with the next release. Please feel free to reopen this issue if it still repros after that, thanks!

@sfoslund sfoslund closed this as completed Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working install scripts
Projects
None yet
Development

No branches or pull requests

3 participants