question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failure to install the extensions from a file in an offline environment

See original GitHub issue

The 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:

  1. Download of the extension visx file from the extension page
  2. Turn off your wifi (airplane mode etc.).
  3. Try to install the extension from the downloaded visx
  4. 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:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
joyceerhlcommented, May 31, 2021

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.

0reactions
timswileycommented, Jun 4, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found