-
Notifications
You must be signed in to change notification settings - Fork 498
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
The Language Service could not be started. #1360
Comments
Thanks for this. Can you attach the logs so we can help further? In your case, please set the log level to |
1528734640-e5c19306-07b0-4eb7-954a-fdf2563bffaf1528734636488.zip Oddly enough, It's set to diagnostic, but it's still pumping out the exact same information. I thought there would be more. I DO get this when I try to open a ps1 file in the terminal section:
But that Editor Services log file doesn't even exist! |
Do you have any sort of restrictions on your PC, @RumRogerz? I want to rule out the possibility of the vscode extension not being able to create the session file because of permissions. |
Great question, but no. I am the commander and ruler of all the things on my pc. |
@Wand3rvogel can you explain with some detail on how you called this function? |
Looks like here: vscode-powershell/src/utils.ts Line 89 in 9b511a5
|
Ah so you're saying we should up the timeout... I think that's probably reasonable to set it to 120 seconds. Thought? |
well, it couldn’t hurt. Ima try this out and report back |
This isn't necessarily a good suggestion, but... we could always make it a user-configurable extension setting... |
@RumRogerz Did you get any results playing with the timeout value? In any case, we might just up the default timeout value. |
@rjmholt You can consider this ticket closed |
Ah cool! We should probably keep this open until we merge a PR to fix it somehow. |
I experienced the same symptoms after updating VS Code (1.25.1) and PowerShell extension (1.8.2). Discovered that To remedy this I performed the following:
|
@fatherofinvention I was having the same problem and imported the certificate just like you suggested and problem solved. 😄 I also noticed a Microsoft code signing certificate that expires 08/11/2018. I wonder if that has any bearing on the problem. |
Hey @gwojan (fellow Michigander!), I'm glad it helped you out. For anyone else reading, I've also seen this happen due to group policy enforced execution policy. Disabling the group policy object enforcing AllSigned or moving to another OG outside of the scope of that particular policy can resolve it but you may still need to complete the steps above to make sure the certificate is imported into the Trusted Publishers cert store. |
I think I should also point out that the certificate from that ps1 file in question expired on the 11th of this month (August) |
Thanks for the info everyone! I'm working on fixing this this week |
As noted by @fatherofinvention, execution policy can block the extension from running. The easiest way to fix this is captured in the documentation here |
This is all of the sudden started happening. It was fine a few days ago and then,this :(
I've uninstalled VsCode, uninstalled the powershell add-in..... several times.
thats my PS version I'm running. The only thing of late that has changed on my PC is an update to Windows 1803. Although I was using VSCode just fine after the update. Maybe there is some sort of weird connection to this?
The text was updated successfully, but these errors were encountered: