You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing issue with code-server (latest version, 3.8.0, inside Docker container).
After installing 'Python' extension I can't use it because of some dependencies.
Errors in the console:
"Activating extension 'ms-toolsai.jupyter' failed: Cannot find module '/home/coder/.local/share/code-server/extensions/ms-toolsai.jupyter-2020.12.1/out/client/extension'
Require stack:
- /usr/lib/code-server/lib/vscode/out/vs/loader.js
- /usr/lib/code-server/lib/vscode/out/bootstrap-amd.js
- /usr/lib/code-server/lib/vscode/out/bootstrap-fork.js."
"Cannot activate extension 'Python' because it depends on extension 'ms-toolsai.jupyter', which failed to activate."
I would be thankful if you will provide me with some workaround.
Can confirm, exact same error on the front end. I am on an EC2 Amazon Linux 2 VM.
There is no /home/coder/.local/share/code-server/extensions/ms-toolsai.jupyter-2020.12.1/client directory at all.
I am using an SSH tunnel to access code-server.
I have also tried with an HTTPS server.
I see this on the client output when I click on the Python extension in the extensions tab: Blocked script execution in 'https://dev.spurious.ninja/webview/fake.html?id=extensionEditor' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.
This might be #2341, I'll look into it a bit and report back.
Installing 2020.10.332292344 from the Manage menu on the extension fixed this for me. Thanks! Similar workaround to #2341, but can just do it straight from the UI.
Hooray! Sorry you had to use a workaround. We're close to switching over to a new extension marketplace which I hope helps with issues like these. Closing for now. Feel free to subscribe to the other issue so you get notified when a formal fix happens!
This might be #2341, I'll look into it a bit and report back.
Installing 2020.10.332292344 from the Manage menu on the extension fixed this for me. Thanks! Similar workaround to #2341, but can just do it straight from the UI.
Can you confirm what that is? Version of what? Extension? code-server?
This might be #2341, I'll look into it a bit and report back.
Installing 2020.10.332292344 from the Manage menu on the extension fixed this for me. Thanks! Similar workaround to #2341, but can just do it straight from the UI.
Can you confirm what that is? Version of what? Extension? code-server?
The extension. I also had to turn off automatic updates for it.
This might be #2341, I'll look into it a bit and report back.
Installing 2020.10.332292344 from the Manage menu on the extension fixed this for me. Thanks! Similar workaround to #2341, but can just do it straight from the UI.
I had the same issue this morning (everything worked fine until an update). I tried all recent versions of Python's extension and only this one worked. Is there an actual fix for this issue (rather than using an 8-month old version and disabling further updates)?
Activity
jsjoeio commentedon Feb 5, 2021
Hi @konradzadroga - sorry to hear you'rve having issues with the Python extension!
Do you mind seeing if this issue has already been opened? Possible duplicates:
stefanba3 commentedon Feb 9, 2021
Can confirm, exact same error on the front end. I am on an EC2 Amazon Linux 2 VM.
There is no /home/coder/.local/share/code-server/extensions/ms-toolsai.jupyter-2020.12.1/client directory at all.
I am using an SSH tunnel to access code-server.
I have also tried with an HTTPS server.
I see this on the client output when I click on the Python extension in the extensions tab:
Blocked script execution in 'https://dev.spurious.ninja/webview/fake.html?id=extensionEditor' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.jsjoeio commentedon Feb 9, 2021
Thanks for the additional information!
So this issue is a duplicate then? If so, we're going to close this issue. That will make it easier for us to track and fix this.
Looks like you may want to look at this workaround
stefanba3 commentedon Feb 10, 2021
This might be #2341, I'll look into it a bit and report back.
stefanba3 commentedon Feb 10, 2021
Installing 2020.10.332292344 from the Manage menu on the extension fixed this for me. Thanks! Similar workaround to #2341, but can just do it straight from the UI.
jsjoeio commentedon Feb 10, 2021
Hooray! Sorry you had to use a workaround. We're close to switching over to a new extension marketplace which I hope helps with issues like these. Closing for now. Feel free to subscribe to the other issue so you get notified when a formal fix happens!
ediphy-dcottrell commentedon Mar 25, 2021
Can you confirm what that is? Version of what? Extension? code-server?
stefanba3 commentedon Mar 25, 2021
The extension. I also had to turn off automatic updates for it.
keurfonluu commentedon May 11, 2021
I had the same issue this morning (everything worked fine until an update). I tried all recent versions of Python's extension and only this one worked. Is there an actual fix for this issue (rather than using an 8-month old version and disabling further updates)?
jsjoeio commentedon May 11, 2021
I just installed the latest version v2021.5.829140558 with code-server 3.10.0 and it appears to be working.
@keurfonluu
If you think you've found a bug, please open a separate bug report and we'll be happy to look into it.
Screen.Recording.2021-05-11.at.11.43.53.AM.mov