René's URL Explorer Experiment


Title: Running tests gives an error and never exits · Issue #679 · python-lsp/python-lsp-server · GitHub

Open Graph Title: Running tests gives an error and never exits · Issue #679 · python-lsp/python-lsp-server

X Title: Running tests gives an error and never exits · Issue #679 · python-lsp/python-lsp-server

Description: After commit 3b1c895, running the test suite with pytest -v gives an error in test_missing_message, and the pytests process never exits after printing the errors, it needs to be interrupted ERROR test/test_language_server.py::test_missin...

Open Graph Description: After commit 3b1c895, running the test suite with pytest -v gives an error in test_missing_message, and the pytests process never exits after printing the errors, it needs to be interrupted ERROR t...

X Description: After commit 3b1c895, running the test suite with pytest -v gives an error in test_missing_message, and the pytests process never exits after printing the errors, it needs to be interrupted ERROR t...

Opengraph URL: https://github.com/python-lsp/python-lsp-server/issues/679

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Running tests gives an error and never exits","articleBody":"After commit 3b1c8959f3b03fb77f9f9c6d11178df3791ed433, running the test suite with `pytest -v` gives an error in `test_missing_message`, and the pytests process never exits after printing the errors, it needs to be interrupted\n```\nERROR test/test_language_server.py::test_missing_message - pylsp_jsonrpc.exceptions.JsonRpcInvalidParams: AttributeError: 'NoneType' object has no attribute 'plugin_manager'\n``` \nFull error log:\n```\n_______________________________________________________ ERROR at teardown of test_missing_message ________________________________________________________\n\n\u003e       lambda: ihook(item=item, **kwds), when=when, reraise=reraise\n                ^^^^^^^^^^^^^^^^^^^^^^^^\n    )\n\n/usr/lib/python3.13/site-packages/flaky/flaky_pytest_plugin.py:146: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntest/fixtures.py:177: in client_server_pair\n    ).result(timeout=CALL_TIMEOUT_IN_SECONDS)\n      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n/usr/lib/python3.13/concurrent/futures/_base.py:456: in result\n    return self.__get_result()\n           ^^^^^^^^^^^^^^^^^^^\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = None\n\n    def __get_result(self):\n        if self._exception is not None:\n            try:\n\u003e               raise self._exception\nE               pylsp_jsonrpc.exceptions.JsonRpcInvalidParams: AttributeError: 'NoneType' object has no attribute 'plugin_manager'\n\n/usr/lib/python3.13/concurrent/futures/_base.py:401: JsonRpcInvalidParams\n------------------------------------------------------------------ Captured stderr call ------------------------------------------------------------------\n2025-10-13 12:29:35,614 CEST - ERROR - pylsp_jsonrpc.endpoint - Failed to handle request 26ef3d3d-1984-43ad-9e92-fd96bca36be0\nTraceback (most recent call last):\n  File \"/usr/lib/python3.13/site-packages/pylsp_jsonrpc/endpoint.py\", line 193, in _handle_request\n    handler = self._dispatcher[method]\n              ~~~~~~~~~~~~~~~~^^^^^^^^\n  File \"/home/antonio/Software/test/python-lsp-server/pylsp/python_lsp.py\", line 235, in __getitem__\n    raise KeyError()\nKeyError\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n  File \"/usr/lib/python3.13/site-packages/pylsp_jsonrpc/endpoint.py\", line 117, in consume\n    self._handle_request(message['id'], message['method'], message.get('params'))\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3.13/site-packages/pylsp_jsonrpc/endpoint.py\", line 195, in _handle_request\n    raise JsonRpcMethodNotFound.of(method) from e\npylsp_jsonrpc.exceptions.JsonRpcMethodNotFound: Method Not Found: unknown_method\n------------------------------------------------------------------- Captured log call --------------------------------------------------------------------\nERROR    pylsp_jsonrpc.endpoint:endpoint.py:119 Failed to handle request 26ef3d3d-1984-43ad-9e92-fd96bca36be0\nTraceback (most recent call last):\n  File \"/usr/lib/python3.13/site-packages/pylsp_jsonrpc/endpoint.py\", line 193, in _handle_request\n    handler = self._dispatcher[method]\n              ~~~~~~~~~~~~~~~~^^^^^^^^\n  File \"/home/antonio/Software/test/python-lsp-server/pylsp/python_lsp.py\", line 235, in __getitem__\n    raise KeyError()\nKeyError\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n  File \"/usr/lib/python3.13/site-packages/pylsp_jsonrpc/endpoint.py\", line 117, in consume\n    self._handle_request(message['id'], message['method'], message.get('params'))\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3.13/site-packages/pylsp_jsonrpc/endpoint.py\", line 195, in _handle_request\n    raise JsonRpcMethodNotFound.of(method) from e\npylsp_jsonrpc.exceptions.JsonRpcMethodNotFound: Method Not Found: unknown_method\n---------------------------------------------------------------- Captured stderr teardown ----------------------------------------------------------------\n2025-10-13 12:29:35,617 CEST - ERROR - pylsp_jsonrpc.endpoint - Failed to handle request ceb5ba62-8bb1-4f7d-bf7e-523becfa94e9\nTraceback (most recent call last):\n  File \"/usr/lib/python3.13/site-packages/pylsp_jsonrpc/endpoint.py\", line 117, in consume\n    self._handle_request(message['id'], message['method'], message.get('params'))\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3.13/site-packages/pylsp_jsonrpc/endpoint.py\", line 197, in _handle_request\n    handler_result = handler(params)\n  File \"/usr/lib/python3.13/site-packages/pylsp_jsonrpc/dispatchers.py\", line 25, in handler\n    return method(**(params or {}))\n  File \"/home/antonio/Software/test/python-lsp-server/pylsp/python_lsp.py\", line 240, in m_shutdown\n    self._hook(\"pylsp_shutdown\")\n    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^\n  File \"/home/antonio/Software/test/python-lsp-server/pylsp/python_lsp.py\", line 266, in _hook\n    hook_handlers = self.config.plugin_manager.subset_hook_caller(\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: 'NoneType' object has no attribute 'plugin_manager'\n----------------------------------------------------------------- Captured log teardown ------------------------------------------------------------------\nERROR    pylsp_jsonrpc.endpoint:endpoint.py:126 Failed to handle request ceb5ba62-8bb1-4f7d-bf7e-523becfa94e9\nTraceback (most recent call last):\n  File \"/usr/lib/python3.13/site-packages/pylsp_jsonrpc/endpoint.py\", line 117, in consume\n    self._handle_request(message['id'], message['method'], message.get('params'))\n    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/lib/python3.13/site-packages/pylsp_jsonrpc/endpoint.py\", line 197, in _handle_request\n    handler_result = handler(params)\n  File \"/usr/lib/python3.13/site-packages/pylsp_jsonrpc/dispatchers.py\", line 25, in handler\n    return method(**(params or {}))\n  File \"/home/antonio/Software/test/python-lsp-server/pylsp/python_lsp.py\", line 240, in m_shutdown\n    self._hook(\"pylsp_shutdown\")\n    ~~~~~~~~~~^^^^^^^^^^^^^^^^^^\n  File \"/home/antonio/Software/test/python-lsp-server/pylsp/python_lsp.py\", line 266, in _hook\n    hook_handlers = self.config.plugin_manager.subset_hook_caller(\n                    ^^^^^^^^^^^^^^^^^^^^^^^^^^\nAttributeError: 'NoneType' object has no attribute 'plugin_manager'\n```","author":{"url":"https://github.com/antonio-rojas","@type":"Person","name":"antonio-rojas"},"datePublished":"2025-10-13T10:37:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/679/python-lsp-server/issues/679"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:bd987449-e82c-3e31-1024-f2aceec2caf2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id82D8:E86F7:30C83CC:3173ADA:69702F33
html-safe-nonce732c4ad53fd95aba26dec6095e0a3da70a324741b1b81dd1918a22472468f46e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkQ4OkU4NkY3OjMwQzgzQ0M6MzE3M0FEQTo2OTcwMkYzMyIsInZpc2l0b3JfaWQiOiIzNTM0NzY0MzE0MDc5NTM4OTk1IiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0=
visitor-hmace6be1acd70f4931fd635c10daf18ff4542bae1b5bab9cc74d7128a3fb2c22658
hovercard-subject-tagissue:3509463199
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/python-lsp/python-lsp-server/679/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c919e7ded429a938b94337aa4b08302716240149feb5512b36b8387a28487ffe/python-lsp/python-lsp-server/issues/679
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c919e7ded429a938b94337aa4b08302716240149feb5512b36b8387a28487ffe/python-lsp/python-lsp-server/issues/679
og:image:altAfter commit 3b1c895, running the test suite with pytest -v gives an error in test_missing_message, and the pytests process never exits after printing the errors, it needs to be interrupted ERROR t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameantonio-rojas
hostnamegithub.com
expected-hostnamegithub.com
None01fa379f5de85ef8e791d09724e69709ce9eb9595278316e0a921312dc88e0bc
turbo-cache-controlno-preview
go-importgithub.com/python-lsp/python-lsp-server git https://github.com/python-lsp/python-lsp-server.git
octolytics-dimension-user_id51609341
octolytics-dimension-user_loginpython-lsp
octolytics-dimension-repository_id341006790
octolytics-dimension-repository_nwopython-lsp/python-lsp-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id341006790
octolytics-dimension-repository_network_root_nwopython-lsp/python-lsp-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
releasedda91974c069382b0dfa47b2da7e28bd061c8331
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues/679#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-lsp%2Fpython-lsp-server%2Fissues%2F679
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-lsp%2Fpython-lsp-server%2Fissues%2F679
Sign up https://patch-diff.githubusercontent.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=python-lsp%2Fpython-lsp-server
Reloadhttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues/679
Reloadhttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues/679
Reloadhttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues/679
python-lsp https://patch-diff.githubusercontent.com/python-lsp
python-lsp-serverhttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-lsp%2Fpython-lsp-server
Fork 230 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-lsp%2Fpython-lsp-server
Star 2.5k https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-lsp%2Fpython-lsp-server
Code https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server
Issues 144 https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues
Pull requests 21 https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pulls
Discussions https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/discussions
Actions https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/actions
Projects 0 https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/security
Please reload this pagehttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues/679
Insights https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pulse
Code https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server
Issues https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues
Pull requests https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pulls
Discussions https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/discussions
Actions https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/actions
Projects https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/projects
Security https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/security
Insights https://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/python-lsp/python-lsp-server/issues/679
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/python-lsp/python-lsp-server/issues/679
Running tests gives an error and never exitshttps://patch-diff.githubusercontent.com/python-lsp/python-lsp-server/issues/679#top
https://github.com/antonio-rojas
https://github.com/antonio-rojas
antonio-rojashttps://github.com/antonio-rojas
on Oct 13, 2025https://github.com/python-lsp/python-lsp-server/issues/679#issue-3509463199
3b1c895https://github.com/python-lsp/python-lsp-server/commit/3b1c8959f3b03fb77f9f9c6d11178df3791ed433
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.