-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Vim Extension Fails to Load on Extension Update #40260
Comments
Another one: VSCodeVim/Vim#2231 |
Oops, meant to just comment. |
You can also uninstall and then reinstall the extension via the command |
Optimally, users shouldn't need to do that. |
We pushed an update to the extension and got more reports of the upgrade breaking: #2287. Reinstalling the extension resolves the issue. Is this just effecting VSCodeVim? Or are other extensions having issues when users are updating? |
@jpoon Can you please give us more specific details about what is not working? And also are there any consistent steps to reproduce this which will be helpful? |
@sandy081 Whenever we push an update to vscodevim, we often get issues stating that the new extension fails to load. We've seen this issue since likely the beginning of extension, but I've linked a few of the issues of people having failed to upgrade from 0.10.4->0.10.5, 0.10.5->0.10.6, 0.10.8->0.10.9, 0.10.9->0.10.10. The general symptom is the extension fails to load. The call stack in here: VSCodeVim/Vim#2185, might be helpful. |
@jpoon From the stack trace it looks like the extension was not completely downloaded. Can you please ask users if this is the case? |
After investigating more, I figured out that root cause is Auto update feature triggers updating the extension from all open windows and we try to install (download, delete existing and extract) the extension multiple times. This can lead to different failures like
|
* master: (280 commits) fix issue with useAltAsMultiSelectModifier Log ripgrep cmd from quickopen to logservice Switch search output panel to logservice Use absolute paths for webview core resources Explicitly hide TS version status when in ts/js file with unknown scheme First attempt of search caching. Pick up latest TS insiders 2018-01-19. Merged in translations from Transifex. Avoid double-counting same settings search query Use latest emmet helper that has fixes microsoft#33818 Remove settings search @groupId filters - since group ids can now be extension guids, and nobody uses this anyway backups - make sure to use "utf8" as encoding and not "utf-8" Catch any errors that onLineData users throw use uuid as extensions configuration id fix format on save problem that occurs when a provider returns no edits fix microsoft#41724 Fix microsoft#41868 some menu polish for issue reporter Fix microsoft#40260 Simplify edits handling in TextModelTokens ...
Validated by:
|
We received a couple more reports of this happening for users updating to the latest version of VSCodeVim. The theme so far has been users have been all on Windows -- linked two issues above. |
@sandy081 another reported case, also on windows: VSCodeVim/Vim#2420 |
Everytime we [VSCodeVim] push an update, we always seem to see cases where the extension fails to load. The recommendation I've been giving folks is to delete ~/.vscode/extensions/vscodevim and reinstall.
Reference: VSCodeVim/Vim#2226, VSCodeVim/Vim#2227, VSCodeVim/Vim#2185
The text was updated successfully, but these errors were encountered: