microsoft / vscode-jupyter

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

LiveShare Jupyter Notebook output synch problem #12737

Open MattOrmianek opened 1 year ago

MattOrmianek commented 1 year ago

Type: Bug

When I create session on mac using LiveShare, and work on Jupyter Notebook user that created this session see all output off cells (for example: output is 3 plots) and users connected to that session see limited output (for example: output for that user is only 1 of 3 plots). Checked versions of everything, also tried searching on web, nothing helps. Same problem when session is created on PC and mac user try to see output of cell. Also same problem when user is connected to web. Tried with several devices.

Extension version: 1.0.14 VS Code version: Code 1.73.1 (Universal) (6261075646f055b99068d3688932416f2346dd3b, 2022-11-09T02:08:38.961Z) OS version: Darwin arm64 22.2.0 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|Apple M1 Pro (10 x 24)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|5, 4, 3| |Memory (System)|16.00GB (0.05GB free)| |Process Argv|--crash-reporter-id 219a6e59-7038-479d-9d8e-3fcfe7c543e2| |Screen Reader|no| |VM|0%|
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 pythondataviewer:30285071 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vsclangdc:30486549 c4g48928:30535728 dsvsc012:30540252 azure-dev_surveyone:30548225 vsccc:30610678 pyindex848:30577860 nodejswelcome1cf:30587006 2e4cg342:30602488 89544117:30613380 pythonsymbol12cf:30657549 2i9eh265:30646982 ```
DonJayamanne commented 1 year ago

Thank you for filing this issue and sorry you are running into this.

MattOrmianek commented 1 year ago

Thank you for answer,

DonJayamanne commented 1 year ago

Please could you share a sample notebook with some easy plot with few dependencies so I can try this at my end.

MattOrmianek commented 1 year ago

Here it is: https://github.com/MattOrmianek/jupyter-testing/tree/main You have to install matplotlib lib for python.

rsargent commented 1 year ago

I believe I'm running into the same issue, and can reproduce in two steps, starting with an empty notebook.

Create an empty notebook test.ipynb, and compute a simple expression in the first cell:

image

Connect guest through liveshare (right window is guest):

image

I expect the output from the computation to appear on the guest screen, but it doesn't.

DonJayamanne commented 1 year ago

I'm sorry i missed this issue, will look into this shortly and try to get and update on this soon.

DonJayamanne commented 1 year ago

I can replicate this issue,

arkanoid87 commented 1 month ago

Same issue here with 1.92.2 on both ends

Cell execution results are not visible on the guest