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

Garbled pylance info in Jupyter notebook #7821

Closed
IanMatthewHuff opened this issue Oct 5, 2021 · 3 comments
Closed

Garbled pylance info in Jupyter notebook #7821

IanMatthewHuff opened this issue Oct 5, 2021 · 3 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug notebook-intellisense Intellisense & other language features in notebook cells for any language verified Verification succeeded
Milestone

Comments

@IanMatthewHuff
Copy link
Member

IanMatthewHuff commented Oct 5, 2021

The repro here was just creating the following basic notebook. After adding in the second cell everything was garbled. Pylance seems to have some odd code that's not what is actually in the cells. Trying to suss out the total repro here. Basically I added and executed the first cell. Then added and executed the second cell. Then the problems showed up in the problems pane. Python interpreter is set to the same interpreter as my running kernel.

image

image

Closing and reopening the file (this was a new file that had been saved from untitled) seems to have cleared the issues.

@IanMatthewHuff IanMatthewHuff added the bug Issue identified by VS Code Team member as probable bug label Oct 5, 2021
@rchiodo
Copy link
Contributor

rchiodo commented Oct 5, 2021

Looks like the change events for the cells didn't work correctly.

@rchiodo rchiodo added notebook-intellisense Intellisense & other language features in notebook cells for any language and removed needs-triage labels Oct 7, 2021
@rchiodo rchiodo added this to the November 2021 milestone Oct 7, 2021
@rchiodo rchiodo self-assigned this Oct 7, 2021
@rchiodo rchiodo modified the milestones: November 2021, October 2021 Oct 7, 2021
@judej
Copy link

judej commented Oct 8, 2021

Tried to repro this, but could not.

Environment

Version: 1.61.0 (system setup)
Commit: ee8c7def80afc00dd6e593ef12f37756d8f504ea
Date: 2021-10-07T18:13:09.652Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22000
Jupyter version: v2021.9.1001312534
Python extension version: Python v2021.11.1313923388-dev
Python version: 3.9.7
Type of virtual environment used: conda
Jupyter server running: Local

7821-repro

@rchiodo
Copy link
Contributor

rchiodo commented Oct 15, 2021

I cant' repro this either.

Ian can you turn this setting on in your settings.json?

    "notebook-intellisense.trace.server.verbosity": "Verbose",

With our latest insiders bits, that should cause all intellisense messages to go into the output pane. Then if you repro it again the cause should be in the output pane. Under something like so:

image

@rchiodo rchiodo closed this as completed Oct 15, 2021
@DonJayamanne DonJayamanne added the verified Verification succeeded label Oct 27, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2022
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 notebook-intellisense Intellisense & other language features in notebook cells for any language verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants