Open Paladin-673 opened 1 month ago
Hi @Paladin-673 ! Can you please share the full minimal reproducer (properly formatted) so that someone can take a look? We would also need all the system info (browser, gradio version and those of its dependencies). Thank you !
Thanks for your attention, my brower is google chrome and graido version is 4.16.0
This code in the attachment can report the same error. Please help to slove this problem, 3q.
@.***
From: Freddy Boulton Date: 2024-05-21 23:14 To: gradio-app/gradio CC: Paladin-673; Mention Subject: Re: [gradio-app/gradio] ConnectionResetError: [WinError 10054] when click radio to switch (Issue #8313) Hi @Paladin-673 ! Can you please share the full minimal reproducer (properly formatted) so that someone can take a look? We would also need all the system info (browser, gradio version and those of its dependencies). Thank you ! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
Thanks for your attention, my brower is google chrome and gradio version is 4.16.0
This code in the attachment can report the same error. Please help to slove this problem, 3q.
@.***
From: Freddy Boulton Date: 2024-05-21 23:14 To: gradio-app/gradio CC: Paladin-673; Mention Subject: Re: [gradio-app/gradio] ConnectionResetError: [WinError 10054] when click radio to switch (Issue #8313) Hi @Paladin-673 ! Can you please share the full minimal reproducer (properly formatted) so that someone can take a look? We would also need all the system info (browser, gradio version and those of its dependencies). Thank you ! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
Describe the bug
my code is like this:
def practiceUI(): def changeCalType(choice): if choice == 'type_one': return {type_one_row: gr.Row(visible=True), type_two_row: gr.Row(visible=False)} if choice == 'type_two': return {type_one_row: gr.Row(visible=False), type_two_row: gr.Row(visible=True)}
and when click the radio to change type, and get misktake like this:
Exception in callback _ProactorBasePipeTransport._call_connection_lost(None) handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)> Traceback (most recent call last): File "asyncio\events.py", line 80, in _run File "asyncio\proactor_events.py", line 162, in _call_connection_lost ConnectionResetError: [WinError 10054]
although this mistake does not effect normal use,but how to clear up this error
Have you searched existing issues? 🔎
Reproduction
def practiceUI(): def changeCalType(choice): if choice == 'type_one': return {type_one_row: gr.Row(visible=True), type_two_row: gr.Row(visible=False)} if choice == 'type_two': return {type_one_row: gr.Row(visible=False), type_two_row: gr.Row(visible=True)}
Screenshot
No response
Logs
No response
System Info
Severity
I can work around it