René's URL Explorer Experiment


Title: Analysis is stuck if packages are reloaded before it finishes. · Issue #1839 · microsoft/python-language-server · GitHub

Open Graph Title: Analysis is stuck if packages are reloaded before it finishes. · Issue #1839 · microsoft/python-language-server

X Title: Analysis is stuck if packages are reloaded before it finishes. · Issue #1839 · microsoft/python-language-server

Description: I'm trying to run MLSP in docker container to provide completions for a project i'm working on. When running on a local machine / VM, everything works fine. In docker container however, the analysis gets stuck, until I trigger a filesyst...

Open Graph Description: I'm trying to run MLSP in docker container to provide completions for a project i'm working on. When running on a local machine / VM, everything works fine. In docker container however, the analysi...

X Description: I'm trying to run MLSP in docker container to provide completions for a project i'm working on. When running on a local machine / VM, everything works fine. In docker container however, the...

Opengraph URL: https://github.com/microsoft/python-language-server/issues/1839

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Analysis is stuck if packages are reloaded before it finishes.","articleBody":"I'm trying to run MLSP in docker container to provide completions for a project i'm working on.\r\nWhen running on a local machine / VM, everything works fine. In docker container however, the analysis gets stuck, until I trigger a filesystem operation such as running pip install. If I skip the initial `workspace/didChangeConfiguration` notification, analysis finishes fine. \r\n\r\nReading the code, I'm led to believe this is a problem with `PathsWatcher` class, which only gets created after `workspace/didChangeConfiguration` is called. It seems like it could be an issue with running `System.IO.FileSystemWatcher` in containerized environment, but i'm not 100% sure.\r\n\r\n## Environment data\r\n\u003c!--\r\nTo find your version: \r\n\r\nSelect \"View: Toggle Output\" from the command palette (Ctrl+Shift+P on Windows/Linux, Command+Shift+P on macOS), then select \"Python\" in the dropdown on the right (\"Python Language Server\" if running Insiders build of VS Code). Look for the line Microsoft Python Language Server version X in the console.\r\n-->\r\n\r\n- Language Server version:  0.5.7.0 (also tried  0.4.127)   \r\n- OS and version: Debian 9 (on MacOS host)\r\n- Python version: 3.7.3\r\n\r\n## Expected behaviour\r\n\r\nAnalysis should go through all the packages and finish. \r\n\r\n## Actual behaviour\r\n\r\nIn docker, analysis never finishes with \"Analysis restarted\" message appearing before it gets stuck. When a filesystem operation is made (such as pip install), analysis gets reseted again and this time it finishes fine.\r\n\r\n## Logs\r\n\r\nIN: marks a raw input send to MLSP, OUT: is the raw output i'm getting back. The communication is done through my custom LSP plugin in NodeJS, using `vscode-jsonrpc` package for jsonrpc comms.\r\n\r\nThere are 2 logs, first part is until the analysis got stuck, the second is then after I ran `pip install` in the container, analysis got unstack and finished.\r\n\r\nPart 1:\r\nhttps://gist.github.com/danzvara/8fcd139f5568d38e87957fd6dc3bc9dd\r\n\r\nPart2:\r\nhttps://gist.github.com/danzvara/07f94ceffecb071ab2c6e0e2d5101c75\r\n\r\nThanks for any help!\r\n\r\n","author":{"url":"https://github.com/danzvara","@type":"Person","name":"danzvara"},"datePublished":"2019-12-13T12:56:24Z","url":"https://github.com/microsoft/python-language-server/issues/1839"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:83182019-5f12-a017-168c-46127af2a327
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id911C:2F85FF:3C7898:4F8198:6AFE6186
html-safe-nonce690ed088eb733992dfceb10af6ac287d252685c982e9ccca507a92b9cc7cb05e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTFDOjJGODVGRjozQzc4OTg6NEY4MTk4OjZBRkU2MTg2IiwidmlzaXRvcl9pZCI6Ijg2MTk0NTk5MjEyNjk2NDU3MDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac43af133b35b1378cd4cf084ca559b55485e89b7c03ec9bac1456625c339b8226
hovercard-subject-tagissue:537536112
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/python-language-server/1839/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9a58ba66ea0ad094503b37bd088d893f698d0a2ba08a5d3015a665067a6d25e2/microsoft/python-language-server/issues/1839
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9a58ba66ea0ad094503b37bd088d893f698d0a2ba08a5d3015a665067a6d25e2/microsoft/python-language-server/issues/1839
og:image:altI'm trying to run MLSP in docker container to provide completions for a project i'm working on. When running on a local machine / VM, everything works fine. In docker container however, the analysi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedanzvara
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/microsoft/python-language-server git https://github.com/microsoft/python-language-server.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id145901977
octolytics-dimension-repository_nwomicrosoft/python-language-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id145901977
octolytics-dimension-repository_network_root_nwomicrosoft/python-language-server
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/python-language-server/issues/1839#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-language-server%2Fissues%2F1839
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpython-language-server%2Fissues%2F1839
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2Fpython-language-server
Reloadhttps://github.com/microsoft/python-language-server/issues/1839
Reloadhttps://github.com/microsoft/python-language-server/issues/1839
Reloadhttps://github.com/microsoft/python-language-server/issues/1839
microsofthttps://github.com/microsoft
python-language-serverhttps://github.com/microsoft/python-language-server
Codehttps://github.com/microsoft/python-language-server
Issues309 (309)https://github.com/microsoft/python-language-server/issues
Pull requests6 (6)https://github.com/microsoft/python-language-server/pulls
Projectshttps://github.com/microsoft/python-language-server/projects
Wikihttps://github.com/microsoft/python-language-server/wiki
Security and qualityhttps://github.com/microsoft/python-language-server/security
Insightshttps://github.com/microsoft/python-language-server/insights
https://github.com/microsoft/python-language-server
#1841https://github.com/microsoft/python-language-server/pull/1841
Analysis is stuck if packages are reloaded before it finishes.https://github.com/microsoft/python-language-server/issues/1839#top
#1841https://github.com/microsoft/python-language-server/pull/1841
https://github.com/MikhailArkhipov
bugSomething isn't workinghttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/danzvara
danzvarahttps://github.com/danzvara
on Dec 13, 2019https://github.com/microsoft/python-language-server/issues/1839#issue-537536112
https://gist.github.com/danzvara/8fcd139f5568d38e87957fd6dc3bc9ddhttps://gist.github.com/danzvara/8fcd139f5568d38e87957fd6dc3bc9dd
https://gist.github.com/danzvara/07f94ceffecb071ab2c6e0e2d5101c75https://gist.github.com/danzvara/07f94ceffecb071ab2c6e0e2d5101c75
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Dec 13, 2019https://github.com/microsoft/python-language-server/issues/1839#issuecomment-565520115
#1623https://github.com/microsoft/python-language-server/issues/1623
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Dec 13, 2019https://github.com/microsoft/python-language-server/issues/1839#issuecomment-565642171
#1800https://github.com/microsoft/python-language-server/issues/1800
https://github.com/danzvara
danzvarahttps://github.com/danzvara
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1839#issuecomment-565985962
danzvarahttps://github.com/danzvara
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1839#event-2885783293
https://github.com/danzvara
danzvarahttps://github.com/danzvara
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1839#issuecomment-566042325
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1839#event-2886820234
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
bugSomething isn't workinghttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22bug%22
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1839#event-2886821327
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
completedhttps://github.com/microsoft/python-language-server/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#1841https://github.com/microsoft/python-language-server/pull/1841
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1839#event-2887269571
https://github.com/MikhailArkhipov
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
on Dec 16, 2019https://github.com/microsoft/python-language-server/issues/1839#issuecomment-566217317
#1841https://github.com/microsoft/python-language-server/pull/1841
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/python-language-server/issues/1839
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/python-language-server/issues/1839
Mikhail Arkhipov (MikhailArkhipov)https://github.com/MikhailArkhipov
bugSomething isn't workinghttps://github.com/microsoft/python-language-server/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.