Skip to content

Latest LS fails to find document file #4783

Closed

Description

@Astrantia

Files that start with shebang and dont end with.py
Spam in the output log and extension not working at all:

[Info  - 1:57:57 AM] Microsoft Python Language Server version 0.2.23.0
[Info  - 1:57:57 AM] Initializing for C:\Python37\python.exe
[Error - 1:58:01 AM] Unable to find document file:///c:/Users/A/Desktop/file
[Error - 1:58:01 AM] Unable to find document file:///c:/Users/A/Desktop/file
[Error - 1:58:01 AM] Unable to find document file:///c:/Users/A/Desktop/file
[Error - 1:59:49 AM] Unable to find document file:///c:/Users/A/Desktop/file

Console log:

ERR Cannot read property 'map' of undefined: TypeError: Cannot read property 'map' of undefined
	at asCompletionResult (C:\Users\A\.vscode\extensions\ms-python.python-2019.2.5558\node_modules\vscode-languageclient\lib\protocolConverter.js:145:51)

Activity

  1. ghost added
    triage-neededNeeds assignment to the proper sub-team
    on Mar 16, 2019
  2. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Mar 18, 2019
  3. luabud commented on Sep 11, 2019

    @luabud
    Member
  4. locked as resolved and limited conversation to collaborators on Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions