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

Endless loop in analysis with caching set to "system" #1758

Closed
luabud opened this issue Nov 6, 2019 · 4 comments · Fixed by #1757
Closed

Endless loop in analysis with caching set to "system" #1758

luabud opened this issue Nov 6, 2019 · 4 comments · Fixed by #1757

Comments

@luabud
Copy link
Member

luabud commented Nov 6, 2019

Sorry if it's a dupe 😁

Environment data

  • Language Server version: 0.4.96.0
  • OS and version: Windows 10
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.3, venv

Background analysis gets stuck in an endless loop:

LSloop

Packages installed in this environment:

atomicwrites==1.3.0
attrs==19.2.0
Click==7.0
colorama==0.4.1
Flask==1.1.1
importlib-metadata==0.23
itsdangerous==1.1.0
Jinja2==2.10.1
MarkupSafe==1.1.1
more-itertools==7.2.0
numpy==1.17.3
packaging==19.2
pluggy==0.13.0
py==1.8.0
pyparsing==2.4.2
pytest==5.2.1
PyYAML==5.1.2
six==1.12.0
wcwidth==0.1.7
Werkzeug==0.15.6
zipp==0.6.0

@jakebailey
Copy link
Member

Known issue, yes. Disable caching (or remove your config for it) as it's currently broken.

@jakebailey
Copy link
Member

Leaving open, since we don't have a tracking issue for this yet.

@jakebailey
Copy link
Member

Opened #1761 to disable caching altogether regardless of user setting, since looping is worse than a slow analysis (until we fix it).

@jakebailey jakebailey added this to the November 2019.1 milestone Nov 6, 2019
@jakebailey jakebailey reopened this Nov 6, 2019
@jakebailey
Copy link
Member

Pushed to daily and beta, so the looping should go away for everyone on those channels. Stable never had this bug, so is safe (but we'll be upgrading stable soon anyhow, regardless of the status of caching, since stable never had it enabled by default).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants