VSCodeVim / VSCodeVim/Vim

Error while installing 'Vim' extension (VSCodium) Corrupt ZIP: end of central directory record signature not found

Open
#6,506 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/bug upstream/vscode
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Describe the bug
I cannot install the Vim extension through VS Marketplace. I get the error

Corrupt ZIP: end of central directory record signature not found. See below for the complete error log

The manual installation of vscodevim.vim-1.19.3.vsix as suggested by a VSCodium Popup works.

Error Log

[2021-04-20 08:11:09.702] [renderer1] [error] Cannot read property 'resource' of undefined: TypeError: Cannot read property 'resource' of undefined
	at c.deserializeWebviewPanel (/usr/share/codium/resources/app/extensions/markdown-language-features/dist/extension.js:1:107414)
	at o.$deserializeWebviewPanel (/usr/share/codium/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:87:65833)
	at c._doInvokeHandler (/usr/share/codium/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:90:12794)
	at c._invokeHandler (/usr/share/codium/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:90:12478)
	at c._receiveRequest (/usr/share/codium/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:90:11145)
	at c._receiveOneMessage (/usr/share/codium/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:90:9931)
	at /usr/share/codium/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:90:8032
	at _.fire (/usr/share/codium/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:57:1836)
	at E.fire (/usr/share/codium/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:65:15496)
	at /usr/share/codium/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:105:30083
	at _.fire (/usr/share/codium/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:57:1836)
	at E.fire (/usr/share/codium/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:65:15496)
	at t._receiveMessage (/usr/share/codium/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:65:20754)
	at /usr/share/codium/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:65:17640
	at _.fire (/usr/share/codium/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:57:1836)
	at acceptChunk (/usr/share/codium/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:65:12861)
	at /usr/share/codium/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:65:12209
	at Socket.w (/usr/share/codium/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:105:13173)
	at Socket.emit (events.js:315:20)
	at addChunk (_stream_readable.js:295:12)
	at readableAddChunk (_stream_readable.js:271:9)
	at Socket.Readable.push (_stream_readable.js:212:10)
	at Pipe.onStreamRead (internal/stream_base_commons.js:186:23)
[2021-04-20 08:12:47.390] [renderer1] [error] ["validating: Corrupt ZIP: end of central directory record signature not found","    at H.downloadInstallableExtension (file:///usr/share/codium/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:47:217827)","    at async H.doInstallFromGallery (file:///usr/share/codium/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:47:214968)"]
[2021-04-20 08:12:47.391] [renderer1] [error] Corrupt ZIP: end of central directory record signature not found: validating: Corrupt ZIP: end of central directory record signature not found
    at H.downloadInstallableExtension (file:///usr/share/codium/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:47:217827)
    at async H.doInstallFromGallery (file:///usr/share/codium/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:47:214968)

Environment (please complete the following information):

VSCodium: 1.55.2
OS: Ubuntu Linux (20.10)

image

vscodevim v1.19.3 or v1.20.0? Screenshot contains both versions
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing installation of vscodevim.vim-1.19.3 or 1.20.0 through the VS Marketplace on VSCodium 1.55.2 and compare it with the successful manual installation. Inspect the download and validation path referenced in sharedProcessMain.js, along with the logged extension.js error, and determine whether installation completes without the corrupt ZIP error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.