About fresh install, I’ve actually had a bunch of issues recently.
I’ve had my venv and most packages installed in there for more than 2 years now. Last week I messed up a command and ended up deleting the entire venv folder.
I’ve recreated from scratch, but I’m now experiencing issues I never had before.
First, I can’t start the stream domain because of a missing library, and I’m not sure where is it supposed to take it from:
2023-09-08 11:11:58.865 ERROR (MainThread) [homeassistant.setup] Error during setup of component stream
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/setup.py", line 288, in _async_setup_component
result = await task
^^^^^^^^^^
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/components/stream/__init__.py", line 224, in async_setup
from .recorder import async_setup_recorder
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/homeassistant/components/stream/recorder.py", line 9, in <module>
import av
File "/home/.homeassistant/deps/lib/python3.11/site-packages/av/__init__.py", line 20, in <module>
from av._core import time_base, library_versions
ImportError: dlopen failed: library "libandroidicu.so" not found
Second and more annoying, I’m getting the same error as @djdery and @tzachov. I cannot start hass anymore unless I run termux-chroot before, because I get a “Bad System Call” error, and no detail whatsoever.
It never happened before, only since I reinstalled from scratch.
Not sure how to properly fix this one, or why it was working before that.
Edit: found this topic about the library [Bug]: opencv 4.8.0 program link libandroidicu.so error · Issue #17509 · termux/termux-packages · GitHub
It mentions:
i found, before i try to run the program, i should change my environment, so i run termux-chroot. after this i get the error.
Could be nothing, but could also be a hint that the first issue is caused by the second one