Open Alex-smartsmile opened 2 weeks ago
There are a few problems with your opened issue. Please fix them by editing the issue:
2024-01-08
Often the problem you are experiencing will be solved by simply making your environment compliant with the requirements (fulfilling the pre-checks).
[I] Platform: Finished initializing platform: Apple TV Enhanced
After editing the issue, the checks will be run again.
Under no circumstances should the issue be adjusted untruthfully. If the issue cannot fulfill the pre-checks, your environment is simply not supported.
If you do not adjust the issue accordingly, the issue will be automatically closed after 60 days of inactivity.
The amount of information given is astonishing.
Install python-dev
apt package by executing sudo apt install python-dev
and try again. Please give me some feedback afterwards.
Thank you for the help
Than it says:
Reading package lists... Done Building dependency tree Reading state information... Done Package python-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: python2 python2-dev E: Package 'python-dev' has no installation candidate
Is python3-dev
available?
Yes after doing apt-get install python3-de
It says :
Reading package lists... Done Building dependency tree Reading state information... Done python3-dev is already the newest version (3.8.2-0ubuntu2) • The following packages were automatically installed and are no longer required: libpython2-dev libpython2.7 libpython2.7-dev python2-dev python2. 7-dev Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Preconditions
Requirements fulfilled The known issues did not answer my question The question has not been asked in the past or the answer does not satisfy me There is currently no other opened issue that matches my question I cannot find any answer to my question in GitHub discussions Current Situation
The Plugin is rebooting all the the time with the error code: ERROR: Failed building wheel for miniaudio
Logs
� Building wheel for miniaudio (pyproject.toml) did not run successfully. � exit code: 1 ��> [20 lines of output] /tmp/pip-build-env-rww0rpmc/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) /tmp/pip-build-env-rww0rpmc/overlay/lib/python3.9/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) running bdist_wheel running build running build_py creating build/lib.linux-aarch64-cpython-39 copying miniaudio.py -> build/lib.linux-aarch64-cpython-39 running build_ext generating cffi module 'build/temp.linux-aarch64-cpython-39/_miniaudio.c' creating build/temp.linux-aarch64-cpython-39 building '_miniaudio' extension creating build/temp.linux-aarch64-cpython-39/build/temp.linux-aarch64-cpython-39 aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DMA_NO_GENERATION=1 -DMA_NO_ENCODING=1 -DMA_NO_RESOURCE_MANAGER=1 -DMA_NO_NODE_GRAPH=1 -DMA_NO_ENGINE=1 -I/tmp/pip-install-fj1d24or/miniaudio_01e5abf8e3934fa5b934a5fbf2fe631d -I/tmp/pip-install-fj1d24or/miniaudio_01e5abf8e3934fa5b934a5fbf2fe631d -I/var/lib/homebridge/appletv-enhanced/.venv/include -I/usr/include/python3.9 -c build/temp.linux-aarch64-cpython-39/_miniaudio.c -o build/temp.linux-aarch64-cpython-39/build/temp.linux-aarch64-cpython-39/_miniaudio.o -g1 -O3 -ffast-math build/temp.linux-aarch64-cpython-39/_miniaudio.c:50:14: fatal error: pyconfig.h: No such file or directory 50 | # include
| ^
~~~ compilation terminated. error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1 [end of output]note: This error originates from a subprocess, and is likely not a problem with pip.
[10/29/2024, 11:20:04 AM] [Apple TV Enhanced] [E] Python check: ERROR: Failed building wheel for miniaudio
[10/29/2024, 11:20:04 AM] [Apple TV Enhanced] [I] Python check: Failed to build miniaudio [10/29/2024, 11:20:04 AM] [Apple TV Enhanced] [E] Python check: ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (miniaudio)
[10/29/2024, 11:20:06 AM] [Apple TV Enhanced] [S] Python check: Python requirements installed. [10/29/2024, 11:20:06 AM] [Apple TV Enhanced] [S] Python check: Finished [10/29/2024, 11:20:06 AM] [Apple TV Enhanced] [I] Platform: Starting device discovery ... Error: spawn /var/lib/homebridge/appletv-enhanced/.venv/bin/atvscript ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at processTicksAndRejections (node:internal/process/task_queues:82:21) [10/29/2024, 11:20:06 AM] [Apple TV Enhanced] Child bridge process ended
Nothing change Operating System
Linux Homebridge
Operating System: Bits
64-bit
Operating System: Distribution
Pi OS
Operating System: Distribution Version
12
Docker
yes
Docker Image
homebridge/homebridge
Docker Image Tag
No response
Homebridge Version
1.8.5
Homebridge Config UI Version
v4.62.0
Homebridge Storage Path
/var/lib/homebridge
Homebridge Apple TV Enhanced Version
1.9.1
Node Version
v20.18.0
NPM Version
10.8.2
Python Version
3.9.5
PIP Version
24.3.1
HDMI Hops
No response
Audio Output
no
Same Subnet
yes
Additional Context
No response