VSCodium中Jupyter扩展更新及安装失败问题求助
VSCodium安装Jupyter扩展更新失败问题
环境信息
- 系统:Ubuntu 22.04 LTS
- VSCodium版本:1.88.1(通过snap安装)
- 异常扩展:Jupyter扩展(目标版本2024.5.0),其余扩展均可通过VSCodium GUI正常安装
错误现象
点击「更新至v...」按钮时,弹出如下错误:
[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)
尝试的操作及结果
- 通过VSCodium GUI安装2024.5.0版本:失败,返回上述错误
- 手动下载2024.5.0版本的.vsix文件,执行终端命令
codium --install-extension ms-toolsai.jupyter-2024.5.0.vsix:失败,错误信息一致,仅「Expected:」后数值为63 - 尝试安装2024.3.1版本:失败,错误信息类似,「Expected:」后数值为65
- 安装2023.9.100版本:成功
文件差异对比
- 2023.9.100版本的.vsix文件为正常归档文件
- 2024.3.1和2024.5.0版本的.vsix文件显示为带有奇怪符号的文本文件
内容的提问来源于stack exchange,提问作者babajabba
相关产品推荐
相关产品推荐

