-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Inform user to restart VS Code after it has been updated on Linux #5908
Comments
Never seen this error before. Almost seems to me the spawning via Electron just fails with this error. |
Ok. i have last question. How can i fix that problem ? when i open Visual Studio i see this problem and i cant edit any code. Right now i just open and close visual studio few times and problem solved but its |
does it reproduce with our latest insider build? |
I am seeing this after updating to 1.1 Edit: It went away after closing everything and launching again. |
Can confirm I had the same issue It went away when I killed any already running processes. Probably should force a killall when a user restarts from an update. |
same here, ubuntu 16.04 |
+1, same issue. just updated the vscode |
Same here, just updated Ubuntu 14.04 to the June release. Went away after full close and reopen. |
Got the same error today after upgrading from 1.3 to 1.3.1 and opening a new window. Ubuntu 14.04 |
same here.
|
+1
I am on 1.5.1 using Ubuntu 16.04 |
I solved the problem by re-installing vscode completely. |
The fix would be for the installer to do a By all means, respawn code after installing but that would fix the issue. |
I got this error on code 1.5.2 after installing extensions Ruby 0.5.6 and Ruby Language Colorization 0.0.6. My OS is Ubuntu 16.04. |
Moving to @Tyriar based on the last comments that this could be a problem with the update from a package. Could it be the update leaves the old running instance around including the extension host and thus the new instance fails to create it? |
If anyone reproduces this again can you check which processes are still running after you exit VS Code? ps aux | grep code |
OK never mind, I just reproduced this:
These are my repro steps:
I fixed the issue by simply exiting and reopening vscode. This is as designed, you must exit VS Code after updating or you will get a mish-mash of the current and old version which is not designed to work. Possible improvement that could be made:
|
Error occurs when you have VSCode open whilst installing an update. Simply close all VSCode windows and open them again. |
Accepting PRs for this, to fix this I think you'll need to search for where the exception is happening in the code base (somewhere related to reloading the window?) and handle |
The snap package would handle this when the snap is updated: #5458 |
Some solutions/problems discussed in #45569 |
I don't think this is a problem anymore. |
Steps to Reproduce:
i dont see any color on my codes and i see this warning : http://i.hizliresim.com/o31jQ2.png
http://i.hizliresim.com/o31jQ2.png
Edit from @Tyriar:
See #5908 (comment) for more details, this is the error:
The text was updated successfully, but these errors were encountered: