Closed patchie closed 1 year ago
Upgraded to the following version, but still same problem:
Version: 1.79.0-insider (user setup) Commit: 940571e267875749bac5577689072318d8f02485 Date: 2023-06-01T19:04:23.199Z Electron: 22.5.4 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Windows_NT x64 10.0.19044
Thank you for filing this issue and sorry you are running into this. Looks like its not the update to VS Code or Jupyter extension that caused the issue instead you seem to have updated your Python environment and that is causing issues (if you look at the errors, these are errors from your Python environment)
Thats fine, lets try to get that sorted out.
14:35:57.357 [warn] Exception while attempting zmq : No native build was found for platform=linux arch=x64 runtime=electron abi=93 uv=1 libc=glibc node=16.17.1 loaded from: ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.5.1001541100/out/node_modules/zeromq 14:35:57.357 [warn] Exception while attempting zmq (fallback) : No native build was found for platform=linux arch=x64 runtime=electron abi=93 uv=1 libc=glibc node=16.17.1 loaded from: ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.5.1001541100/out/node_modules/zeromqold
This is not supposed to happen. Hence the questions below.
Please can you open a terminal and let me know the contents of the file /etc/os-release
using the command cat /etc/os-release
please paste all of the contents.
Please can you open the following folder in your WSL environment /.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.5.1001541100/out/node_modules/zeromq
and list all of the files and folders
Use the command ls -R
to list all of the files/folders under the zeromq
folder above.
Let me know what you get, thank you.
In the mean time I will prepare a new VSIX with more logging to help me get more information. thank you.
Ah, strange, i dont think i did anything to the environment when this happened, other than maybe a pip upgrade or similar.
Anyways, thanks a lot for your efforts to help, really appreciated.
cat /etc/os-release:
PRETTY_NAME="Ubuntu 22.04.2 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.2 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy
~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.5.1001541100/out/node_modules/zeromq# ls -R:
.: CHANGELOG.md LICENSE README.md draft.js lib package.json prebuilds tsconfig.json v5-compat.js
./lib: compat.js draft.js errors.js index.js native.js util.js
./prebuilds: win32-x64
./prebuilds/win32-x64: concrt140.dll msvcp140_1.dll msvcp140_atomic_wait.dll node.napi.glibc.node vcruntime140_1.dll msvcp140.dll msvcp140_2.dll msvcp140_codecvt_ids.dll vcruntime140.dll
Thanks in advance!
@patchie thats very weird, how did you install the VSIX. Did you manually download it and install it?
Download
buttonLinux X64
Install from VSIX
and select the above VSIX downloaded14:35:57.357 [warn] Exception while attempting zmq : No native build was found for platform=linux arch=x64 runtime=electron abi=93 uv=1 libc=glibc node=16.17.1
loaded from: ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.5.1001541100/out/node_modules/zeromq
14:35:57.357 [warn] Exception while attempting zmq (fallback) : No native build was found for platform=linux arch=x64 runtime=electron abi=93 uv=1 libc=glibc node=16.17.1
loaded from: ~/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2023.5.1001541100/out/node_modules/zeromqold
This should fix things for you, let me know how this goes. Downloading the VSIX this way is a temporary work around, problem is you are in WSL and somehow only the windows VSIX is downloaded and not the Linux version
I just tested this in WSL2 and the right VSIX is getting downloaded and installed, looks like you may have manually downloaded the VSIX from the marketplace, I would suggest you download the Linux x64
when downloading the VSIX for your instance of WSL.
I'm confident this (downloading the right version of the VSIX or installing it from within VS Code itself) should fix this issue, hence I'm closing this, if it does not please do let me know and I'll re-open this issue or please feel free to close this issue.
Ah, you're right!
There was added some restrictions on our network, so i had to download them and install manually. It didn't occur to me that the extensions where different for each OS.
Thanks again for your help!
Thank you for getting back with a confirmation of the fix
Thank you both for your clear posts and answers:
I just realised that the cause of this issue was the same that I had in #13500 - we were copying over our (mac) extensions in order to "save time" and have them pre-installed when developing in Docker. Turns out there is no check on extension load to determine if the correct OS' version is installed!
Applies To
What happened?
Just trying to run print("hello world") in a cell for example, and get the error message below the cell:
System info: Win10 WSL2: Ubuntu (Linux x64 5.15.90.1-microsoft-standard-WSL2)
VScode:
VS Code Version
1.79.0-insider
Jupyter Extension Version
v2023.5.1001541100
Jupyter logs
Coding Language and Runtime Version
python 3.11.3
Language Extension Version (if applicable)
2023.9.11521013.
Anaconda Version (if applicable)
not applicable
Running Jupyter locally or remotely?
N/A or Not sure