You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error upon launching cast_control:
afeder@voyager:~$ cast_control -V
cast_control v0.11.8.post0
afeder@voyager:~$ cast_control connect -u 5b6ca94f-332a-4e8d-895f-3b3a94c55d0d
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/home/afeder/.local/lib/python3.9/site-packages/pychromecast/socket_client.py", line 513, in run
self.initialize_connection()
File "/home/afeder/.local/lib/python3.9/site-packages/pychromecast/socket_client.py", line 296, in initialize_connection
host, port, service_info = get_host_from_service(
File "/home/afeder/.local/lib/python3.9/site-packages/pychromecast/dial.py", line 32, in get_host_from_service
service_info = zconf.get_service_info("_googlecast._tcp.local.", service.data)
File "/home/afeder/.local/lib/python3.9/site-packages/zeroconf/_core.py", line 523, in get_service_info
if info.request(self, timeout, question_type):
File "/home/afeder/.local/lib/python3.9/site-packages/zeroconf/_services/info.py", line 455, in request
assert zc.loop is not None and zc.loop.is_running()
AssertionError
Using pychromecast, I can connect and interact with the Chromecast device directly in Python interactive mode with no issues.
Any idea what could be causing this?
The text was updated successfully, but these errors were encountered:
I googled around and found that the CATT project had a similar issue with zeroconf>0.31.0. They resolved it by pinning their dependency to zeroconf==0.31.0 for the time being. I tried installing zeroconf==0.31.0 on my machine and it resolved my issue with cast_control too.
I thus no longer have any problems, but you may or may not want to pin the dependency in cast_control too. I'll leave it to you to decide whether to close the issue.
I get the following error upon launching cast_control:
Using pychromecast, I can connect and interact with the Chromecast device directly in Python interactive mode with no issues.
Any idea what could be causing this?
The text was updated successfully, but these errors were encountered: