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

tellstick: No such file or directory: 'socat': 'socat' #24113

Closed
theseal opened this issue May 25, 2019 · 0 comments · Fixed by #24531
Closed

tellstick: No such file or directory: 'socat': 'socat' #24113

theseal opened this issue May 25, 2019 · 0 comments · Fixed by #24531

Comments

@theseal
Copy link
Contributor

theseal commented May 25, 2019

Home Assistant release with the issue:
0.93.2

Last working Home Assistant release (if known):
-

Operating environment (Hass.io/Docker/Windows/etc.):
Docker

Component/platform:
https://www.home-assistant.io/components/tellstick/

Description of problem:
The tellstick component requires socat to perform operations non-locally but socat isn't available in the Docker environment.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

tellstick:
  host: 192.168.2.96
  port: [50800, 50801]

Traceback (if applicable):

  2019-05-25 19:03:23 ERROR (MainThread) [homeassistant.setup] Error during setup of component tellstick                                      
Traceback (most recent call last):                                                                                                          
  File "/usr/src/app/homeassistant/setup.py", line 156, in _async_setup_component                                                           
    component.setup, hass, processed_config)  # type: ignore                                                                                
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run                                                             
    result = self.fn(*self.args, **self.kwargs)                                                                                             
  File "/usr/src/app/homeassistant/components/tellstick/__init__.py", line 75, in setup                                                     
    net_client.start()                                                                                                                      
  File "/usr/local/lib/python3.7/site-packages/tellcorenet.py", line 39, in start                                                           
    stdout=subprocess.DEVNULL                                                                                                               
  File "/usr/local/lib/python3.7/subprocess.py", line 775, in __init__                                                                      
    restore_signals, start_new_session)                                                                                                     
  File "/usr/local/lib/python3.7/subprocess.py", line 1522, in _execute_child                                                               
    raise child_exception_type(errno_num, err_msg, err_filename)                                                                            
FileNotFoundError: [Errno 2] No such file or directory: 'socat': 'socat'  

Additional information:
Everything works fine if you manually install socat.

@torarnv torarnv mentioned this issue Jun 14, 2019
4 tasks
torarnv added a commit to torarnv/home-assistant that referenced this issue Jun 14, 2019
Otherwise the tellstick component will fail when used with a
remote host running tellcore-net.

Fixes home-assistant#24113
balloob pushed a commit that referenced this issue Jun 19, 2019
Otherwise the tellstick component will fail when used with a
remote host running tellcore-net.

Fixes #24113
alandtse pushed a commit to alandtse/home-assistant that referenced this issue Oct 12, 2019
Otherwise the tellstick component will fail when used with a
remote host running tellcore-net.

Fixes home-assistant#24113
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants