-
Notifications
You must be signed in to change notification settings - Fork 39
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
Issues With Installation of Win-CA Extension #53
Comments
@mavsravikiran I would recommend a bit of patience. I'm sure that those familiar with the issue will reply once they're able |
The issue appears to be that the VSIX file you downloaded is not a valid ZIP file. I would investigate whether this is true by attempting to open the downloaded VSIX using an archiving application like 7-Zip and check if it has the expected structure.
|
vsix link need to be grabbed with
while |
Thanks @benoitf / @mavaddat / @stevenaw 👍 for the quick response
- name: Windows - Download win-ca extension using url
get_url:
url: "https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ukoloff/vsextensions/win-ca/3.1.0/vspackage"
dest: "/mnt/c/temp/ukoloff.win-ca-3.1.0.vsix"
force: false
mode: "0440"
when: "'ukoloff.win-ca' not in result.stdout_lines"
- name: Windows - Install extension in download folder C:\Users\userid\Downloads\ukoloff.win-ca-3.5.1.vsix
command: "{{ powershell_path }} 'code --install-extension C:\\Temp\\ukoloff.win-ca-3.1.0.vsix'"
a [Error]: Corrupt ZIP: end of central directory record signature not found
at E (C:\Program Files\Microsoft VS Code\resources\app\out\vs\code\node\cliProcessMain.js:18:13335)
at C:\Program Files\Microsoft VS Code\resources\app\out\vs\code\node\cliProcessMain.js:18:14772
at C:\Program Files\Microsoft VS Code\resources\app\node_modules.asar\yauzl\index.js:37:7
at C:\Program Files\Microsoft VS Code\resources\app\node_modules.asar\yauzl\index.js:187:5
at C:\Program Files\Microsoft VS Code\resources\app\node_modules.asar\yauzl\index.js:631:5
at C:\Program Files\Microsoft VS Code\resources\app\node_modules.asar\fd-slicer\index.js:32:7
at FSReqCallback.wrapper [as oncomplete] (node:fs:686:5) {
type: 'CorruptZip',
cause: Error: end of central directory record signature not found
at C:\Program Files\Microsoft VS Code\resources\app\node_modules.asar\yauzl\index.js:187:14
at C:\Program Files\Microsoft VS Code\resources\app\node_modules.asar\yauzl\index.js:631:5
at C:\Program Files\Microsoft VS Code\resources\app\node_modules.asar\fd-slicer\index.js:32:7
at FSReqCallback.wrapper [as oncomplete] (node:fs:686:5)
}
Failed Installing Extensions: file:///c%3A/Temp/ukoloff.win-ca-3.1.0.vsix
|
I can suggest some Ansible-specific debugging techniques that might help in this situation:
Remember, the error message indicates that the downloaded VSIX file is not a valid ZIP file. So the issue might be with the file being downloaded, rather than Ansible itself. It's possible that the URL is incorrect, the file at the URL is not a valid VSIX file, or there's an issue with the network connection causing the file to be downloaded incompletely or incorrectly. These are all things you can check and test independently of Ansible. |
Thanks @mavaddat for the quick response and your solution has helped me, it was worked successfully 💯 |
Summary
win-ca
for visual studio code and refer url (https://marketplace.visualstudio.com/items?itemName=ukoloff.win-ca&ssr=false#overview)Issues Facing While Installation of Extension
win-ca.vsix
file from the below urls to my local project- https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ukoloff/vsextensions/win-ca/3.1.0/vspackage - https://marketplace.visualstudio.com/items?itemName=ukoloff.win-ca - https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ukoloff/vsextensions/win-ca/latest/vspackage
https://code.visualstudio.com/docs/editor/extension-marketplace#_install-from-a-vsix
and used the below command3.5.1
,3.5.0
,3.4.5
,3.3.0
,3.1.0
using the above command still facing below issuecode --install-extension ukoloff.win-ca
and facing the below error message@ukoloff / @benoitf / @mavaddat / @stevenaw / @addaleax - Need help/solution with a fix is much appreciated 👍
The text was updated successfully, but these errors were encountered: