sjthespian / addon-tuyagateway

An addon for the [TuyaGateway][tuyagateway] application.
MIT License
17 stars 3 forks source link

Install problem #16

Open kevegabi opened 2 years ago

kevegabi commented 2 years ago

Hello All!

I tried to install the TuyaGateway AddOn, but failed, with this error:

(17/25) Installing make (4.3-r0) (18/25) Installing fortify-headers (1.1-r0) (19/25) Installing patch (2.7.6-r7) (20/25) Installing build-base (0.5-r2) (21/25) Installing pkgconf (1.7.2-r0) (22/25) Installing python3-dev (3.8.10-r0) (23/25) Installing pcre2 (10.35-r0) (24/25) Installing git (2.26.3-r0) (25/25) Installing .build-deps (20210930.191610) Executing busybox-1.31.1-r16.trigger OK: 251 MiB in 84 packages Collecting paho_mqtt==1.5.0 Downloading paho-mqtt-1.5.0.tar.gz (99 kB) Collecting tuyaface==1.4.0 Downloading tuyaface-1.4.0-py3-none-any.whl (11 kB) Collecting bitstring==3.1.6 Downloading bitstring-3.1.6-py3-none-any.whl (37 kB) Collecting pycryptodomex==3.9.7 Downloading pycryptodomex-3.9.7.tar.gz (15.5 MB) Using legacy setup.py install for paho-mqtt, since package 'wheel' is not installed. Using legacy setup.py install for pycryptodomex, since package 'wheel' is not installed. Installing collected packages: paho-mqtt, bitstring, pycryptodomex, tuyaface Running setup.py install for paho-mqtt: started Running setup.py install for paho-mqtt: finished with status 'done' Running setup.py install for pycryptodomex: started Running setup.py install for pycryptodomex: still running... Running setup.py install for pycryptodomex: still running... Running setup.py install for pycryptodomex: finished with status 'done' Successfully installed bitstring-3.1.6 paho-mqtt-1.5.0 pycryptodomex-3.9.7 tuyaface-1.4.0 Collecting tuyagateway Downloading tuyagateway-2.0.3-py3-none-any.whl (14 kB) Requirement already satisfied: tuyaface==1.4.0 in /usr/lib/python3.8/site-packages (from tuyagateway) (1.4.0) Requirement already satisfied: paho-mqtt==1.5.0 in /usr/lib/python3.8/site-packages (from tuyagateway) (1.5.0) Requirement already satisfied: bitstring==3.1.6 in /usr/lib/python3.8/site-packages (from tuyaface==1.4.0->tuyagateway) (3.1.6) Requirement already satisfied: pycryptodomex==3.9.7 in /usr/lib/python3.8/site-packages (from tuyaface==1.4.0->tuyagateway) (3.9.7) Installing collected packages: tuyagateway Successfully installed tuyagateway-2.0.3 Cloning into 'gismocaster'...

fatal: unable to access 'https://github.com/TradeFace/gismocaster.git/': Could not resolve host: github.com

Removing intermediate container 31d7520de168

21-09-30 21:22:05 ERROR (MainThread) [asyncio] Task exception was never retrieved future: <Task finished name='Task-64207' coro=<AddonManager.install() done, defined at /usr/src/supervisor/supervisor/jobs/decorator.py:71> exception=AddonsError()> Traceback (most recent call last): File "/usr/src/supervisor/supervisor/docker/addon.py", line 520, in _build image, log = self.sys_docker.images.build( File "/usr/local/lib/python3.9/site-packages/docker/models/images.py", line 285, in build raise BuildError(chunk['error'], result_stream) docker.errors.BuildError: The command '/bin/ash -o pipefail -c apk add --no-cache python3 py3-pip musl sqlite && apk add --no-cache --virtual .build-deps build-base python3-dev git && git clone --depth=1 https://github.com/TradeFace/tuyagateway.git && cd tuyagateway && pip install --no-cache-dir -r requirements.txt && pip install tuyagateway && cd .. && git clone --depth 1 https://github.com/TradeFace/gismocaster.git && cd gismocaster && pip install --no-cache-dir -r requirements.txt && mkdir -p /web && find web -print | cpio -pvdm / && apk del .build-deps && cd .. && rm -rf /usr/src/tuyagateway /usr/src/gismocaster && chmod 755 /run.sh' returned a non-zero code: 128 The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/supervisor/supervisor/addons/init.py", line 181, in install await addon.instance.install(store.version, store.image) File "/usr/src/supervisor/supervisor/utils/init.py", line 33, in wrap_api return await method(api, *args, kwargs) File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, *self.kwargs) File "/usr/src/supervisor/supervisor/docker/addon.py", line 504, in _install self._build(version) File "/usr/src/supervisor/supervisor/docker/addon.py", line 540, in _build raise DockerError() from err supervisor.exceptions.DockerError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 108, in wrapper raise err File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 106, in wrapper return await self._method(args, kwargs) File "/usr/src/supervisor/supervisor/addons/init.py", line 184, in install raise AddonsError() from err supervisor.exceptions.AddonsError


Home Assistant information: Core Version: core-2021.9.7 Operating System: Home Assistant OS 6.4 Supervisor Version: supervisor-2021.09.6

Thank you! Regards, Gabor