The Jupyter extension for VS Code wants to update but fails to do so. I am not sure which version of the extension I had installed before I uninstalled it and then tried to reinstall (read below). I don’t have this issue with any other extension, which means I can install other extensions from the GUI within VSCodium without issues. I am using VSCodium (version 1.88.1, snap) on Ubuntu 22.04 LTS.
Jupyter Extension wants to update
When I click the “Update to v…” button, I get the following error:
[error] Invalid comment length. Expected: 63. Found: 0. Are there extra bytes at the end of the file? Or is the end of central dir signature `PK☺☻` in the comment?: Extract: Invalid comment length. Expected: 63. Found: 0. Are there extra bytes at the end of the file? Or is the end of central dir signature `PK☺☻` in the comment?
at z.extractUserExtension (/snap/codium/388/usr/share/codium/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:104:137968)
at async ie.extractExtension (/snap/codium/388/usr/share/codium/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:104:146548)
at async ie.downloadAndInstallExtension (/snap/codium/388/usr/share/codium/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:104:149661)
at async ie.install (/snap/codium/388/usr/share/codium/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:104:148742)
at async ie.doRun (/snap/codium/388/usr/share/codium/resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:104:145848)
I tried uninstalling the extension and reinstalling.
- from the VSCodium GUI (whereas the extension version would be 2024.5.0)
- from terminal by downloading the
.vsix
file from the marketplace first and then runningcodium --install-extension ms-toolsai.jupyter-2024.5.0.vsix
and after failing i triedcodium --install-extension ms-toolsai.jupyter-2024.3.1.vsix
Both methods returned the same error message. I then tried to download the 2023.9.100 version and install this one and it worked.
Comparing the .vsix
files, I noticed that the 2023.9.100 version was an archive while the two newer versions were just text files.
2023.9.100 vsix-file is an archive
2024.5.0 and 2024.3.1 vsix-files are text files with weird symbols
babajabba is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.