Title: "Analyzing in background" forever · Issue #946 · microsoft/python-language-server · GitHub
Open Graph Title: "Analyzing in background" forever · Issue #946 · microsoft/python-language-server
X Title: "Analyzing in background" forever · Issue #946 · microsoft/python-language-server
Description: Hi, Since recently, I met a problem with VSCode where upon starting the editor, the analyzer starts normally but after a few seconds, the message "Analyzing in background, 877 items left…" is stuck in the footer bar, and then nothing cha...
Open Graph Description: Hi, Since recently, I met a problem with VSCode where upon starting the editor, the analyzer starts normally but after a few seconds, the message "Analyzing in background, 877 items left…" is stuck...
X Description: Hi, Since recently, I met a problem with VSCode where upon starting the editor, the analyzer starts normally but after a few seconds, the message "Analyzing in background, 877 items left…"...
Opengraph URL: https://github.com/microsoft/python-language-server/issues/946
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\"Analyzing in background\" forever","articleBody":"Hi,\r\n\r\nSince recently, I met a problem with VSCode where upon starting the editor, the analyzer starts normally but after a few seconds, the message \"Analyzing in background, 877 items left…\" is stuck in the footer bar, and then nothing changes (for hours).\r\n\r\nIt also seems to me that the cpu usage is not enormous but still quite high compared to before this was an issue, around 35 ~ 40%.\r\n\r\n[Here is the code of the django project](https://github.com/MTES-MCT/aides-territoires) that triggers the issue, but I have the exact same problem with other django projects as well.\r\n\r\nVscode version : \r\n\r\n> Version: 1.33.0\r\n> Commit: 0dd516dd412d42323fc3464531b1c715d51c4c1a\r\n> Date: 2019-04-04T15:08:57.775Z\r\n> Electron: 3.1.6\r\n> Chrome: 66.0.3359.181\r\n> Node.js: 10.2.0\r\n> V8: 6.6.346.32\r\n> OS: Linux x64 4.15.0-46-generic\r\n\r\nPython extension version : 2019.3.6558\r\nLS version : 0.2.53.0\r\n\r\nIn my settings:\r\n>\"python.analysis.downloadChannel\": \"beta\",\r\n\r\nAlso, there is an unhandled exception in the Python output log:\r\n\r\n> Starting Microsoft Python language server.\r\n> ##########Linting Output - flake8##########\r\n> ##########Linting Output - flake8##########\r\n> [Info - 15:33:52] GetCurrentSearchPaths /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/bin/python \r\n> [Info - 15:33:52] Python search paths:\r\n> [Info - 15:33:52] /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/lib/python3.6\r\n> [Info - 15:33:52] /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/lib/python3.6/lib-dynload\r\n> [Info - 15:33:52] /usr/lib/python3.6\r\n> [Info - 15:33:52] /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/lib/python3.6/site-packages\r\n> [Info - 15:33:52] Configuration search paths:\r\n> [Info - 15:33:52] /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/lib/python36.zip\r\n> [Info - 15:33:52] /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/lib/python3.6\r\n> [Info - 15:33:52] /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/lib/python3.6/lib-dynload\r\n> [Info - 15:33:52] /usr/lib/python3.6\r\n> [Info - 15:33:52] /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/lib/python3.6/site-packages\r\n> [Info - 15:33:52] /home/thibault/Code/aides/src\r\n> [Info - 15:33:52] /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/bin\r\n> [Info - 15:33:53] Microsoft Python Language Server version 0.2.53.0\r\n> [Info - 15:33:53] Initializing for /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/bin/python\r\n> [Info - 15:33:56] Reloading modules... \r\n> [Info - 15:34:05] done.\r\n> [Info - 15:34:05] Analysis restarted.\r\n> \r\n> Unhandled Exception: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.\r\n> at System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.MoveNext()\r\n> at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()\r\n> at Microsoft.Python.LanguageServer.Implementation.Server.RestartAnalysis()\r\n> at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n> --- End of stack trace from previous location where exception was thrown ---\r\n> at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)\r\n> --- End of stack trace from previous location where exception was thrown ---\r\n> at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n> --- End of stack trace from previous location where exception was thrown ---\r\n> at System.Threading.ThreadPoolWorkQueue.Dispatch()\r\n> [Info - 15:34:07] Connection to server got closed. Server will restart.\r\n> [Info - 15:34:08] GetCurrentSearchPaths /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/bin/python \r\n> [Info - 15:34:08] Python search paths:\r\n> [Info - 15:34:08] /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/lib/python3.6\r\n> [Info - 15:34:08] /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/lib/python3.6/lib-dynload\r\n> [Info - 15:34:08] /usr/lib/python3.6\r\n> [Info - 15:34:08] /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/lib/python3.6/site-packages\r\n> [Info - 15:34:08] Configuration search paths:\r\n> [Info - 15:34:08] /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/lib/python36.zip\r\n> [Info - 15:34:08] /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/lib/python3.6\r\n> [Info - 15:34:08] /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/lib/python3.6/lib-dynload\r\n> [Info - 15:34:08] /usr/lib/python3.6\r\n> [Info - 15:34:08] /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/lib/python3.6/site-packages\r\n> [Info - 15:34:08] /home/thibault/Code/aides/src\r\n> [Info - 15:34:08] /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/bin\r\n> [Info - 15:34:09] Microsoft Python Language Server version 0.2.53.0\r\n> [Info - 15:34:09] Initializing for /home/thibault/.local/share/virtualenvs/aides-WKfJSWUb/bin/python\r\n> ##########Linting Output - flake8##########\r\n> ##########Linting Output - flake8##########\r\n> [Error - 15:42:13] Unable to find document file:///home/thibault/Code/aides/src/core/urls.py\r\n> [Error - 15:42:15] Unable to find document file:///home/thibault/Code/aides/src/core/urls.py\r\n> ##########Linting Output - flake8##########\r\n> [Info - 15:45:47] Reloading modules... \r\n> [Info - 15:45:48] done.\r\n> [Info - 15:45:48] Analysis restarted.\r\n\r\nPlease let me know if you need anymore details.","author":{"url":"https://github.com/thibault","@type":"Person","name":"thibault"},"datePublished":"2019-04-12T13:57:18Z","url":"https://github.com/microsoft/python-language-server/issues/946"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:28276181-cda3-bb98-e549-0008eadc7ec5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9862:20741A:3815DD:49CEE1:6AFE6189 |
| html-safe-nonce | e505bf0b455a51d26856fd344fe1444d2cf64b5297a5ac43364eeeb2eba0533c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODYyOjIwNzQxQTozODE1REQ6NDlDRUUxOjZBRkU2MTg5IiwidmlzaXRvcl9pZCI6IjE1MjAxMTgwNjQ2MzExNDQ4NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | cf2e964d8b11939f58e2f75eb44cd39a12ac097c448c8e1e726f1e347d0661e5 |
| hovercard-subject-tag | issue:432579910 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/python-language-server/946/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6cd608f08340af8192096b9a4ffb1d04e4843830e6f42f39eed0cac2104bd250/microsoft/python-language-server/issues/946 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6cd608f08340af8192096b9a4ffb1d04e4843830e6f42f39eed0cac2104bd250/microsoft/python-language-server/issues/946 |
| og:image:alt | Hi, Since recently, I met a problem with VSCode where upon starting the editor, the analyzer starts normally but after a few seconds, the message "Analyzing in background, 877 items left…" is stuck... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thibault |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 145901977 |
| octolytics-dimension-repository_nwo | microsoft/python-language-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145901977 |
| octolytics-dimension-repository_network_root_nwo | microsoft/python-language-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width