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

The outline tree is empty with Python files #893

Closed
2 tasks done
gerroon opened this issue Oct 29, 2021 · 3 comments
Closed
2 tasks done

The outline tree is empty with Python files #893

gerroon opened this issue Oct 29, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@gerroon
Copy link

gerroon commented Oct 29, 2021

Describe the bug
Hi

The outline is totally empty with Python files. I do not use any other language so I do not know if it works for other languages. This was working fine couple versions ago since I use it regularly. I upgraded to to 1.61.2 now it is gone. I am not sure which version I had it working but I have been using the outline for couple years no problem. I did not change my settings for quite sometime as well.

Please confirm that this problem is VSCodium-specific

  • I do no use Vscode

Please confirm that the issue/resolution isn't already documented

  • I could not find a similar bug

To Reproduce
Steps to reproduce the behavior:

  1. Open a Python file
  2. Make sure you have the Python extension enabled
  3. Open the outline window

Expected behavior
It should liest all the functions and classes properly instead of showing an empty pane.

Screenshots

VSCodium_o31LzcXjLU

Desktop (please complete the following information):

  • OS: Windows 10
  • Architecture x64
  • Python extension v2021.10.1365161279
  • VsCodium 1.61.2

I see this in the log window

Log

Symbol(ILanguageServerActivator) - named: Jedi 
: Error: No matching bindings found for serviceIdentifier: Symbol(ILanguageServerActivator)
 Symbol(ILanguageServerActivator) - named: Jedi 

    at C:\VSCODE\.vscode-oss\extensions\ms-python.python-2021.10.1365161279\out\client\extension.js:52:153537
    at m (C:\VSCODE\.vscode-oss\extensions\ms-python.python-2021.10.1365161279\out\client\extension.js:52:153834)
    at e (C:\VSCODE\.vscode-oss\extensions\ms-python.python-2021.10.1365161279\out\client\extension.js:52:154325)
    at Object.t.plan (C:\VSCODE\.vscode-oss\extensions\ms-python.python-2021.10.1365161279\out\client\extension.js:52:154988)
    at C:\VSCODE\.vscode-oss\extensions\ms-python.python-2021.10.1365161279\out\client\extension.js:52:151572a
    at e._get (C:\VSCODE\.vscode-oss\extensions\ms-python.python-2021.10.1365161279\out\client\extension.js:52:151481)
    at e.getTagged (C:\VSCODE\.vscode-oss\extensions\ms-python.python-2021.10.1365161279\out\client\extension.js:52:150284)
    at e.getNamed (C:\VSCODE\.vscode-oss\extensions\ms-python.python-2021.10.1365161279\out\client\extension.js:52:150376)
    at a.get (C:\VSCODE\.vscode-oss\extensions\ms-python.python-2021.10.1365161279\out\client\extension.js:78:515280)
    at P.createRefCountedServer (C:\VSCODE\.vscode-oss\extensions\ms-python.python-2021.10.1365161279\out\client\extension.js:52:201054)
    at P.activate (C:\VSCODE\.vscode-oss\extensions\ms-python.python-2021.10.1365161279\out\client\extension.js:52:198188)
    at async Promise.all (index 5)
    at y.activateWorkspace (C:\VSCODE\.vscode-oss\extensions\ms-python.python-2021.10.1365161279\out\client\extension.js:52:193521)

Python

python -m pip install jedi

Requirement already satisfied: jedi in c:\python39\lib\site-packages (0.18.0)
Requirement already satisfied: parso<0.9.0,>=0.8.0 in c:\python39\lib\site-packages (from jedi) (0.8.2)

@gerroon gerroon added the bug Something isn't working label Oct 29, 2021
@gerroon
Copy link
Author

gerroon commented Nov 1, 2021

I removed Pylance and it is back. Not sure how Pylance got installed. Maybe the Python extention installs it.

@carlinmack
Copy link

carlinmack commented Nov 19, 2021

Pylance is also not working for me, doesn't even suggest defined variables to me nevermind properties on libraries etc ah there is a fix in #892

@daiyam daiyam closed this as completed Dec 1, 2021
@daiyam
Copy link
Member

daiyam commented Dec 1, 2021

Please read my comment on #892

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants