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

Horrible experience with Python Language Server #1813

@awav

Description

@awav

Hello everyone,

Lately, python language server is super laggy and buggy (+ https://github.com/microsoft/vscode-python/issues/8768)

  1. Often Language Server emits errors like below and my guess it depends on "weather conditions" - absolutely unpredictable.
Unable to open 'python.pyi': Unable to read file (Error: File not found (/Users/artemav/Library/Caches/Microsoft/Python Language Server/stubs.v4/fJB3UsE4Gq6YclHi4GoLw6ngBkMtdMTdkOlmPhNG7K8=/python.pyi)).
  1. I cannot get any reasonable autocompletion, even for standard python things! Sometimes, I see this error in "Developer Tools".
ERR No application in the Launch Services database matches the input criteria.: Error: No application in the Launch Services database matches the input criteria.
  1. At workspace some folders are indexed and others are not, but have similar code and use same dependencies...

PS: I have to switch to Pycharm! I'm ready to help with debugging the issue and I'm sorry not providing MWE how to reproduce it, because all logs are nearly empty:

[Info  - 9:23:53 PM] Analysis cache path: /Users/artemav/Library/Caches/Microsoft/Python Language Server
[Info  - 9:23:53 PM] Microsoft Python Language Server version 0.4.114.0
[Info  - 9:23:53 PM] Workspace root: /Users/artemav/code/bayesian-optimization
[Info  - 9:23:53 PM] GetCurrentSearchPaths /Users/artemav/anaconda3/envs/tf/bin/python 
[Info  - 9:23:53 PM] Interpreter search paths:
[Info  - 9:23:53 PM]     /Users/artemav/anaconda3/envs/tf/lib/python3.7
[Info  - 9:23:53 PM]     /Users/artemav/anaconda3/envs/tf/lib/python3.7/lib-dynload
[Info  - 9:23:53 PM]     /Users/artemav/.local/virtual-site-packages
[Info  - 9:23:53 PM]     /Users/artemav/anaconda3/envs/tf/lib/python3.7/site-packages
[Info  - 9:23:53 PM]     /Users/artemav/code/grand_prix
[Info  - 9:23:53 PM]     /Users/artemav/code/GPflow
[Info  - 9:23:53 PM] User search paths:
[Info  - 9:23:56 PM] Initializing for /Users/artemav/anaconda3/envs/tf/bin/python
[Info  - 9:23:58 PM] Analysis caching mode: None.

OS: macOS Mojave 10.14.6
Version: 1.40.1
Commit: 8795a9889db74563ddd43eb0a897a2384129a619
Date: 2019-11-13T16:47:44.719Z
Electron: 6.1.2
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 18.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions