microsoft / vscode-jupyter

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

Data Wrangler extension - dataframe viewer not opening within VSCode #15877

Open clementlefevre opened 1 month ago

clementlefevre commented 1 month ago

Applies To

What happened?

Hello,

Coming from https://github.com/microsoft/vscode-data-wrangler/issues/49#issuecomment-2237213617 :

When using VSCode with the python debugger (no notebook) :

The thing is the legacy data viewer is supposed to be deprecated by the next version of VSCode (v1.92).

How to reproduce :

----------------------------------------------------------------
VSCode
Version: 1.91.1 (user setup)
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
Date: 2024-07-09T22:06:49.809Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22621
----------------------------------------------------------------
Data Wrangler v1.4.2
----------------------------------------------------------------
Jupyter v2024.6.0

VS Code Version

1.91.1

Jupyter Extension Version

2024.6.0

Jupyter logs

Visual Studio Code (1.91.1, undefined, desktop)
Jupyter Extension Version: 2024.6.0.
Python Extension Version: 2024.10.0.
Pylance Extension Version: 2024.7.1.
Platform: win32 (x64).

Coding Language and Runtime Version

No response

Language Extension Version (if applicable)

python microsoft extension v2024.10.0

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Local

Err1000 commented 1 month ago

when the Data Wrangler extension is disabled : when right-clicking on a dataframe variable, the legacy data viewer opens correctly.

I've had the same issue until i tried a rollback of the Data Wrangler as well as the Jupyter Extension.

The following setup fixed it for me, and I now see the Data Wrangler instead of the legacy Data Viewer:

Jupyter Extension: Version v2024.5.0 Data Wrangler: Version 1.4.1

clementlefevre commented 1 month ago

Thanky you Alex, could you just please detail how you did proceed for the rollback of the 2 extensions Data Wrangler & Jupyter ? A - Just uninstall & reinstall both B - Or revert to Data Wrangler: Version 1.4.1 & Jupyter Extension: Version v2024.5.0 as you just mentioned ?

Thanks a lot in advance, CL.

Err1000 commented 1 month ago

B did it for me.

clementlefevre commented 1 month ago

@Err1000, you are a Star !

@amunger : any chance we get it cleared by the next release ?

Thanks and have a nice day.

rebornix commented 1 month ago

@clementlefevre can you please try the latest Insiders 1.92 and Jupyter prerelease, I just tested this and it's working as expected. Thanks in advance!

vs-code-engineering[bot] commented 1 month ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

Oli-Ross commented 1 month ago

Still seeing this, both on the newest version and the ones @Err1000 suggested.

amunger commented 1 month ago

With the latest jupyter extension pre-release, can you attempt to open the Data viewer, and post the logs here from the output window (command: Jupyter: Show Output)