Open vani-lu opened 2 days ago
Thanks for reaching out, this might be a duplicate of https://github.com/microsoft/vscode/issues/230172. Are your repro steps the same as in that issue? If not, could you please provide your steps and some sample code? Thanks!
Thanks for reaching out, this might be a duplicate of microsoft/vscode#230172. Are your repro steps the same as in that issue? If not, could you please provide your steps and some sample code? Thanks!
@StellaHuang95
Debug Failure
errorMessage: Request textDocument/documentSymbol failed with message: Debug Failure. Notebook file should not be passed to getWorkspaceForFile: vscode-chat-code-block:/home/vani/projects/baba-main-datastore/performance/resolution_compare_manipulations.ipynb?219c2207-24cf-49d0-a909-b783549d943f
Yes, my repro steps is the same: ctrl+I
for inline copilot chat and then View in chat
to open it in sidebar.
After some testing, I think it only happens when I open specific chat session. The chat session took place before the latest update of Copilot. I think I met this problem purely out of chance because my sidebar defaults to open that session after update (I have no idea why). In normal usage, it should open with a new chat and I very rarely look at past chat sessions.
The output is filled with dozens of texts including english, traditional/simplified chinese, korea etc from c:\Users\admin\.vscode\extensions\ms-python.vscode-pylance-2024.10.1\dist\server.bundle.js
. I don't know if this is normal after crashing.Python Language Server.log
Environment data
Code Snippet
My pylance seems to be crashing because some reference error in Copilot chat. Most of the error messages are in English, consistent with my system language and VSC display language. But the "Pylance crashes..." error which is both prompted by a pop-up and shown in the output is in Chinese.
Of course the message itself is clear in its content. But I want to know how does pylance decide the language to output, because it feels quite awkward that the extension seemingly knows where I am.