question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NameError: name '_VSCODE_getVariableInfo' is not defined

See original GitHub issue

I was debugging…

When I chose “view value in data viewer” for a variable at a checkpoint for the first time, it worked fine as normal.

Then I clicked F5, and the programme stopped at the same checkpoint.

But when I chose “view value in data viewer” for a variable again, it didn’t work and the log was as follows

error 11:44:25.215: Error: Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name '_VSCODE_getVariableInfo' is not defined

    at o.handleErrorResponse (vscode-file://vscode-app/d:/vscode/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1041:45806)
    at vscode-file://vscode-app/d:/vscode/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1041:45245
warn 11:44:25.215: DataScience Error Error: Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name '_VSCODE_getVariableInfo' is not defined

    at o.handleErrorResponse (vscode-file://vscode-app/d:/vscode/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1041:45806)
    at vscode-file://vscode-app/d:/vscode/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1041:45245

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
vincentvaltoncommented, Jun 23, 2022

I have both versions installed, and all my preferences are there on both versions.

I had to downgrade the jupyter extension to an earlier version, but once that was done it all worked perfectly 👍 with the v1.67.2 (until the current version is updated and fixed)

0reactions
rchiodocommented, Jun 30, 2022

/verified

However the removal of the temporary functions doesn’t seem to work:

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSCode ModuleNotFoundError: No module named X
vscode folder. If main.py wants to import myLib.py as module, VSCode can only do this if mySubDir is part of the Python path....
Read more >
Python nameerror name is not defined Solution - Career Karma
A NameError is raised when you try to use a variable or a function name that is not valid. In Python, code runs...
Read more >
NameError: name 'name' is not defined : r/learnpython - Reddit
NameError : name 'name' is not defined. Hello,. I'm new to coding and don't know what I am doing wrong here. I am...
Read more >
how to solve this error "NameError: name 'zpl2' is not defined"
i want to install module "printer_zpl2" but it shows the error "NameError: name 'zpl2' is not defined" . When i open the code...
Read more >
NameError: name “x” is not defined ... even though x is defined
The picture clearly shows that I am defining x [x = 5]. I have uninstalled and reinstalled both Python 3.10 and Visual Studio...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found