-
Notifications
You must be signed in to change notification settings - Fork 513
Preview 2019.12.00 crashes at startup with "Invalid URI: The hostname could not be parsed." #2373
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
Comments
The stable 2019.12.00 extension also crashes. Diagnostic logs: 1576657663-fa20ebda-3a8f-4dec-a30f-3b8c09c9f5661576657576950.zip |
Found the cause.. Thought "powershell.powerShellDefaultVersion" should match the "versionName" of one of the "powershell.powerShellAdditionalExePaths", But no. Better error messages or smarter logic around handling the "powershell.powerShellDefaultVersion" setting would be highly appreciated. Fixed:
|
Nope, that did not fixed it. If opening a Visual Studio Code windows with three PS1 files open, it always crashes. If opening a empty VSCode window, the extension loads successfully. |
Got it working now, with:
Not a pleasent experience wasting 50 minutes of my work day troubleshooting this bisarre issue. I hope default shell can be handled smoother in feature versions. |
Now it started crashing again. Didn't touch anything. 1576659301-ab90fdf1-2019-43f1-8c7e-0fd773c463971576659162452.zip |
This is a dupe of #2324 because your path contains a non-ASCII character. This is my top priority right now but please be aware that the holidays are approaching so progress will be delayed. |
This issue has been marked as duplicate and has not had any activity for 1 day. It has been closed for housekeeping purposes. |
Issue Description
PowerShell Extension just crashes at startup with following error:
Happens no matter what PowerShell version is configured as default, tried with both 6.2.3 and 7rc1.
Error message from terminal (with diagnostic logging enabled)
Settings
Attached Logs
1576657005-5b389b1d-fcff-486f-8429-b659b95083701576656134103.zip
Environment Information
Visual Studio Code
PowerShell Information
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
The text was updated successfully, but these errors were encountered: