Skip to content
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

Unhandled Response Samsung TV #139

Open
monnarr opened this issue Aug 3, 2021 · 1 comment
Open

Unhandled Response Samsung TV #139

monnarr opened this issue Aug 3, 2021 · 1 comment

Comments

@monnarr
Copy link

monnarr commented Aug 3, 2021

Hello if I want to give the TV a command, I get a message on TV were I have to accept a foreign controller.
But I got this error in my command prompt
Traceback (most recent call last):
File "C:\Program Files\Python39\Scripts\samsungctl-script.py", line 33, in
sys.exit(load_entry_point('samsungctl==0.8.0b0', 'console_scripts', 'samsungctl')())
File "C:\Program Files\Python39\lib\site-packages\samsungctl-0.8.0b0-py3.9.egg\samsungctl_main_.py", line 355, in main
with Remote(config) as remote:
File "C:\Program Files\Python39\lib\site-packages\samsungctl-0.8.0b0-py3.9.egg\samsungctl\remote.py", line 67, in enter
self.open()
File "C:\Program Files\Python39\lib\site-packages\samsungctl-0.8.0b0-py3.9.egg\samsungctl\utils.py", line 24, in wrapper
return func(*args, **kwargs)
File "C:\Program Files\Python39\lib\site-packages\samsungctl-0.8.0b0-py3.9.egg\samsungctl\remote_legacy.py", line 95, in open
self._read_response(True)
File "C:\Program Files\Python39\lib\site-packages\samsungctl-0.8.0b0-py3.9.egg\samsungctl\utils.py", line 24, in wrapper
return func(*args, **kwargs)
File "C:\Program Files\Python39\lib\site-packages\samsungctl-0.8.0b0-py3.9.egg\samsungctl\remote_legacy.py", line 156, in _read_response
raise exceptions.UnhandledResponse(response)
samsungctl.exceptions.UnhandledResponse: <exception str() failed>

Can someone help?

@ToasterDEV
Copy link

I can attest to having the exact same issue, here is my traceback:

$ samsungctl --host 192.168.1.7 --name myremote KEY_VOLDOWN
Traceback (most recent call last):
  File "/home/toasterdev/miniconda3/bin/samsungctl", line 33, in <module>
    sys.exit(load_entry_point('samsungctl==0.8.0b0', 'console_scripts', 'samsungctl')())
  File "/home/toasterdev/miniconda3/lib/python3.9/site-packages/samsungctl-0.8.0b0-py3.9.egg/samsungctl/__main__.py", line 355, in main
    with Remote(config) as remote:
  File "/home/toasterdev/miniconda3/lib/python3.9/site-packages/samsungctl-0.8.0b0-py3.9.egg/samsungctl/remote.py", line 67, in __enter__
    self.open()
  File "/home/toasterdev/miniconda3/lib/python3.9/site-packages/samsungctl-0.8.0b0-py3.9.egg/samsungctl/utils.py", line 24, in wrapper
    return func(*args, **kwargs)
  File "/home/toasterdev/miniconda3/lib/python3.9/site-packages/samsungctl-0.8.0b0-py3.9.egg/samsungctl/remote_legacy.py", line 95, in open
    self._read_response(True)
  File "/home/toasterdev/miniconda3/lib/python3.9/site-packages/samsungctl-0.8.0b0-py3.9.egg/samsungctl/utils.py", line 24, in wrapper
    return func(*args, **kwargs)
  File "/home/toasterdev/miniconda3/lib/python3.9/site-packages/samsungctl-0.8.0b0-py3.9.egg/samsungctl/remote_legacy.py", line 156, in _read_response
    raise exceptions.UnhandledResponse(response)
samsungctl.exceptions.UnhandledResponse: <exception str() failed>

The TV prompts for permission to allow "myremote" to control it, but after that nothing happens.

Thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants