-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
Failed to update some extensions #48373
Comments
Also, tried to install some new extensions from the recommended list, e.g., TSLint (eg2/tslint), and it fails as well, with the same error: Failed to install 'eg2.tslint'. And the similar errors in the log: Error: Incomplete. Extracted 2001 of 2002 entries. So, basically, no extensions can be installed or updated at this moment for me :( |
@vvs Thanks for reporting. We introduced this check to detect incomplete installs. Looks like while unzipping the vsix, always one entry is missing for you. Can you try installing some themes extensions? Will add some logs today and you can try tomorrow so that we can see what is missing. Thanks. |
Same error for me, incomplete with one entry. Currently two extensions have pending updates for me: Tried installing a theme, but same issue. On latest insider, Windows 8.1. |
Thanks for updating. Will add logs and let you know. |
It's possible that some kind of a race condition is in play as it's seems to be randomly working. |
@tlgreg I do not think there is any such race condition to happen. Can you please update to today's insiders and set VS Code log level to Thanks |
I've set the log level to Debug (and then to Trace), but I haven't seen any extra output in the devtools. I am using the latest insiders build from today. |
But I can confirm what @tlgreg said, after some tries some of the extensions do install. |
@vvs You should be able to find the log in output > Log (shared) The current extension that failed to update is a bit bigger ( |
@tlgreg Thanks for the information. Is it possible to share the log? Since you were able to reproduce it with theme extensions (which are smaller), can you please try to reproduce with it and check the logs? |
Ah, indeed, thanks @tlgreg, now I can see the output, which is just a huge list of files. I also don't see extension.vsixmanifest in the log. The weird thing is that the installation problems are indeed not deterministic. Yesterday I tried to install tslint and jshint extensions, one was OK to install, another one was not OK. Today I tried, and I see the opposite results, the one that was not working yesterday can now be happily installed, and vise versa... Weird. |
Here's my debug output when trying to install a very small
|
Some more info, since I really liked that disable ligatures extensions and really wanted to install it, I clicked install 10-15 times quickly, and it have eventually installed :) |
The log:
Yeah, lots of extensions. :) The missing file is consistently |
NOTE: Disable auto update of insiders (before installing above build. Set |
Yes, I am on Windows 10 x64. Here's the new log:
|
And here's the log of TWO consecutive attempts to install the same extension. The first attempt fails, the second succeeds. The difference is related to
|
@vvs Thanks a lot for sharing them. I can confirm that the we are missing the first event the unzip library is firing while extracting the entries. I am preparing another build by changing the way we open the zip. I will let you know once the build is available. |
@vvs Here is the new build, please try out and let me know if you can install successfully. Thanks in advance. |
@sandy081, it looks like it worked for me. I'd been experiencing the exact same issue, too. Thanks for the build! |
@sandy081 This build works like a charm. Thanks for your work on the issue! |
Thanks for confirming. Very much appreciated with the support. Pushed the fix and will be available in tomorrow's insiders. Please update to insiders tomorrow and confirm. Thanks. |
@tlgreg @cwadrupldijjit @vvs Please verify that you do not have this issue with new insiders. General verification:
|
Installed a few extensions and works well, no issues, no errors in the log. |
@sandy081 Thank you very much for your efforts and quick resolution of this annoying bug. I can confirm that the latest insiders build works fine for me. Thanks!! |
Issue Type: Bug
Currently, I have the two extensions showing that they have updates (gitlens and bookmarks) . When I click update for those extensions, both show the error dialog: Failed to update 'eamodio.gitlens' and Failed to update "alefragnani.bookmarks".
The download manually button allows to download the vsix files, but they are not helping and are not updating the extenions either.
Looking at the devtools log, I see the following:
and
VS Code version: Code - Insiders 1.23.0-insider (c1cd437, 2018-04-20T05:17:25.189Z)
OS version: Windows_NT x64 10.0.16299
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Extensions (14)
(2 theme extensions excluded)
The text was updated successfully, but these errors were encountered: