-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
SSL has no wrap_socket #165
Comments
+1 to this, it's now blocking the use of the app. It seems Python has changed something and applications need to adapt. |
LGWebOSRemote has an inherent issue here because the web socket dependency being used hasn't been updated since 2018, so it hasn't been updated with compatibility with Python 3.12 in mind. I've been working on an alternative CLI for managing LG TVs which uses a different web socket library which does work with Python 3.12+. It doesn't have all the functionality LGWebOSRemote has but it might work for your needs: https://github.com/Tenzer/alga. |
Thanks @Tenzer , I started using your version and it works well. But I missed screenOff function, so I created a feature request. |
Hello.
I am runnig Arch with python 3.12.3-1
I am getting a error when trying to auth with my tv
I think this a problem with Python 3.12 changes to ssl but I dont have a clue how to fix this.
Traceback (most recent call last):
File "/opt/lgtv-venv/bin/lgtv", line 8, in
sys.exit(main())
^^^^^^
File "/opt/lgtv-venv/lib/python3.12/site-packages/LGTV/init.py", line 137, in main
ws.connect()
File "/opt/lgtv-venv/lib/python3.12/site-packages/ws4py/client/init.py", line 214, in connect
self.sock = ssl.wrap_socket(self.sock, **self.ssl_options)
^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'wrap_socket'
The text was updated successfully, but these errors were encountered: