Title: Error during cleanup of server sqlite: Attempted to exit cancel scope in a different task than it was entered in · Issue #252 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: Error during cleanup of server sqlite: Attempted to exit cancel scope in a different task than it was entered in · Issue #252 · modelcontextprotocol/python-sdk
X Title: Error during cleanup of server sqlite: Attempted to exit cancel scope in a different task than it was entered in · Issue #252 · modelcontextprotocol/python-sdk
Description: Describe the bug When running examples\clients\simple-chatbot\mcp_simple_chatbot\main.py 2025-03-10 19:55:12,391 - ERROR - Error during cleanup of server sqlite: Attempted to exit cancel scope in a different task than it was entered in 2...
Open Graph Description: Describe the bug When running examples\clients\simple-chatbot\mcp_simple_chatbot\main.py 2025-03-10 19:55:12,391 - ERROR - Error during cleanup of server sqlite: Attempted to exit cancel scope in a...
X Description: Describe the bug When running examples\clients\simple-chatbot\mcp_simple_chatbot\main.py 2025-03-10 19:55:12,391 - ERROR - Error during cleanup of server sqlite: Attempted to exit cancel scope in a...
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/issues/252
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error during cleanup of server sqlite: Attempted to exit cancel scope in a different task than it was entered in","articleBody":"**Describe the bug**\nWhen running examples\\clients\\simple-chatbot\\mcp_simple_chatbot\\main.py\n\n2025-03-10 19:55:12,391 - ERROR - Error during cleanup of server sqlite: Attempted to exit cancel scope in a different task than it was entered in\n2025-03-10 19:55:12,467 - ERROR - an error occurred during closing of asynchronous generator \u003casync_generator object stdio_client at 0x0000014698D39930\u003e\n\n\n**Expected behavior**\nA clear and concise description of what you expected to happen.\n\n\n**Desktop (please complete the following information):**\n - OS: win10 and ubuntu","author":{"url":"https://github.com/xiongzhp","@type":"Person","name":"xiongzhp"},"datePublished":"2025-03-10T12:00:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/252/python-sdk/issues/252"}
| 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:6262e9ab-3c52-1524-42c5-ee0c4827f2c9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8BC2:1A808D:16DFD28:1E8FB8E:6A5ACA6B |
| html-safe-nonce | 8a97c8d40bd28543f435d6b777ba142304a4782c6f24b59d84732a14030da0ef |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkMyOjFBODA4RDoxNkRGRDI4OjFFOEZCOEU6NkE1QUNBNkIiLCJ2aXNpdG9yX2lkIjoiNDUyNDA4MDk5Njc0OTU5MzE5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cc206ebe2ca6c9886b9d00d5968437db32a9dff0f48a2ecc0333811fc5cd83c8 |
| hovercard-subject-tag | issue:2907037508 |
| 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/modelcontextprotocol/python-sdk/252/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bffe52722b4e1721a34164c276addbaf4397dbba5b605e1db992611228e6671d/modelcontextprotocol/python-sdk/issues/252 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bffe52722b4e1721a34164c276addbaf4397dbba5b605e1db992611228e6671d/modelcontextprotocol/python-sdk/issues/252 |
| og:image:alt | Describe the bug When running examples\clients\simple-chatbot\mcp_simple_chatbot\main.py 2025-03-10 19:55:12,391 - ERROR - Error during cleanup of server sqlite: Attempted to exit cancel scope in a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | xiongzhp |
| hostname | github.com |
| expected-hostname | github.com |
| None | 887a0902ea4987c46dd44cbc73dfadecb93a29560d7519a576fcecd81716148c |
| turbo-cache-control | no-preview |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| 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 | 2606513ce6b72f8b775db6a60283f9cf7d4d70a5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width