microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.29k stars 290 forks source link

Unable to download widgets from remote Jupyter Lab servers #14762

Open DonJayamanne opened 10 months ago

DonJayamanne commented 10 months ago

Today we are able to download widgets from remote jupyter notebook servers, but not from remote jupyter lab servers. This is due to the changes in how the scripts are bundled for lab vs notebooks.

See here https://github.com/microsoft/vscode-jupyter/issues/14761

DonJayamanne commented 10 months ago

So far not reported by anyone, hence left as debt item.

s1lvester commented 7 months ago

Hi,

i would like to raise my Hand concerning this issue :)

Alternatively I would suggest for vscode-jupyter to "honor" the settings for the remote vscode-server to always download on the client, not on the server.

How is this relevant?

If you work on an "airgapped" jupyterlab with vscode-remote-ssh you have no option do download widgets using:

"jupyter.widgetScriptSources": ["jsdelivr.com", "unpkg.com"].

However vscode-server is perfectly able to use the vscode-client to download extensions/files/updates/whatever and push them through ssh to be installed on the vscode-server.

Thank you for your concideration.

Rgds Markus

DonJayamanne commented 7 months ago

@s1lvester

Please upvote this issue to ensure we track user interest.

However vscode-server is perfectly able to use the vscode-client to download extensions/files/updates/whatever and push them through ssh to be installed on the vscode-server.

The challenge is not being able to download files, but being able to download widget files from jupyter lab

DonJayamanne commented 7 months ago

I could also spin-out the issue with downloading files through ssh into a separate issue?

I think you have misunderstood this issue, What is the exact problem you are running into, please can you describe the issue and share the error message and the like.