error when I ask to open web via mcp-chrome, aider-ce install playwright then spit error:
Aider-CE version: 0.91.5.dev3
Python version: 3.12.7
Platform: Windows-11-10.0.26200-SP0
Python implementation: CPython
Virtual environment: No
OS: Windows 11 (64bit)
Git version: git version 2.52.0.windows.1
Configuration:
35turbo: False
4: False
4_turbo: False
4o: False
add_gitignore_files: False
agent_config: None
aiderignore: C:\Users\slash\Documents\penana.aiderignore
alias: None
analytics: None
analytics_disable: False
analytics_log: None
analytics_posthog_host: None
apply: None
apply_clipboard_edits: False
assistant_output_color: #00FFFF
attribute_author: None
attribute_co_authored_by: True
attribute_commit_message_author: False
attribute_commit_message_committer: False
attribute_committer: None
auto_accept_architect: True
auto_commits: True
auto_lint: True
auto_load: False
auto_save: False
auto_save_session_name: auto-save
auto_test: False
cache_keepalive_pings: 0
cache_prompts: True
chat_history_file: C:\Users\slash\Documents\penana.aider.chat.history.md
chat_language: None
check_model_accepts_settings: True
check_update: True
code_theme: monokai
command_prefix: None
commit: False
commit_language: None
commit_prompt: None
completion_menu_bg_color: None
completion_menu_color: None
completion_menu_current_bg_color: None
completion_menu_current_color: None
config: None
context_compaction_max_tokens: None
context_compaction_summary_tokens: 4096
copy_paste: False
dark_mode: True
debug: False
deepseek: False
detect_urls: True
dirty_commits: True
disable_playwright: False
dry_run: False
edit_format: None
editor: None
editor_edit_format: None
editor_model: None
enable_context_compaction: False
encoding: utf-8
env_file: C:\Users\slash\Documents\penana.env
exit: False
fancy_input: True
file: None
files: []
git: True
git_commit_verify: False
gitignore: True
haiku: False
input_history_file: C:\Users\slash\Documents\penana.aider.input.history
install_main_branch: False
just_check_update: False
light_mode: False
line_endings: platform
linear_output: True
lint: False
lint_cmd: []
list_models: None
llm_history_file: None
load: None
map_cache_dir: .
map_max_line_length: 100
map_memory_cache: False
map_multiplier_no_files: 2
map_refresh: files
map_tokens: None
max_chat_history_tokens: None
mcp_servers: ['context7', 'fetch', 'chrome-devtools']
mcp_servers_file: None
mcp_transport: stdio
message: None
message_file: None
mini: False
model: xai/grok-code-fast-1
model_metadata_file: .aider.model.metadata.json
model_overrides: None
model_overrides_file: .aider.model.overrides.yml
model_settings_file: .aider.model.settings.yml
multiline: False
notifications: False
notifications_command: None
o1_mini: False
o1_preview: False
openai_api_base: None
openai_api_deployment_id: None
openai_api_type: None
openai_api_version: None
openai_organization_id: None
opus: False
preserve_todo_list: False
pretty: True
read: None
reasoning_effort: None
restore_chat_history: False
set_env: []
shell_completions: None
show_diffs: False
show_model_warnings: True
show_prompts: False
show_release_notes: None
show_repo_map: False
skip_sanity_check_repo: False
sonnet: False
stream: True
subtree_only: False
suggest_shell_commands: True
test: False
test_cmd: []
thinking_tokens: None
timeout: None
tool_error_color: #FF3333
tool_output_color: None
tool_warning_color: #FFFF00
tui: None
tui_config: None
tweak_responses: False
upgrade: False
use_enhanced_map: False
user_input_color: #32FF32
verbose: False
verify_ssl: True
vim: False
voice_format: wav
voice_input_device: None
voice_language: en
watch_files: False
weak_model: None
yes_always: None
yes_always_commands: False
An uncaught exception occurred:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "__main__.py", line 7, in <module>
sys.exit(main())
^^^^^^
File "main.py", line 584, in main
return asyncio.run(
^^^^^^^^^^^^
File "runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "main.py", line 1437, in main_async
await coder.run()
File "base_coder.py", line 1272, in run
return await self._run_linear(with_message, preproc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "io.py", line 1036, in stop_output_task
await output_task
TypeError: can only concatenate str (not "NoneType") to str
agent> test agent, tolong buka https://fia.ub.ac.id dan buat summary, gunakan mcp chrome ya
Processing...
https://fia.ub.ac.id
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Add URL to the chat? (Y)es/(N)o/(D)on't ask again [Yes]:
Scraping https://fia.ub.ac.id...
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-124' coro=<Connection.run() done, defined at C:\Users\slash\anaconda3\Lib\site-packages\playwright_impl_connection.py:305> exception=NotImplementedError()>
Traceback (most recent call last):
File "C:\Users\slash\anaconda3\Lib\site-packages\playwright_impl_connection.py", line 312, in run
await self._transport.connect()
File "C:\Users\slash\anaconda3\Lib\site-packages\playwright_impl_transport.py", line 133, in connect
raise exc
File "C:\Users\slash\anaconda3\Lib\site-packages\playwright_impl_transport.py", line 120, in connect
self._proc = await asyncio.create_subprocess_exec(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\asyncio\subprocess.py", line 224, in create_subprocess_exec
transport, protocol = await loop.subprocess_exec(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\asyncio\base_events.py", line 1743, in subprocess_exec
transport = await self._make_subprocess_transport(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\asyncio\base_events.py", line 524, in _make_subprocess_transport
raise NotImplementedError
NotImplementedError
chromium errors
For the best web scraping, install Playwright:
C:\Users\slash\anaconda3\python.exe -m playwright install --with-deps chromium
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-136' coro=<Connection.run() done, defined at C:\Users\slash\anaconda3\Lib\site-packages\playwright_impl_connection.py:305> exception=NotImplementedError()>
Traceback (most recent call last):
File "C:\Users\slash\anaconda3\Lib\site-packages\playwright_impl_connection.py", line 312, in run
await self._transport.connect()
File "C:\Users\slash\anaconda3\Lib\site-packages\playwright_impl_transport.py", line 133, in connect
raise exc
File "C:\Users\slash\anaconda3\Lib\site-packages\playwright_impl_transport.py", line 120, in connect
self._proc = await asyncio.create_subprocess_exec(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\asyncio\subprocess.py", line 224, in create_subprocess_exec
transport, protocol = await loop.subprocess_exec(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\asyncio\base_events.py", line 1743, in subprocess_exec
transport = await self._make_subprocess_transport(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\asyncio\base_events.py", line 524, in _make_subprocess_transport
raise NotImplementedError
NotImplementedError
Error executing command web:
ERROR:asyncio:an error occurred during closing of asynchronous generator <async_generator object stdio_client at 0x000002AE420FD930>
asyncgen: <async_generator object stdio_client at 0x000002AE420FD930>
- Exception Group Traceback (most recent call last):
| File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 783, in aexit
| raise BaseExceptionGroup(
| BaseExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "C:\Users\slash\anaconda3\Lib\site-packages\mcp\client\stdio_init_.py", line 189, in stdio_client
| yield read_stream, write_stream
| GeneratorExit
+------------------------------------
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\slash\anaconda3\Lib\site-packages\mcp\client\stdio_init_.py", line 183, in stdio_client
anyio.create_task_group() as tg,
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 789, in aexit
if self.cancel_scope.exit(type(exc), exc, exc.traceback):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 461, in exit
raise RuntimeError(
RuntimeError: Attempted to exit cancel scope in a different task than it was entered in
ERROR:asyncio:an error occurred during closing of asynchronous generator <async_generator object stdio_client at 0x000002AE420FDE70>
asyncgen: <async_generator object stdio_client at 0x000002AE420FDE70>
- Exception Group Traceback (most recent call last):
| File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 783, in aexit
| raise BaseExceptionGroup(
| BaseExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "C:\Users\slash\anaconda3\Lib\site-packages\mcp\client\stdio_init_.py", line 189, in stdio_client
| yield read_stream, write_stream
| GeneratorExit
+------------------------------------
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\slash\anaconda3\Lib\site-packages\mcp\client\stdio_init_.py", line 183, in stdio_client
anyio.create_task_group() as tg,
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 789, in aexit
if self.cancel_scope.exit(type(exc), exc, exc.traceback):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 461, in exit
raise RuntimeError(
RuntimeError: Attempted to exit cancel scope in a different task than it was entered in
ERROR:asyncio:an error occurred during closing of asynchronous generator <async_generator object stdio_client at 0x000002AE420FDA80>
asyncgen: <async_generator object stdio_client at 0x000002AE420FDA80>
- Exception Group Traceback (most recent call last):
| File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 783, in aexit
| raise BaseExceptionGroup(
| BaseExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "C:\Users\slash\anaconda3\Lib\site-packages\mcp\client\stdio_init_.py", line 189, in stdio_client
| yield read_stream, write_stream
| GeneratorExit
+------------------------------------
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\slash\anaconda3\Lib\site-packages\mcp\client\stdio_init_.py", line 183, in stdio_client
anyio.create_task_group() as tg,
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 789, in aexit
if self.cancel_scope.exit(type(exc), exc, exc.traceback):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 461, in exit
raise RuntimeError(
RuntimeError: Attempted to exit cancel scope in a different task than it was entered in
Uncaught TypeError in io.py line 1036
error when I ask to open web via mcp-chrome, aider-ce install playwright then spit error:
Aider-CE version: 0.91.5.dev3
Python version: 3.12.7
Platform: Windows-11-10.0.26200-SP0
Python implementation: CPython
Virtual environment: No
OS: Windows 11 (64bit)
Git version: git version 2.52.0.windows.1
Configuration:
35turbo: False
4: False
4_turbo: False
4o: False
add_gitignore_files: False
agent_config: None
aiderignore: C:\Users\slash\Documents\penana.aiderignore
alias: None
analytics: None
analytics_disable: False
analytics_log: None
analytics_posthog_host: None
apply: None
apply_clipboard_edits: False
assistant_output_color: #00FFFF
attribute_author: None
attribute_co_authored_by: True
attribute_commit_message_author: False
attribute_commit_message_committer: False
attribute_committer: None
auto_accept_architect: True
auto_commits: True
auto_lint: True
auto_load: False
auto_save: False
auto_save_session_name: auto-save
auto_test: False
cache_keepalive_pings: 0
cache_prompts: True
chat_history_file: C:\Users\slash\Documents\penana.aider.chat.history.md
chat_language: None
check_model_accepts_settings: True
check_update: True
code_theme: monokai
command_prefix: None
commit: False
commit_language: None
commit_prompt: None
completion_menu_bg_color: None
completion_menu_color: None
completion_menu_current_bg_color: None
completion_menu_current_color: None
config: None
context_compaction_max_tokens: None
context_compaction_summary_tokens: 4096
copy_paste: False
dark_mode: True
debug: False
deepseek: False
detect_urls: True
dirty_commits: True
disable_playwright: False
dry_run: False
edit_format: None
editor: None
editor_edit_format: None
editor_model: None
enable_context_compaction: False
encoding: utf-8
env_file: C:\Users\slash\Documents\penana.env
exit: False
fancy_input: True
file: None
files: []
git: True
git_commit_verify: False
gitignore: True
haiku: False
input_history_file: C:\Users\slash\Documents\penana.aider.input.history
install_main_branch: False
just_check_update: False
light_mode: False
line_endings: platform
linear_output: True
lint: False
lint_cmd: []
list_models: None
llm_history_file: None
load: None
map_cache_dir: .
map_max_line_length: 100
map_memory_cache: False
map_multiplier_no_files: 2
map_refresh: files
map_tokens: None
max_chat_history_tokens: None
mcp_servers: ['context7', 'fetch', 'chrome-devtools']
mcp_servers_file: None
mcp_transport: stdio
message: None
message_file: None
mini: False
model: xai/grok-code-fast-1
model_metadata_file: .aider.model.metadata.json
model_overrides: None
model_overrides_file: .aider.model.overrides.yml
model_settings_file: .aider.model.settings.yml
multiline: False
notifications: False
notifications_command: None
o1_mini: False
o1_preview: False
openai_api_base: None
openai_api_deployment_id: None
openai_api_type: None
openai_api_version: None
openai_organization_id: None
opus: False
preserve_todo_list: False
pretty: True
read: None
reasoning_effort: None
restore_chat_history: False
set_env: []
shell_completions: None
show_diffs: False
show_model_warnings: True
show_prompts: False
show_release_notes: None
show_repo_map: False
skip_sanity_check_repo: False
sonnet: False
stream: True
subtree_only: False
suggest_shell_commands: True
test: False
test_cmd: []
thinking_tokens: None
timeout: None
tool_error_color: #FF3333
tool_output_color: None
tool_warning_color: #FFFF00
tui: None
tui_config: None
tweak_responses: False
upgrade: False
use_enhanced_map: False
user_input_color: #32FF32
verbose: False
verify_ssl: True
vim: False
voice_format: wav
voice_input_device: None
voice_language: en
watch_files: False
weak_model: None
yes_always: None
yes_always_commands: False
An uncaught exception occurred:
agent> test agent, tolong buka https://fia.ub.ac.id dan buat summary, gunakan mcp chrome ya
Processing...
https://fia.ub.ac.id
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Add URL to the chat? (Y)es/(N)o/(D)on't ask again [Yes]:
Scraping https://fia.ub.ac.id...
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-124' coro=<Connection.run() done, defined at C:\Users\slash\anaconda3\Lib\site-packages\playwright_impl_connection.py:305> exception=NotImplementedError()>
Traceback (most recent call last):
File "C:\Users\slash\anaconda3\Lib\site-packages\playwright_impl_connection.py", line 312, in run
await self._transport.connect()
File "C:\Users\slash\anaconda3\Lib\site-packages\playwright_impl_transport.py", line 133, in connect
raise exc
File "C:\Users\slash\anaconda3\Lib\site-packages\playwright_impl_transport.py", line 120, in connect
self._proc = await asyncio.create_subprocess_exec(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\asyncio\subprocess.py", line 224, in create_subprocess_exec
transport, protocol = await loop.subprocess_exec(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\asyncio\base_events.py", line 1743, in subprocess_exec
transport = await self._make_subprocess_transport(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\asyncio\base_events.py", line 524, in _make_subprocess_transport
raise NotImplementedError
NotImplementedError
chromium errors
For the best web scraping, install Playwright:
C:\Users\slash\anaconda3\python.exe -m playwright install --with-deps chromium
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-136' coro=<Connection.run() done, defined at C:\Users\slash\anaconda3\Lib\site-packages\playwright_impl_connection.py:305> exception=NotImplementedError()>
Traceback (most recent call last):
File "C:\Users\slash\anaconda3\Lib\site-packages\playwright_impl_connection.py", line 312, in run
await self._transport.connect()
File "C:\Users\slash\anaconda3\Lib\site-packages\playwright_impl_transport.py", line 133, in connect
raise exc
File "C:\Users\slash\anaconda3\Lib\site-packages\playwright_impl_transport.py", line 120, in connect
self._proc = await asyncio.create_subprocess_exec(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\asyncio\subprocess.py", line 224, in create_subprocess_exec
transport, protocol = await loop.subprocess_exec(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\asyncio\base_events.py", line 1743, in subprocess_exec
transport = await self._make_subprocess_transport(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\asyncio\base_events.py", line 524, in _make_subprocess_transport
raise NotImplementedError
NotImplementedError
Error executing command web:
ERROR:asyncio:an error occurred during closing of asynchronous generator <async_generator object stdio_client at 0x000002AE420FD930>
asyncgen: <async_generator object stdio_client at 0x000002AE420FD930>
| File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 783, in aexit
| raise BaseExceptionGroup(
| BaseExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "C:\Users\slash\anaconda3\Lib\site-packages\mcp\client\stdio_init_.py", line 189, in stdio_client
| yield read_stream, write_stream
| GeneratorExit
+------------------------------------
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\slash\anaconda3\Lib\site-packages\mcp\client\stdio_init_.py", line 183, in stdio_client
anyio.create_task_group() as tg,
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 789, in aexit
if self.cancel_scope.exit(type(exc), exc, exc.traceback):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 461, in exit
raise RuntimeError(
RuntimeError: Attempted to exit cancel scope in a different task than it was entered in
ERROR:asyncio:an error occurred during closing of asynchronous generator <async_generator object stdio_client at 0x000002AE420FDE70>
asyncgen: <async_generator object stdio_client at 0x000002AE420FDE70>
| File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 783, in aexit
| raise BaseExceptionGroup(
| BaseExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "C:\Users\slash\anaconda3\Lib\site-packages\mcp\client\stdio_init_.py", line 189, in stdio_client
| yield read_stream, write_stream
| GeneratorExit
+------------------------------------
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\slash\anaconda3\Lib\site-packages\mcp\client\stdio_init_.py", line 183, in stdio_client
anyio.create_task_group() as tg,
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 789, in aexit
if self.cancel_scope.exit(type(exc), exc, exc.traceback):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 461, in exit
raise RuntimeError(
RuntimeError: Attempted to exit cancel scope in a different task than it was entered in
ERROR:asyncio:an error occurred during closing of asynchronous generator <async_generator object stdio_client at 0x000002AE420FDA80>
asyncgen: <async_generator object stdio_client at 0x000002AE420FDA80>
| File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 783, in aexit
| raise BaseExceptionGroup(
| BaseExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "C:\Users\slash\anaconda3\Lib\site-packages\mcp\client\stdio_init_.py", line 189, in stdio_client
| yield read_stream, write_stream
| GeneratorExit
+------------------------------------
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\slash\anaconda3\Lib\site-packages\mcp\client\stdio_init_.py", line 183, in stdio_client
anyio.create_task_group() as tg,
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 789, in aexit
if self.cancel_scope.exit(type(exc), exc, exc.traceback):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\slash\anaconda3\Lib\site-packages\anyio_backends_asyncio.py", line 461, in exit
raise RuntimeError(
RuntimeError: Attempted to exit cancel scope in a different task than it was entered in
Uncaught TypeError in io.py line 1036