Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

"Go to Symbol in Workspace..." errors out for scikit-learn #137

Closed
brettcannon opened this issue Sep 25, 2018 · 5 comments
Closed

"Go to Symbol in Workspace..." errors out for scikit-learn #137

brettcannon opened this issue Sep 25, 2018 · 5 comments
Assignees
Milestone

Comments

@brettcannon
Copy link
Member

microsoft/vscode-python#2637

Check out scikit-learn, open a Python file to start the extension, hit ctrl+t and search for KMeans. You should end up in sklearn/cluster/k_means_.py at the class KMeans class. But instead you end up with an error of:

[Error - 3:48:02 PM] Request workspace/symbol failed.
  Message: Object reference not set to an instance of an object.
  Code: -32000 
[object Object]

I tried setting "python.analysis.logLevel": "Trace" but I didn't see anything useful to help with this.

@MikhailArkhipov
Copy link

Is it latest? Current insiders build does not download latest bits. Or did you build the LS?

@gramster gramster added this to the Oct 2018.1 milestone Sep 26, 2018
@ogrisel
Copy link

ogrisel commented Sep 27, 2018

How do you get the version information of the language server from the VS Code UI?

@MikhailArkhipov
Copy link

I guess I will add version info to the startup message.

@ogrisel
Copy link

ogrisel commented Oct 5, 2018

Has the fix for this issue been released? How can I trigger upgrade the language server in vscode to test the fix?

@brettcannon
Copy link
Member Author

@ogrisel a new release of the extension went out today which will download the latest bits to test automatically at most once a day.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants