I tried creating a very simple app as given on the github page and I am getting this error.
The code for app
from streamlit_webrtc import webrtc_streamer
webrtc_streamer(key="sample")
The error:
Exception in callback Transaction.__retry()
handle: <TimerHandle when=4778449.679631956 Transaction.__retry()>
Traceback (most recent call last):
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 1054, in sendto
self._sock.sendto(data, addr)
AttributeError: 'NoneType' object has no attribute 'sendto'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/site-packages/aioice/stun.py", line 312, in __retry
self.__protocol.send_stun(self.__request, self.__addr)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/site-packages/aioice/ice.py", line 266, in send_stun
self.transport.sendto(bytes(message), addr)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 1064, in sendto
self._fatal_error(
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 711, in _fatal_error
self._loop.call_exception_handler({
AttributeError: 'NoneType' object has no attribute 'call_exception_handler'
Exception in callback Transaction.__retry()
handle: <TimerHandle when=4778449.795399997 Transaction.__retry()>
Traceback (most recent call last):
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 1054, in sendto
self._sock.sendto(data, addr)
AttributeError: 'NoneType' object has no attribute 'sendto'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/site-packages/aioice/stun.py", line 312, in __retry
self.__protocol.send_stun(self.__request, self.__addr)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/site-packages/aioice/ice.py", line 266, in send_stun
self.transport.sendto(bytes(message), addr)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 1064, in sendto
self._fatal_error(
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 711, in _fatal_error
self._loop.call_exception_handler({
AttributeError: 'NoneType' object has no attribute 'call_exception_handler'
Exception in callback Transaction.__retry()
handle: <TimerHandle when=4778449.815933422 Transaction.__retry()>
Traceback (most recent call last):
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 1054, in sendto
self._sock.sendto(data, addr)
AttributeError: 'NoneType' object has no attribute 'sendto'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/site-packages/aioice/stun.py", line 312, in __retry
self.__protocol.send_stun(self.__request, self.__addr)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/site-packages/aioice/ice.py", line 266, in send_stun
self.transport.sendto(bytes(message), addr)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 1064, in sendto
self._fatal_error(
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 711, in _fatal_error
self._loop.call_exception_handler({
AttributeError: 'NoneType' object has no attribute 'call_exception_handler'
Exception in callback Transaction.__retry()
handle: <TimerHandle when=4778449.836423066 Transaction.__retry()>
Traceback (most recent call last):
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 1054, in sendto
self._sock.sendto(data, addr)
AttributeError: 'NoneType' object has no attribute 'sendto'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/site-packages/aioice/stun.py", line 312, in __retry
self.__protocol.send_stun(self.__request, self.__addr)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/site-packages/aioice/ice.py", line 266, in send_stun
self.transport.sendto(bytes(message), addr)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 1064, in sendto
self._fatal_error(
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 711, in _fatal_error
self._loop.call_exception_handler({
AttributeError: 'NoneType' object has no attribute 'call_exception_handler'
Exception in callback Transaction.__retry()
handle: <TimerHandle when=4778449.856991508 Transaction.__retry()>
Traceback (most recent call last):
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 1054, in sendto
self._sock.sendto(data, addr)
AttributeError: 'NoneType' object has no attribute 'sendto'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/site-packages/aioice/stun.py", line 312, in __retry
self.__protocol.send_stun(self.__request, self.__addr)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/site-packages/aioice/ice.py", line 266, in send_stun
self.transport.sendto(bytes(message), addr)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 1064, in sendto
self._fatal_error(
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 711, in _fatal_error
self._loop.call_exception_handler({
AttributeError: 'NoneType' object has no attribute 'call_exception_handler'
Exception in callback Transaction.__retry()
handle: <TimerHandle when=4778449.877526022 Transaction.__retry()>
Traceback (most recent call last):
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 1054, in sendto
self._sock.sendto(data, addr)
AttributeError: 'NoneType' object has no attribute 'sendto'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/site-packages/aioice/stun.py", line 312, in __retry
self.__protocol.send_stun(self.__request, self.__addr)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/site-packages/aioice/ice.py", line 266, in send_stun
self.transport.sendto(bytes(message), addr)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 1064, in sendto
self._fatal_error(
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 711, in _fatal_error
self._loop.call_exception_handler({
AttributeError: 'NoneType' object has no attribute 'call_exception_handler'
Exception in callback Transaction.__retry()
handle: <TimerHandle when=4778449.898057376 Transaction.__retry()>
Traceback (most recent call last):
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 1054, in sendto
self._sock.sendto(data, addr)
AttributeError: 'NoneType' object has no attribute 'sendto'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/site-packages/aioice/stun.py", line 312, in __retry
self.__protocol.send_stun(self.__request, self.__addr)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/site-packages/aioice/ice.py", line 266, in send_stun
self.transport.sendto(bytes(message), addr)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 1064, in sendto
self._fatal_error(
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 711, in _fatal_error
self._loop.call_exception_handler({
AttributeError: 'NoneType' object has no attribute 'call_exception_handler'
Exception in callback Transaction.__retry()
handle: <TimerHandle when=4778449.918592512 Transaction.__retry()>
Traceback (most recent call last):
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 1054, in sendto
self._sock.sendto(data, addr)
AttributeError: 'NoneType' object has no attribute 'sendto'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/site-packages/aioice/stun.py", line 312, in __retry
self.__protocol.send_stun(self.__request, self.__addr)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/site-packages/aioice/ice.py", line 266, in send_stun
self.transport.sendto(bytes(message), addr)
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 1064, in sendto
self._fatal_error(
File "/home/cs20btech11063/anaconda3/envs/honors_env/lib/python3.9/asyncio/selector_events.py", line 711, in _fatal_error
self._loop.call_exception_handler({
AttributeError: 'NoneType' object has no attribute 'call_exception_handler'```