You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
Summary
I believe this may be similar to #2491. I was connected to a samba share and working on some various files. I closed my Macbook and a couple days later came back to do some other work. The samba share was no longer available at this time. The Powershell extension failed to load and gave the message "timed out waiting for session file to appear". Per #2417 I tried to run:
It got partway through but then hung at "Starting server, deregistering host logger and registering shutdown listener"
I couldn't Ctrl+C the process or anything, had to use another term tab to killall -9 pwsh. More searching led me to #2491. Someone there mentioned something about maybe number of files in the workspace, which reminded me that I had also gotten an error about the samba mount being unavailable. I closed the workspace entirely, then closed and reopened Code again and Powershell's lang server loaded without issue.
Obviously this is a super minor edge case but I wanted to mention it just in case there was some error checking that could be added. I'm not entirely sure why this fixed it but it did! I wouldn't think the lang server would care about workspaces or files generally when initializing the lang server but apparently it does!
Please let me know if I can provide any additional info. Obviously I'm fine now but I just want to help where I can :)
PowerShell Version
PS /Users/luna> $PSVersionTableName Value---- -----PSVersion 7.1.3PSEdition CoreGitCommitId 7.1.3OS Darwin 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:33 PDT 2021; root:xnu-7195.121.3~9/RELEASE_X86_64Platform UnixPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}PSRemotingProtocolVersion 2.3SerializationVersion 1.1.0.1WSManStackVersion 3.0PS /Users/luna>
Hey, thanks for the info, but unfortunately this seems like it'll be nigh-impossible to reproduce adequately enough to fix, and as you said, it's quite the edge case. I'm going to mark this as resolved (won't fix) if you don't mind. The "numerous files in workspace" issue #3307 is still open and pending investigation, which if solved would potentially solve this issue too.
Prerequisites
Summary
I believe this may be similar to #2491. I was connected to a samba share and working on some various files. I closed my Macbook and a couple days later came back to do some other work. The samba share was no longer available at this time. The Powershell extension failed to load and gave the message "timed out waiting for session file to appear". Per #2417 I tried to run:
It got partway through but then hung at "Starting server, deregistering host logger and registering shutdown listener"
I couldn't Ctrl+C the process or anything, had to use another term tab to
killall -9 pwsh
. More searching led me to #2491. Someone there mentioned something about maybe number of files in the workspace, which reminded me that I had also gotten an error about the samba mount being unavailable. I closed the workspace entirely, then closed and reopened Code again and Powershell's lang server loaded without issue.Obviously this is a super minor edge case but I wanted to mention it just in case there was some error checking that could be added. I'm not entirely sure why this fixed it but it did! I wouldn't think the lang server would care about workspaces or files generally when initializing the lang server but apparently it does!
Please let me know if I can provide any additional info. Obviously I'm fine now but I just want to help where I can :)
PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: