-
Notifications
You must be signed in to change notification settings - Fork 767
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
UndefinedVariable in interactive window #3661
Comments
@StevenLi-DS, can you please provide the content of your "Python Language Server" log from VS Code's output pane? |
@debonte hope this gotta be helpful |
Are you sure the diagnostic is If that's what you're seeing also, this is a duplicate of #3282 which was fixed in our most recent prerelease build, 2022.11.31. |
I was able to repro this by downgrading my Jupyter extension to their current Release version. Can you try upgrading to the latest Pre-Release build of Jupyter? They had a regression earlier this month that caused them to start a second instance of Pylance, and I think the error you are seeing may be coming from that second instance. That would also explain the multiple lines of type info for If you see a log like the following in the Output window in addition to the "Python Language Server" log, that would also indicate that you're hitting this. |
@debonte Thanks man. Indeed, after I switch to pre-release |
Duplicate of #3530 |
@debonte The issue seems back in v2023.2.10 |
@StevenLi-DS, thanks for reporting this. I haven't been able to repro the issue yet though. Can you open a new issue with steps to reproduce the problem? Might as well include your Jupyter extension version too. :) |
Environment data
Pylance keep showing me UndefinedVariable error in the interactive window no matter what I do
The text was updated successfully, but these errors were encountered: