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

Data Viewer Problems with version 2022.5.1001601848 #10628

Closed
rishabhmonga119 opened this issue Jun 29, 2022 · 3 comments
Closed

Data Viewer Problems with version 2022.5.1001601848 #10628

rishabhmonga119 opened this issue Jun 29, 2022 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster triage-needed Issue needs to be triaged

Comments

@rishabhmonga119
Copy link

rishabhmonga119 commented Jun 29, 2022

Environment data

  • VS Code version: 1.68.1
  • Jupyter Extension version (available under the Extensions sidebar): 2022.5.1001601848
  • Python Extension version (available under the Extensions sidebar): v2022.8.0
  • OS (Windows | Mac | Linux distro) and version: Windows
  • Python and/or Anaconda version: Python 3.7
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): -
  • Jupyter server running: N/A

Expected behaviour

Opening a pandas dataframe in Data Viewer should open a new Tab with the dataframe in tabular form

Actual behaviour

Trying to open a pandas dataframe in Data Viewer, but error thrown each time: name "_VSCODE_json is not defined" or "_VSCODE_pd is not defined" is not defined

Traceback Error:

NameError: name '_VSCODE_json' is not defined

at o.handleErrorResponse (vscode-file://vscode-app/c:/Users/q535666/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1041:45806) at vscode-file://vscode-app/c:/Users/q535666/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1041:45245 warn 13:51:22.498: DataScience Error Error: Traceback (most recent call last): File "", line 1, in File "", line 51, in _VSCODE_getVariableInfo NameError: name '_VSCODE_json' is not defined
at o.handleErrorResponse (vscode-file://vscode-app/c:/Users/q535666/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1041:45806)
at vscode-file://vscode-app/c:/Users/q535666/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1041:45245

Solution:

Reverting the Jupyter extension version to v2022.4.1021342353 resolves the issue.

@rishabhmonga119 rishabhmonga119 added the bug Issue identified by VS Code Team member as probable bug label Jun 29, 2022
@github-actions github-actions bot added the triage-needed Issue needs to be triaged label Jun 29, 2022
@rchiodo
Copy link
Contributor

rchiodo commented Jun 29, 2022

Thanks for the issue.

This sounds like a dupe of this issue here:
#10516

Are you viewing a data frame while debugging?

@rchiodo rchiodo added the info-needed Issue requires more information from poster label Jun 29, 2022
@rishabhmonga119
Copy link
Author

No, I can't view the dataframe in dataviewer. Every time I right click a dataframe in Debugger and choose "View Value in Data Viewer", it throws a traceback with the error "name '_VSCODE_json' is not defined".

@rchiodo
Copy link
Contributor

rchiodo commented Jun 30, 2022

Thanks that is what I meant. Your issue is a dupe of #10516. It will be fixed in our next release.

@rchiodo rchiodo closed this as completed Jun 30, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 1, 2023
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 info-needed Issue requires more information from poster triage-needed Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants