-
-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why error : AttributeError: 'NoneType' object has no attribute 'call_exception_handler' #1618
Comments
I am using python version 3.9.19 |
Hello! I have same error :( Traceback (most recent call last): |
Same - I only get it when I push my app to a web server (using cloud foundry here). locally it works just fine. implemented the TURN setup via Twillio as suggested |
also Python11 and Python 12 on MacOS with conda env. |
also on Ubuntu 24.04 |
I noticed that on streamlit==1.34.0 the camera doesn't work. I tried installing an earlier version and it worked fine |
same here issues with 1.34, downgraded to 1.3 and it is working.. |
Thank you for the report. |
Hey @whitphx , I appreciate that you are patching this up! In the meantime, is there any requirements.txt with correct versions of streamlit and other dependencies that we can use with the latest release? |
If you are using |
thank you @whitphx for helping me, and fixed the package, so i can finished my final report program |
This is happening again with |
You can now view your Streamlit app in your browser.
Local URL: http://localhost:8501
Network URL: http://192.168.1.3:8501
Exception in callback Transaction.__retry()
handle: <TimerHandle when=1014459.718 Transaction.__retry()>
Traceback (most recent call last):
File "C:\Users*****\miniconda3\envs\conda39\lib\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 "C:\Users*\miniconda3\envs\conda39\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, self._args)
File "C:\Users*\miniconda3\envs\conda39\lib\site-packages\aioice\stun.py", line 312, in __retry
self.__protocol.send_stun(self.__request, self.__addr)
File "C:\Users*\miniconda3\envs\conda39\lib\site-packages\aioice\ice.py", line 266, in send_stun
self.transport.sendto(bytes(message), addr)
File "C:\Users*\miniconda3\envs\conda39\lib\asyncio\selector_events.py", line 1064, in sendto
self._fatal_error(
File "C:\Users*\miniconda3\envs\conda39\lib\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=1014461.453 Transaction.__retry()>
Traceback (most recent call last):
File "C:\Users**\miniconda3\envs\conda39\lib\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 "C:\Users*\miniconda3\envs\conda39\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, self._args)
File "C:\Users*\miniconda3\envs\conda39\lib\site-packages\aioice\stun.py", line 312, in __retry
self.__protocol.send_stun(self.__request, self.__addr)
File "C:\Users*\miniconda3\envs\conda39\lib\site-packages\aioice\ice.py", line 266, in send_stun
self.transport.sendto(bytes(message), addr)
File "C:\Users*\miniconda3\envs\conda39\lib\asyncio\selector_events.py", line 1064, in sendto
self._fatal_error(
File "C:\Users****\miniconda3\envs\conda39\lib\asyncio\selector_events.py", line 711, in _fatal_error
self._loop.call_exception_handler({
AttributeError: 'NoneType' object has no attribute 'call_exception_handler'
my code
The text was updated successfully, but these errors were encountered: