This repository was archived by the owner on Apr 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 133
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
"Analyzing in background, X items left..." #1806
Copy link
Copy link
Closed
Description
This issue was initially reported at #1601, but the bug name there was changed and an unrelated fix was published. This issue is still occurring.
Environment data
- Language Server version: 0.4.127.0
- OS and version: Windows 10 1903 (18362.388)
- Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.3
Expected behaviour
Python Language Server shouldn't get stuck analyzing files.
Actual behaviour
After a random amount of time using PLS (e.g. after anywhere from 0 minutes to several days), Visual Studio Code gets stuck "Analyzing in background...". The number of items is frequently small, but not always.
Logs
See attached. This is a log from several days, so that I could capture the issue
analyzing - stuck.txt
Additional
This repository is from https://github.com/xobs/haddecks
My local settings.json
file looks like this:
{
"python.autoComplete.extraPaths": [
"deps/litedram",
"deps/litescope",
"deps/litex",
"deps/litex_boards",
"deps/lxsocdoc",
"deps/migen",
"deps/spibone",
"deps/valentyusb"
],
"python.jediEnabled": false,
"python.analysis.logLevel": "Trace"
}
There is no .env file present.
Most recent log:
Downloading https://pvsc.azureedge.net/python-language-server-daily/Python-Language-Server-win-x64.0.4.127.nupkg...
Language server download complete
Unpacking archive... done
[Info - 8:37:59 am] Analysis cache path: C:\Users\smcro\AppData\Local\Microsoft\Python Language Server
[Info - 8:37:59 am] Microsoft Python Language Server version 0.4.127.0
[Info - 8:37:59 am] Workspace root: d:\Code\HaD\haddecks
[Info - 8:38:00 am] GetCurrentSearchPaths D:\Software\ecp5-toolchain-windows-v1.6\bin\python.exe
[Info - 8:38:00 am] Interpreter search paths:
[Info - 8:38:00 am] d:\software\ecp5-toolchain-windows-v1.6\bin\lib
[Info - 8:38:00 am] d:\software\ecp5-toolchain-windows-v1.6\bin
[Info - 8:38:00 am] d:\software\ecp5-toolchain-windows-v1.6\bin\lib\site-packages
[Info - 8:38:00 am] User search paths:
[Info - 8:38:00 am] d:\Code\HaD\haddecks\deps\litedram
[Info - 8:38:00 am] d:\Code\HaD\haddecks\deps\litescope
[Info - 8:38:00 am] d:\Code\HaD\haddecks\deps\litex
[Info - 8:38:00 am] d:\Code\HaD\haddecks\deps\litex_boards
[Info - 8:38:00 am] d:\Code\HaD\haddecks\deps\lxsocdoc
[Info - 8:38:00 am] d:\Code\HaD\haddecks\deps\migen
[Info - 8:38:00 am] d:\Code\HaD\haddecks\deps\spibone
[Info - 8:38:00 am] d:\Code\HaD\haddecks\deps\valentyusb
[Info - 8:38:02 am] Initializing for D:\Software\ecp5-toolchain-windows-v1.6\bin\python.exe
[Info - 8:38:02 am] Analysis caching mode: None.
KevKeating, dsumpter, stanpcf, awav, Blockguy24 and 2 more
Metadata
Metadata
Assignees
Labels
No labels