-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uv_pipe_open error when starting code-insiders from WSL microsoft/vsc…
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
945d678
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where can I find this file on a Windows system? I want to determine whether or not it has been incorporated into the Insiders build as I'm still getting the error with the latest update to Insiders.
945d678
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no build yet with the fix as we had to hold back todays insider build due to some other issues.
945d678
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To get the file path do
which code-insiders
in a WSL shell.945d678
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK - thank you.
I tried that but I cannot find
code.sh
anywhere within the installation location ofcode-insiders
. It isn't particularly important/urgent - more a "nice to know" :)945d678
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is
code.sh
in the source repo ends up ascode-insiders
in the built product.945d678
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah! 💡
Thank you for that!
945d678
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aeschli I've definitely got this version of the script on my computer and I'm still getting the uv_pipe_open error.
945d678
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right there are still some issues. For me it always works when there's no VSCode windows open. If there is already a window open, it sometimes fails, but not always. I'm not able to always repro the failure.
Does it always fail for you?
Maybe it's caused when the Electron process also writes to stderr.
Can you add
2>/dev/null
to line 37?ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --locate-extension $WSL_EXT_ID >/tmp/remote-wsl-loc.txt 2>/dev/null
945d678
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
Done. That certainly hides the output :)
945d678
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And is the window that opens a Remote-WSL window (statusbar lower left shows WSL: Ubuntu)?