Failure to install the extensions from a file in an offline environment
See original GitHub issueThe recent versions of this extension cannot be installed in an offline environment.
That is because during install the extensions tries to access some remote urls (on vscodeexperments.azureedge.net, dc.services.visualstudio.com, maybe others) and fail to install if these domains are unreachable.
Notes:
- Maybe an offline version is needed (like in vscode-cpptools)?
- Possibly related: #5582 (If this issue won’t be fixed, fixing #5582 wont help the issue opener use case)
Environment data
- VS Code version: 1.56.2
- Jupyter Extension version (available under the Extensions sidebar): 2021.6.870847776
- Python Extension version (available under the Extensions sidebar): 2021.5.842923320
- OS (Windows | Mac | Linux distro) and version: Windows and Linux
- Python and/or Anaconda version: 3.8
- Type of virtual environment used: N/A
- Jupyter server running: N/A
- System has no direct internet connection or with very limited internet accesss
Expected behaviour
The extension should be installable.
Actual behaviour
Recent version(s) of the extension cannot be installed in an environment as described above.
Steps to reproduce:
- Download of the extension visx file from the extension page
- Turn off your wifi (airplane mode etc.).
- Try to install the extension from the downloaded visx
- An error is shown stating that the extension is not compatible
Logs
In the Log (Window) panel:
... [renderer5] [error] Unable to install extension 'ms-toolsai.jupyter' as it is not compatible with VS Code '1.56.2'.: Error: Unable to install extension 'ms-toolsai.jupyter' as it is not compatible with VS Code '1.56.2'.
at file:///usr/share/code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:47:211002
.... [renderer5] [error] net::ERR_INTERNET_DISCONNECTED: Error: net::ERR_INTERNET_DISCONNECTED
at SimpleURLLoaderWrapper.<anonymous> (electron/js2c/browser_init.js:109:7029)
at SimpleURLLoaderWrapper.emit (events.js:315:20)
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How do I install specific extension on (disconnected or offline ...
Extract the content of the CRX file with 7-zip and load it through "Load Unpacked Button" on the chrome://extensions/ page (Don't forget to ......
Read more >Offline installation of extensions fail with unmeaningful error ...
I believe VS Code 1.59 introduced a bug that breaks installing extensions from the .vsix files while offline when the extension has dependencies ......
Read more >Offline installation with VSIX Installer fails
Hello, We've discovered it's not possible to install an extension offline due to the checking of the certificate revocation list.
Read more >How to install Software Extensions in an offline environment
Use the browse button to open a dialog to search for the location of the unzipped offline installation package folder. After that, you...
Read more >To install the extension on a system not connected to the Internet
On a system that is connected to the Net, navigate to https://marketplace.visualstudio.com/items?itemName=SynopsysCodeSight.vscode-codesight, and download the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The reason the latest VSIXes from the Marketplace page aren’t working is because we publish VS Code Insiders-compatible builds to the Marketplace feed as well, so they show up on top. You can download the latest stable-compatible Jupyter extension build from https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-toolsai/vsextensions/jupyter/2021.6.832593372/vspackage while we work on a more comprehensive solution.
** Thank you this worked for me.