Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't work in WSL2 #4734

Closed
xsro opened this issue Feb 10, 2021 · 1 comment
Closed

Can't work in WSL2 #4734

xsro opened this issue Feb 10, 2021 · 1 comment
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@xsro
Copy link

xsro commented Feb 10, 2021

Environment data

  • VS Code version: 1.53.1
  • Jupyter Extension version (available under the Extensions sidebar): v2020.12.414227025
  • Python Extension version (available under the Extensions sidebar): v2021.1.502429796
  • OS (Windows | Mac | Linux distro) and version: Microsoft Windows 10 家庭中文版OS 版本: 10.0.19041 暂缺 Build 19041
  • Python and/or Anaconda version: conda 4.9.2
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
  • Jupyter server running: Local

Expected behaviour

display a notebook webview

Actual behaviour

the webview is blank with nothing rendered.

Maybe it is because the VSCode can't get webview's resources is in WSL

vscode-webview-resource://c5d9b98d-9328-406e-9447-c9f63711dfb8/file///home/xsro/.vscode-server/extensions/ms-toolsai.jupyter-2020.12.414227025/out/datascience-ui/notebook/require.js

image

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. in WSL, open a jupyter notebook

Logs

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

webview console

Failed to load resource: the server responded with a status of 404 (Not Found)
require.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
ipywidgets.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
monaco.bundle.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
commons.initial.bundle.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
nativeEditor.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
font-awesome.min.css:1 

@xsro xsro added the bug Issue identified by VS Code Team member as probable bug label Feb 10, 2021
@rchiodo
Copy link
Contributor

rchiodo commented Feb 10, 2021

I believe this is this error here:
microsoft/vscode#105536

@rchiodo rchiodo closed this as completed Feb 10, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants