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

catt not installed #70

Open
bin101 opened this issue Jul 18, 2024 · 0 comments
Open

catt not installed #70

bin101 opened this issue Jul 18, 2024 · 0 comments

Comments

@bin101
Copy link

bin101 commented Jul 18, 2024

I tried to use this on my ha core installation running inside lxc on my proxmox host.

Followed the README so far but catt doesn't seems to be installed correctly:

Jul 18 18:18:53 homeassistant-core hass[1748]: 2024-07-18 18:18:53.753 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
Jul 18 18:18:53 homeassistant-core hass[1748]: Traceback (most recent call last):
Jul 18 18:18:53 homeassistant-core hass[1748]:   File "/root/.homeassistant/custom_components/continuously_casting_dashboards/dashboard_caster.py", line 578, in start
Jul 18 18:18:53 homeassistant-core hass[1748]:     if (await self.check_both_states(device_name)) is None:
Jul 18 18:18:53 homeassistant-core hass[1748]:         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 18 18:18:53 homeassistant-core hass[1748]:   File "/root/.homeassistant/custom_components/continuously_casting_dashboards/dashboard_caster.py", line 253, in check_both_states
Jul 18 18:18:53 homeassistant-core hass[1748]:     status_output = await self.check_status(device_name, dashboard_state_name)
Jul 18 18:18:53 homeassistant-core hass[1748]:                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 18 18:18:53 homeassistant-core hass[1748]:   File "/root/.homeassistant/custom_components/continuously_casting_dashboards/dashboard_caster.py", line 172, in check_status
Jul 18 18:18:53 homeassistant-core hass[1748]:     process = await asyncio.create_subprocess_exec(
Jul 18 18:18:53 homeassistant-core hass[1748]:               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 18 18:18:53 homeassistant-core hass[1748]:   File "/root/.pyenv/versions/3.12.1/lib/python3.12/asyncio/subprocess.py", line 224, in create_subprocess_exec
Jul 18 18:18:53 homeassistant-core hass[1748]:     transport, protocol = await loop.subprocess_exec(
Jul 18 18:18:53 homeassistant-core hass[1748]:                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 18 18:18:53 homeassistant-core hass[1748]:   File "/root/.pyenv/versions/3.12.1/lib/python3.12/asyncio/base_events.py", line 1728, in subprocess_exec
Jul 18 18:18:53 homeassistant-core hass[1748]:     transport = await self._make_subprocess_transport(
Jul 18 18:18:53 homeassistant-core hass[1748]:                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 18 18:18:53 homeassistant-core hass[1748]:   File "/root/.pyenv/versions/3.12.1/lib/python3.12/asyncio/unix_events.py", line 211, in _make_subprocess_transport
Jul 18 18:18:53 homeassistant-core hass[1748]:     transp = _UnixSubprocessTransport(self, protocol, args, shell,
Jul 18 18:18:53 homeassistant-core hass[1748]:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Jul 18 18:18:53 homeassistant-core hass[1748]:   File "/root/.pyenv/versions/3.12.1/lib/python3.12/asyncio/base_subprocess.py", line 36, in __init__
Jul 18 18:18:53 homeassistant-core hass[1748]:     self._start(args=args, shell=shell, stdin=stdin, stdout=stdout,
Jul 18 18:18:53 homeassistant-core hass[1748]:   File "/root/.pyenv/versions/3.12.1/lib/python3.12/asyncio/unix_events.py", line 820, in _start
Jul 18 18:18:53 homeassistant-core hass[1748]:     self._proc = subprocess.Popen(
Jul 18 18:18:53 homeassistant-core hass[1748]:                  ^^^^^^^^^^^^^^^^^
Jul 18 18:18:53 homeassistant-core hass[1748]:   File "/root/.pyenv/versions/3.12.1/lib/python3.12/subprocess.py", line 1026, in __init__
Jul 18 18:18:53 homeassistant-core hass[1748]:     self._execute_child(args, executable, preexec_fn, close_fds,
Jul 18 18:18:53 homeassistant-core hass[1748]:   File "/root/.pyenv/versions/3.12.1/lib/python3.12/subprocess.py", line 1950, in _execute_child
Jul 18 18:18:53 homeassistant-core hass[1748]:     raise child_exception_type(errno_num, err_msg, err_filename)
Jul 18 18:18:53 homeassistant-core hass[1748]: FileNotFoundError: [Errno 2] No such file or directory: 'catt'

Even after switching into the pyenv and installing catt manually via pip it still shows the same error FileNotFoundError: [Errno 2] No such file or directory: 'catt'.
Any idea?

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

1 participant