New language server seems to be frozen at analyzing workspace for more than 30 minutes
See original GitHub issueEnvironment data
- VS Code version: Insiders
- Extension version (available under the Extensions sidebar): Dev
- OS and version: Win 10, Mac
- Python version (& distribution if applicable, e.g. Anaconda): 3.6
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
- Relevant/affected Python packages and their versions: N/A
Actual behavior
Progress message does not go away
Expected behavior
Progress in status bar must go away.
Steps to reproduce:
- Open PTVSD repo
- Watch the progress indicator
Logs
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
Diagnostic Code: InvalidEnvironmentPathVariableDiagnostic, Message: The environment variable 'Path' seems to have some paths containing the '"' character. The existence of such a character is known to have caused the Python extension to not load. If the extension fails to load please modify your paths to remove this '"' character.
Starting Microsoft Python language server.
Downloading https://pvsc.blob.core.windows.net/python-language-server/Python-Language-Server-win-x64.0.1.18204.3.nupkg... complete.Unpacking archive... done.
[Info - 7:05:48 AM] Created Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreter instance from Microsoft.PythonTools.Interpreter.Ast.AstPythonInterpreterFactory
Initializing for C:\ProgramData\Anaconda3\python.exe
Loading files from c:\Development\VSCode\ptvsd
[Info - 7:06:05 AM] Reloading modules...
[Info - 7:06:08 AM] Reloading modules...
[Info - 7:06:10 AM] Reloading modules...
[Info - 7:06:23 AM] Reloading modules...
[Info - 7:06:40 AM] Reloading modules...
[Info - 7:06:42 AM] Reloading modules...
[Info - 7:06:49 AM] Reloading modules...
[Error - 7:08:44 AM] One or more errors occurred. (failed to parse file file:///c:/Development/VSCode/ptvsd/one.py)
[Info - 7:13:29 AM] Reloading modules...
[Info - 7:13:34 AM] Reloading modules...
[Info - 7:13:38 AM] Reloading modules...
[Info - 7:13:40 AM] Reloading modules...
[Info - 7:13:43 AM] Reloading modules...
[Info - 7:13:44 AM] Reloading modules...
[Info - 7:13:47 AM] Reloading modules...
Output from Console
under the Developer Tools
panel (toggle Developer Tools on under Help
)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:35 (4 by maintainers)
Top Results From Across the Web
Language Server Extension Guide - Visual Studio Code
This extension has access to all VS Code Namespace API. Language Server: A language analysis tool running in a separate process. As briefly...
Read more >VM causes host to start freezing at seemingly random intervals.
Sometimes this happens after only 30 minutes of use, sometimes this doesn't happen or many many hours, and I have yet to find...
Read more >About this release | Citrix Workspace app for Windows
App or desktop sessions are in running state for more than 15 minutes using Citrix Workspace app. Store or account used is CAS...
Read more >Serverless SQL pool self-help - Azure Synapse Analytics
The error Query timeout expired is returned if the query executed more than 30 minutes on serverless SQL pool. This limit for serverless...
Read more >Technical - thinkorswim Learning Center
If you need to install thinkorswim on a new computer, or update an ... A similar page to the one mentioned above will...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@keattang, you can disable the new Python Language Server by opening settings in VSCode (
Ctrl+,
) and set"python.jediEnabled": true
. Then reload the window and/or restart VSCode.Also experiencing this issue. It’s been stuck analyzing 2 items for several hours. Completely restarting VS Code does not resolve it.