Bonjour.
Je viens d’installer un nouveau Jeedom et impossible de lancer le deamon du plugin TTSCAST.
Page Santé :
Logs d’installation des dépendances :
[2024-12-29 16:18:23] **********************
[2024-12-29 16:18:23] * Check Script Params *
[2024-12-29 16:18:23] **********************
[2024-12-29 16:18:23] ** Force System Updates :: NO **
[2024-12-29 16:18:23] ** Force Reinit PyEnv :: NO **
[2024-12-29 16:18:23] ** Force Reinit Venv :: YES **
[2024-12-29 16:18:23] *******************
[2024-12-29 16:18:23] * Check PyEnv Dir *
[2024-12-29 16:18:23] *******************
[2024-12-29 16:18:23] ** PyEnv Directory (None) :: /opt/pyenv **
[2024-12-29 16:18:23] ** Check PyEnv :: Done **
[2024-12-29 16:18:23] ***********************
[2024-12-29 16:18:23] * Check Old PyEnv Dir *
[2024-12-29 16:18:23] ***********************
[2024-12-29 16:18:23] ** PyEnv Old Directory (None) :: /var/www/html/plugins/ttscast/resources/pyenv **
[2024-12-29 16:18:23] ** Venv Update :: Not Needed **
[2024-12-29 16:18:23] ** Check Old PyEnv :: Done **
[2024-12-29 16:18:23] ******************
[2024-12-29 16:18:23] * Update apt-get *
[2024-12-29 16:18:23] ******************
[2024-12-29 16:18:23] ** Clean apt-get :: Done **
[2024-12-29 16:18:24] Hit:1 http://deb.debian.org/debian bookworm InRelease
[2024-12-29 16:18:24] Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
[2024-12-29 16:18:24] Hit:3 http://archive.raspberrypi.com/debian bookworm InRelease
[2024-12-29 16:18:24] Hit:4 http://deb.debian.org/debian bookworm-updates InRelease
[2024-12-29 16:18:24] Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease
[2024-12-29 16:18:28] Reading package lists...
[2024-12-29 16:18:28] ** Update apt-get :: Done **
[2024-12-29 16:18:28] ****************************
[2024-12-29 16:18:28] * Simulate apt-get upgrade *
[2024-12-29 16:18:28] ****************************
[2024-12-29 16:18:28] Reading package lists...
[2024-12-29 16:18:29] Building dependency tree...
[2024-12-29 16:18:29] Reading state information...
[2024-12-29 16:18:30] Calculating upgrade...
[2024-12-29 16:18:31] 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[2024-12-29 16:18:31] ** Upgrade Simulation :: Done **
[2024-12-29 16:18:31] ****************************************
[2024-12-29 16:18:31] * Install apt-get packages for Python3 *
[2024-12-29 16:18:31] ****************************************
[2024-12-29 16:18:31] Reading package lists...
[2024-12-29 16:18:32] Building dependency tree...
[2024-12-29 16:18:32] Reading state information...
[2024-12-29 16:18:33] python3 is already the newest version (3.11.2-1+b1).
[2024-12-29 16:18:33] python3-requests is already the newest version (2.28.1+dfsg-1).
[2024-12-29 16:18:33] python3-pip is already the newest version (23.0.1+dfsg-1+rpt1).
[2024-12-29 16:18:33] python3-setuptools is already the newest version (66.1.1-1).
[2024-12-29 16:18:33] python3-dev is already the newest version (3.11.2-1+b1).
[2024-12-29 16:18:33] python3-venv is already the newest version (3.11.2-1+b1).
[2024-12-29 16:18:33] 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[2024-12-29 16:18:33] ** Install packages for Python3 :: Done **
[2024-12-29 16:18:33] ***************************
[2024-12-29 16:18:33] * Check Python3.x Version *
[2024-12-29 16:18:33] ***************************
[2024-12-29 16:18:33] Python3.x Version :: 3.11
[2024-12-29 16:18:33] ** Check Python3 Version :: Done **
[2024-12-29 16:18:33] *********************
[2024-12-29 16:18:33] * PyEnv Environment *
[2024-12-29 16:18:33] *********************
[2024-12-29 16:18:33] ** PyEnv not required (Python >= 3.11) **
[2024-12-29 16:18:33] **************************
[2024-12-29 16:18:33] * Create Python3.11 venv *
[2024-12-29 16:18:33] **************************
[2024-12-29 16:18:55] ** Create Python3.11 Venv :: Done **
[2024-12-29 16:18:55] *****************************
[2024-12-29 16:18:55] * Install Python3 libraries *
[2024-12-29 16:18:55] *****************************
[2024-12-29 16:18:57] Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
[2024-12-29 16:18:57] Requirement already satisfied: pip in ./venv/lib/python3.11/site-packages (24.3.1)
[2024-12-29 16:18:58] Collecting wheel
[2024-12-29 16:18:58] Using cached https://www.piwheels.org/simple/wheel/wheel-0.45.1-py3-none-any.whl (72 kB)
[2024-12-29 16:18:58] Installing collected packages: wheel
[2024-12-29 16:18:58] Successfully installed wheel-0.45.1
[2024-12-29 16:18:58] ** Install Pip / Wheel :: Done **
[2024-12-29 16:18:59] Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
[2024-12-29 16:19:00] Collecting PyChromecast==14.0.4 (from -r /var/www/html/plugins/ttscast/resources/requirements.txt (line 1))
[2024-12-29 16:19:00] Using cached https://www.piwheels.org/simple/pychromecast/PyChromecast-14.0.4-py2.py3-none-any.whl (76 kB)
[2024-12-29 16:19:00] Collecting google-cloud-texttospeech==2.18.0 (from -r /var/www/html/plugins/ttscast/resources/requirements.txt (line 2))
[2024-12-29 16:19:00] Using cached https://www.piwheels.org/simple/google-cloud-texttospeech/google_cloud_texttospeech-2.18.0-py2.py3-none-any.whl (161 kB)
[2024-12-29 16:19:00] Collecting gTTS==2.5.3 (from -r /var/www/html/plugins/ttscast/resources/requirements.txt (line 3))
[2024-12-29 16:19:01] Using cached https://www.piwheels.org/simple/gtts/gTTS-2.5.3-py3-none-any.whl (29 kB)
[2024-12-29 16:19:02] Collecting protobuf>=4.25.1 (from PyChromecast==14.0.4->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 1))
[2024-12-29 16:19:02] Using cached protobuf-5.29.2-cp38-abi3-manylinux2014_aarch64.whl.metadata (592 bytes)
[2024-12-29 16:19:06] Collecting zeroconf>=0.25.1 (from PyChromecast==14.0.4->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 1))
[2024-12-29 16:19:06] Using cached zeroconf-0.136.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (6.0 kB)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/casttube/
[2024-12-29 16:19:06] Collecting casttube>=0.2.0 (from PyChromecast==14.0.4->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 1))
[2024-12-29 16:19:06] Using cached https://www.piwheels.org/simple/casttube/casttube-0.2.1-py3-none-any.whl (6.5 kB)
[2024-12-29 16:19:07] Collecting google-api-core!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1 (from google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1->google-cloud-texttospeech==2.18.0->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 2))
[2024-12-29 16:19:08] Using cached https://www.piwheels.org/simple/google-api-core/google_api_core-2.24.0-py3-none-any.whl (158 kB)
[2024-12-29 16:19:08] Collecting google-auth!=2.24.0,!=2.25.0,<3.0.0dev,>=2.14.1 (from google-cloud-texttospeech==2.18.0->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 2))
[2024-12-29 16:19:08] Using cached https://www.piwheels.org/simple/google-auth/google_auth-2.37.0-py2.py3-none-any.whl (209 kB)
[2024-12-29 16:19:09] Collecting proto-plus<2.0.0dev,>=1.22.3 (from google-cloud-texttospeech==2.18.0->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 2))
[2024-12-29 16:19:09] Using cached https://www.piwheels.org/simple/proto-plus/proto_plus-1.25.0-py3-none-any.whl (50 kB)
[2024-12-29 16:19:09] Collecting requests<3,>=2.27 (from gTTS==2.5.3->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 3))
[2024-12-29 16:19:09] Using cached https://www.piwheels.org/simple/requests/requests-2.32.3-py3-none-any.whl (64 kB)
[2024-12-29 16:19:09] Collecting click<8.2,>=7.1 (from gTTS==2.5.3->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 3))
[2024-12-29 16:19:09] Using cached https://www.piwheels.org/simple/click/click-8.1.8-py3-none-any.whl (98 kB)
[2024-12-29 16:19:10] Collecting googleapis-common-protos<2.0.dev0,>=1.56.2 (from google-api-core!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1->google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1->google-cloud-texttospeech==2.18.0->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 2))
[2024-12-29 16:19:10] Using cached https://www.piwheels.org/simple/googleapis-common-protos/googleapis_common_protos-1.66.0-py2.py3-none-any.whl (221 kB)
[2024-12-29 16:19:13] Collecting grpcio<2.0dev,>=1.33.2 (from google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1->google-cloud-texttospeech==2.18.0->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 2))
[2024-12-29 16:19:13] Using cached grpcio-1.68.1-cp311-cp311-manylinux_2_17_aarch64.whl.metadata (3.9 kB)
[2024-12-29 16:19:13] Collecting grpcio-status<2.0.dev0,>=1.33.2 (from google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1->google-cloud-texttospeech==2.18.0->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 2))
[2024-12-29 16:19:13] Using cached https://www.piwheels.org/simple/grpcio-status/grpcio_status-1.68.1-py3-none-any.whl (14 kB)
[2024-12-29 16:19:14] Collecting cachetools<6.0,>=2.0.0 (from google-auth!=2.24.0,!=2.25.0,<3.0.0dev,>=2.14.1->google-cloud-texttospeech==2.18.0->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 2))
[2024-12-29 16:19:14] Using cached https://www.piwheels.org/simple/cachetools/cachetools-5.5.0-py3-none-any.whl (9.5 kB)
[2024-12-29 16:19:14] Collecting pyasn1-modules>=0.2.1 (from google-auth!=2.24.0,!=2.25.0,<3.0.0dev,>=2.14.1->google-cloud-texttospeech==2.18.0->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 2))
[2024-12-29 16:19:14] Using cached https://www.piwheels.org/simple/pyasn1-modules/pyasn1_modules-0.4.1-py3-none-any.whl (181 kB)
[2024-12-29 16:19:14] Collecting rsa<5,>=3.1.4 (from google-auth!=2.24.0,!=2.25.0,<3.0.0dev,>=2.14.1->google-cloud-texttospeech==2.18.0->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 2))
[2024-12-29 16:19:14] Using cached https://www.piwheels.org/simple/rsa/rsa-4.9-py3-none-any.whl (34 kB)
[2024-12-29 16:19:15] Collecting charset-normalizer<4,>=2 (from requests<3,>=2.27->gTTS==2.5.3->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 3))
[2024-12-29 16:19:15] Using cached charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (35 kB)
[2024-12-29 16:19:15] Collecting idna<4,>=2.5 (from requests<3,>=2.27->gTTS==2.5.3->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 3))
[2024-12-29 16:19:15] Using cached https://www.piwheels.org/simple/idna/idna-3.10-py3-none-any.whl (70 kB)
[2024-12-29 16:19:15] Collecting urllib3<3,>=1.21.1 (from requests<3,>=2.27->gTTS==2.5.3->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 3))
[2024-12-29 16:19:15] Using cached https://www.piwheels.org/simple/urllib3/urllib3-2.3.0-py3-none-any.whl (128 kB)
[2024-12-29 16:19:15] Collecting certifi>=2017.4.17 (from requests<3,>=2.27->gTTS==2.5.3->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 3))
[2024-12-29 16:19:15] Using cached https://www.piwheels.org/simple/certifi/certifi-2024.12.14-py3-none-any.whl (164 kB)
[2024-12-29 16:19:16] Collecting ifaddr>=0.1.7 (from zeroconf>=0.25.1->PyChromecast==14.0.4->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 1))
[2024-12-29 16:19:16] Using cached https://www.piwheels.org/simple/ifaddr/ifaddr-0.2.0-py3-none-any.whl (12 kB)
[2024-12-29 16:19:16] Collecting pyasn1<0.7.0,>=0.4.6 (from pyasn1-modules>=0.2.1->google-auth!=2.24.0,!=2.25.0,<3.0.0dev,>=2.14.1->google-cloud-texttospeech==2.18.0->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 2))
[2024-12-29 16:19:16] Using cached https://www.piwheels.org/simple/pyasn1/pyasn1-0.6.1-py3-none-any.whl (83 kB)
[2024-12-29 16:19:16] Using cached protobuf-5.29.2-cp38-abi3-manylinux2014_aarch64.whl (319 kB)
[2024-12-29 16:19:16] Using cached zeroconf-0.136.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (11.3 MB)
[2024-12-29 16:19:16] Using cached charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (139 kB)
[2024-12-29 16:19:16] Using cached grpcio-1.68.1-cp311-cp311-manylinux_2_17_aarch64.whl (5.7 MB)
[2024-12-29 16:19:17] Installing collected packages: ifaddr, zeroconf, urllib3, pyasn1, protobuf, idna, grpcio, click, charset-normalizer, certifi, cachetools, rsa, requests, pyasn1-modules, proto-plus, googleapis-common-protos, gTTS, grpcio-status, google-auth, casttube, PyChromecast, google-api-core, google-cloud-texttospeech
[2024-12-29 16:19:21] Successfully installed PyChromecast-14.0.4 cachetools-5.5.0 casttube-0.2.1 certifi-2024.12.14 charset-normalizer-3.4.1 click-8.1.8 gTTS-2.5.3 google-api-core-2.24.0 google-auth-2.37.0 google-cloud-texttospeech-2.18.0 googleapis-common-protos-1.66.0 grpcio-1.68.1 grpcio-status-1.68.1 idna-3.10 ifaddr-0.2.0 proto-plus-1.25.0 protobuf-5.29.2 pyasn1-0.6.1 pyasn1-modules-0.4.1 requests-2.32.3 rsa-4.9 urllib3-2.3.0 zeroconf-0.136.2
[2024-12-29 16:19:22] ** Install Python3 libraries :: Done **
[2024-12-29 16:19:22] ****************************
[2024-12-29 16:19:22] * Set Owner on Directories *
[2024-12-29 16:19:22] ****************************
[2024-12-29 16:19:23] ** Set Owner for Venv Dir :: Done **
[2024-12-29 16:19:23] ****************
[2024-12-29 16:19:23] * Install DONE *
[2024-12-29 16:19:23] ****************
Logs ttscast_deamon :
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] Start Daemon
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] Plugin Version: 1.5.20
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] Log level: debug
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] Socket port: 55111
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] Socket host: localhost
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] CycleFactor: 1.0
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] CycleMain: 2.0
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] CycleComm: 0.5
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] CycleEvent: 0.5
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] PID file: /tmp/jeedom/ttscast/deamon.pid
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] ApiKey: ***
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] ApiTTSKey: ***
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] Google Cloud ApiKey: noKey
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] VoiceRSS ApiKey: ***
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] App Disable Ding: False
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] Cmd Wait Timeout: 60
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] CallBack: http://127.0.0.1:80/plugins/ttscast/core/php/jeettscast.php
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] Jeedom WebSrvCache: http://192.168.1.74/plugins/ttscast/data/cache/
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] Jeedom WebSrvMedia: http://192.168.1.74/plugins/ttscast/data/media/
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] Jeedom WebSrvImages: http://192.168.1.74/plugins/ttscast/data/images/
[2024-12-29 16:21:02][INFO] : [DAEMON][MAIN] Jeedom WebSrvJeeTTS: http://192.168.1.74/core/api/
[2024-12-29 16:21:02][DEBUG] : [DAEMON][UTILS] Writing PID 8830 to /tmp/jeedom/ttscast/deamon.pid
[2024-12-29 16:21:02][INFO] : [DAEMON][COM] Init request module v2.32.3
[2024-12-29 16:21:02][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2024-12-29 16:21:02][DEBUG] : http://127.0.0.1:80 "GET /plugins/ttscast/core/php/jeettscast.php?apikey=e7vxhuhljV6NiLSJ1147vkwRDpMpOHsIxH8svGgvYURLCKzXW64D1FAaGkBp2KRe HTTP/1.1" 403 199
[2024-12-29 16:21:02][ERROR] : [DAEMON][COM][TEST] Callback result as a unknown error: 'Response' object has no attribute 'status'. Please check your network configuration page
[2024-12-29 16:21:02][ERROR] : [DAEMON][JEEDOMCOM] sendToJeedom :: Network communication ERROR (Daemon to Jeedom)
[2024-12-29 16:21:02][INFO] : [DAEMON] Shutdown :: Begin...
[2024-12-29 16:21:02][INFO] : [DAEMON] Shutdown :: Devices Disconnect :: Begin...
[2024-12-29 16:21:02][INFO] : [DAEMON] Shutdown :: Devices Disconnect :: OK
[2024-12-29 16:21:02][INFO] : [DAEMON] Shutdown :: Browser Stop :: OK
[2024-12-29 16:21:02][INFO] : [DAEMON] Shutdown :: ZeroConf Close :: OK
[2024-12-29 16:21:02][DEBUG] : [DAEMON] Removing PID file /tmp/jeedom/ttscast/deamon.pid
[2024-12-29 16:21:02][INFO] : [DAEMON] Shutdown :: Exit 0
La clé API TTS est bien là et active :
J’ai aussi testé ça (vu sur un post ou vous avez répondu à un problème similaire):
http://:80/plugins/ttscast/core/php/jeettscast.php?apikey=xxxxx&test=1
En remplaçant xxx par ma clé API et j’ai le retour :

Merci d’avance pour votre aide.




