Open benz0li opened 2 hours ago
Installing extensions using the GUI seem to work fine at user level (user: jovyan
):
Start container:
docker run --rm -ti \
-p 8888:8888 \
-e GEN_CERT=yes \
-ti glcr.b-data.ch/jupyterlab/python/base:3.12.7-code-server-4.94.2-rc.1-linux-amd64
Open https://127.0.0.1:8888/lab?token=... in a browser
Click code-server
to start the application
Install Python extension using the GUI
[06:09:30] Getting Manifest... ms-python.python
[06:09:31] Installing extension: ms-python.python {
isMachineScoped: false,
installPreReleaseVersion: false,
pinned: false,
installOnlyNewlyAddedFromExtensionPack: true,
isApplicationScoped: false,
profileLocation: un {
scheme: 'file',
authority: '',
path: '/home/jovyan/.local/share/code-server/extensions/extensions.json',
query: '',
fragment: '',
_formatted: 'file:///home/jovyan/.local/share/code-server/extensions/extensions.json',
_fsPath: '/home/jovyan/.local/share/code-server/extensions/extensions.json'
},
productVersion: { version: '1.94.2', date: '2024-10-18T04:36:19.894Z' }
}
[06:09:31] Getting Manifest... ms-python.debugpy
[06:09:31] Installing extension: ms-python.debugpy {
isMachineScoped: false,
installPreReleaseVersion: false,
pinned: false,
installOnlyNewlyAddedFromExtensionPack: true,
isApplicationScoped: false,
profileLocation: un {
scheme: 'file',
authority: '',
path: '/home/jovyan/.local/share/code-server/extensions/extensions.json',
query: '',
fragment: '',
_formatted: 'file:///home/jovyan/.local/share/code-server/extensions/extensions.json',
_fsPath: '/home/jovyan/.local/share/code-server/extensions/extensions.json'
},
productVersion: { version: '1.94.2', date: '2024-10-18T04:36:19.894Z' },
context: { dependecyOrPackExtensionInstall: true }
}
[06:09:33] Could not load vsce-sign module Cannot find package '@vscode/vsce-sign' imported from /opt/code-server/lib/vscode/out/vs/server/node/server.main.js
[06:09:33] Extension signature verification is not done: ms-python.debugpy
[06:09:33] Could not load vsce-sign module Cannot find package '@vscode/vsce-sign' imported from /opt/code-server/lib/vscode/out/vs/server/node/server.main.js
[06:09:33] Extension signature verification is not done: ms-python.python
[06:09:33] Extracted extension to file:///home/jovyan/.local/share/code-server/extensions/ms-python.debugpy-2024.12.0-linux-x64: ms-python.debugpy
[06:09:33] Renamed to /home/jovyan/.local/share/code-server/extensions/ms-python.debugpy-2024.12.0-linux-x64
[06:09:34] Extracted extension to file:///home/jovyan/.local/share/code-server/extensions/ms-python.python-2024.16.1-universal: ms-python.python
[06:09:34] Renamed to /home/jovyan/.local/share/code-server/extensions/ms-python.python-2024.16.1-universal
[06:09:34] Extension installed successfully: ms-python.debugpy file:///home/jovyan/.local/share/code-server/extensions/extensions.json
[06:09:34] Extension installed successfully: ms-python.python file:///home/jovyan/.local/share/code-server/extensions/extensions.json
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.94.2-rc.1 dd2e9fce277ff4f8699d9b4d9b41526943385e17 with Code 1.94.2Steps to Reproduce
Start container:
Install extension:
Expected
Actual
Logs
See above.
Screenshot/Video
-
Does this bug reproduce in native VS Code?
This cannot be tested in native VS Code
Does this bug reproduce in GitHub Codespaces?
This cannot be tested in GitHub Codespaces
Are you accessing code-server over a secure context?
Notes
It seems to work at user level (user:
root
) by executingcode-server --install-extension ms-python.python
, butls -al ~/.local/share/code-server/extensions
revealswhich does not look fine.
FYI @code-asher