DEAMON KO - Google Cloud TTS

Salut,
J’ai un petit souci sur le puglin TTSCAST depuis que j’ai re fait une instal propre en debian 11 sur mon PI3B.
Bien que les dépendances soient en OK, le deamon n’arrive pas a démarré. J’ai tenté la béta aprés la stable et je n’ai rien trouvé sur ce message d’erreur dans le forum.
J’ai tenté plusieurs moteur TTS dans la page config de JEEDOM (Pico ou Espeak) ainsi que le google translate dans la page du plugin.

Le message suivant apparait dans le log deamon : [DAEMON][IMPORT] Error: importing module Google Cloud TTS :: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by var/www/html/plugins/ttscast/resources/venv/lib/python3.11/site-packages/grpc/_cython/cygrpc.cpython-311-arm-linux-gnueabihf.so)

La réinstallation des dépendance n’a rien donnée également et le google cloud TTS a l’air bien installé pourtant (Requirement already satisfied: google-cloud-texttospeech):

[2024-12-09 12:13:50] * Check Script Params *
[2024-12-09 12:13:50] **********************
[2024-12-09 12:13:50] ** Force System Updates :: NO **
[2024-12-09 12:13:50] ** Force Reinit PyEnv :: NO **
[2024-12-09 12:13:50] ** Force Reinit Venv :: NO **
[2024-12-09 12:13:50] *******************
[2024-12-09 12:13:50] * Check PyEnv Dir *
[2024-12-09 12:13:50] *******************
[2024-12-09 12:13:50] ** PyEnv Directory (Exists) :: /opt/pyenv **
[2024-12-09 12:13:50] ** Check PyEnv :: Done **
[2024-12-09 12:13:50] ***********************
[2024-12-09 12:13:51] * Check Old PyEnv Dir *
[2024-12-09 12:13:51] ***********************
[2024-12-09 12:13:51] ** PyEnv Old Directory (None) :: /var/www/html/plugins/ttscast/resources/pyenv **
[2024-12-09 12:13:51] ** Venv Update :: Not Needed **
[2024-12-09 12:13:51] ** Check Old PyEnv :: Done **
[2024-12-09 12:13:51] ******************
[2024-12-09 12:13:51] * Update apt-get *
[2024-12-09 12:13:51] ******************
[2024-12-09 12:13:51] ** Clean apt-get :: Done **
[2024-12-09 12:13:51] Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
[2024-12-09 12:13:51] Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
[2024-12-09 12:13:51] Hit:3 https://deb.nodesource.com/node_20.x nodistro InRelease
[2024-12-09 12:13:59] Reading package lists...
[2024-12-09 12:13:59] ** Update apt-get :: Done **
[2024-12-09 12:13:59] ****************************
[2024-12-09 12:13:59] * Simulate apt-get upgrade *
[2024-12-09 12:13:59] ****************************
[2024-12-09 12:13:59] Reading package lists...
[2024-12-09 12:14:00] Building dependency tree...
[2024-12-09 12:14:00] Reading state information...
[2024-12-09 12:14:01] Calculating upgrade...
[2024-12-09 12:14:02] The following packages will be upgraded:
[2024-12-09 12:14:02]    dnsmasq-base (2.85-1 => 2.85-1+deb11u1)
[2024-12-09 12:14:02]    openssh-client (1:8.4p1-5+deb11u3 => 1:8.4p1-5+deb11u3+b1)
[2024-12-09 12:14:02]    openssh-server (1:8.4p1-5+deb11u3 => 1:8.4p1-5+deb11u3+b1)
[2024-12-09 12:14:02]    openssh-sftp-server (1:8.4p1-5+deb11u3 => 1:8.4p1-5+deb11u3+b1)
[2024-12-09 12:14:02]    tzdata (2024a-0+deb11u1 => 2024b-0+deb11u1)
[2024-12-09 12:14:06] 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[2024-12-09 12:14:06] Inst tzdata [2024a-0+deb11u1] (2024b-0+deb11u1 Raspbian:oldstable [all])
[2024-12-09 12:14:06] Inst openssh-sftp-server [1:8.4p1-5+deb11u3] (1:8.4p1-5+deb11u3+b1 Raspbian:oldstable [armhf]) []
[2024-12-09 12:14:06] Inst openssh-server [1:8.4p1-5+deb11u3] (1:8.4p1-5+deb11u3+b1 Raspbian:oldstable [armhf]) []
[2024-12-09 12:14:06] Inst openssh-client [1:8.4p1-5+deb11u3] (1:8.4p1-5+deb11u3+b1 Raspbian:oldstable [armhf])
[2024-12-09 12:14:06] Inst dnsmasq-base [2.85-1] (2.85-1+deb11u1 Raspbian:oldstable [armhf])
[2024-12-09 12:14:06] Conf tzdata (2024b-0+deb11u1 Raspbian:oldstable [all])
[2024-12-09 12:14:06] Conf openssh-sftp-server (1:8.4p1-5+deb11u3+b1 Raspbian:oldstable [armhf])
[2024-12-09 12:14:06] Conf openssh-server (1:8.4p1-5+deb11u3+b1 Raspbian:oldstable [armhf])
[2024-12-09 12:14:06] Conf openssh-client (1:8.4p1-5+deb11u3+b1 Raspbian:oldstable [armhf])
[2024-12-09 12:14:06] Conf dnsmasq-base (2.85-1+deb11u1 Raspbian:oldstable [armhf])
[2024-12-09 12:14:06] ** Upgrade Simulation :: Done **
[2024-12-09 12:14:06] ****************************************
[2024-12-09 12:14:06] * Install apt-get packages for Python3 *
[2024-12-09 12:14:06] ****************************************
[2024-12-09 12:14:06] Reading package lists...
[2024-12-09 12:14:07] Building dependency tree...
[2024-12-09 12:14:07] Reading state information...
[2024-12-09 12:14:09] python3 is already the newest version (3.9.2-3).
[2024-12-09 12:14:09] python3-dev is already the newest version (3.9.2-3).
[2024-12-09 12:14:09] python3-requests is already the newest version (2.25.1+dfsg-2).
[2024-12-09 12:14:09] python3-setuptools is already the newest version (52.0.0-4+deb11u1).
[2024-12-09 12:14:09] python3-venv is already the newest version (3.9.2-3).
[2024-12-09 12:14:09] python3-pip is already the newest version (20.3.4-4+rpt1+deb11u1).
[2024-12-09 12:14:11] 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
[2024-12-09 12:14:11] ** Install packages for Python3 :: Done **
[2024-12-09 12:14:11] ***************************
[2024-12-09 12:14:11] * Check Python3.x Version *
[2024-12-09 12:14:11] ***************************
[2024-12-09 12:14:11] Python3.x Version :: 3.9
[2024-12-09 12:14:11] ** Check Python3 Version :: Done **
[2024-12-09 12:14:11] ******************************************************
[2024-12-09 12:14:11] * Install apt-get packages for PyEnv (Python < 3.11) *
[2024-12-09 12:14:11] ******************************************************
[2024-12-09 12:14:11] Reading package lists...
[2024-12-09 12:14:12] Building dependency tree...
[2024-12-09 12:14:12] Reading state information...
[2024-12-09 12:14:14] build-essential is already the newest version (12.9).
[2024-12-09 12:14:14] curl is already the newest version (7.74.0-1.3+deb11u14).
[2024-12-09 12:14:14] git is already the newest version (1:2.30.2-1+deb11u3).
[2024-12-09 12:14:14] libbz2-dev is already the newest version (1.0.8-4).
[2024-12-09 12:14:14] libffi-dev is already the newest version (3.3-6).
[2024-12-09 12:14:14] liblzma-dev is already the newest version (5.2.5-2.1~deb11u1).
[2024-12-09 12:14:14] libncursesw5-dev is already the newest version (6.2+20201114-2+deb11u2).
[2024-12-09 12:14:14] libreadline-dev is already the newest version (8.1-1).
[2024-12-09 12:14:14] libsqlite3-dev is already the newest version (3.34.1-3+deb11u1).
[2024-12-09 12:14:14] libxml2-dev is already the newest version (2.9.10+dfsg-6.7+deb11u5).
[2024-12-09 12:14:14] libxmlsec1-dev is already the newest version (1.2.31-1).
[2024-12-09 12:14:14] tk-dev is already the newest version (8.6.11+1).
[2024-12-09 12:14:14] xz-utils is already the newest version (5.2.5-2.1~deb11u1).
[2024-12-09 12:14:14] zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2).
[2024-12-09 12:14:14] libssl-dev is already the newest version (1.1.1w-0+deb11u2+rpt1).
[2024-12-09 12:14:14] 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
[2024-12-09 12:14:14] ** Install packages for PyEnv :: Done **
[2024-12-09 12:14:14] *********************************
[2024-12-09 12:14:14] * Install PyEnv (Python < 3.11) *
[2024-12-09 12:14:14] *********************************
[2024-12-09 12:14:14] ** PYENV_ROOT (not set) ::OK**
[2024-12-09 12:14:14] e[2;32mUpdating /opt/pyenv...
From https://github.com/pyenv/pyenv
* branch              master     -> FETCH_HEAD
* [new tag]           v2.4.22    -> v2.4.22
ee84e89e..d04a081d  master     -> origin/master
[2024-12-09 12:14:16] e[0mUpdating ee84e89e..d04a081d
[2024-12-09 12:14:16] Fast-forward
[2024-12-09 12:14:16]  .github/workflows/modified_scripts_build.yml       | 120 +++++++++++++++++++++
[2024-12-09 12:14:16]  .../workflows/scripts/brew-uninstall-cascade.sh    |  11 ++
[2024-12-09 12:14:16]  CHANGELOG.md                                       |   6 ++
[2024-12-09 12:14:16]  libexec/pyenv---version                            |   2 +-
[2024-12-09 12:14:16]  plugins/python-build/bin/python-build              |   8 +-
[2024-12-09 12:14:16]  plugins/python-build/share/python-build/3.13.1     |   2 +-
[2024-12-09 12:14:16]  6 files changed, 141 insertions(+), 8 deletions(-)
[2024-12-09 12:14:16]  create mode 100755 .github/workflows/scripts/brew-uninstall-cascade.sh
[2024-12-09 12:14:16] e[2;32mUpdating /opt/pyenv/plugins/pyenv-doctor...
From https://github.com/pyenv/pyenv-doctor
* branch            master     -> FETCH_HEAD
[2024-12-09 12:14:17] e[0mAlready up to date.
[2024-12-09 12:14:17] e[2;32mUpdating /opt/pyenv/plugins/pyenv-update...
From https://github.com/pyenv/pyenv-update
* branch            master     -> FETCH_HEAD
[2024-12-09 12:14:18] e[0mAlready up to date.
[2024-12-09 12:14:18] e[2;32mUpdating /opt/pyenv/plugins/pyenv-virtualenv...
From https://github.com/pyenv/pyenv-virtualenv
* branch            master     -> FETCH_HEAD
c6bb069..e8c8fd9  master     -> origin/master
[2024-12-09 12:14:19] e[0mUpdating c6bb069..e8c8fd9
[2024-12-09 12:14:19] Fast-forward
[2024-12-09 12:14:19]  bin/pyenv-activate   | 6 ++----
[2024-12-09 12:14:19]  bin/pyenv-deactivate | 6 ++----
[2024-12-09 12:14:19]  bin/pyenv-virtualenv | 3 ++-
[2024-12-09 12:14:19]  3 files changed, 6 insertions(+), 9 deletions(-)
[2024-12-09 12:14:19] ** PyEnv Installation / Update / Cleaning :: Done **
[2024-12-09 12:14:19] **************************************************
[2024-12-09 12:14:19] * Compile and Install Python 3.11.10 (with PyEnv) *
[2024-12-09 12:14:19] **************************************************
[2024-12-09 12:14:19] *                                                *
[2024-12-09 12:14:19] * ATTENTION : Cette phase de l'installation peut *
[2024-12-09 12:14:19] * être longue et durer de 2 minutes (Config ++)  *
[2024-12-09 12:14:19] * à plus de 40 minutes sur des petites config !  *
[2024-12-09 12:14:19] **************************************************
[2024-12-09 12:14:19] ** Python 3.11.10 Installation :: Done **
[2024-12-09 12:14:19] *****************************************
[2024-12-09 12:14:19] * Check Versions : Python PyEnv vs Venv *
[2024-12-09 12:14:19] *****************************************
[2024-12-09 12:14:19] ** Python Versions :: PyEnv = 3.11.10 / Venv = 3.11.10 **
[2024-12-09 12:14:19] ** Python Versions Match ::OK**
[2024-12-09 12:14:19] **************************
[2024-12-09 12:14:19] * Create Python3.11 venv *
[2024-12-09 12:14:19] **************************
[2024-12-09 12:14:19] Python3 (Venv) Version :: 3.11.10
[2024-12-09 12:14:19] Latest Python version installed with PyEnv :: 3.11.10
[2024-12-09 12:14:46] ** Create Python3.11 Venv :: Done **
[2024-12-09 12:14:46] *****************************
[2024-12-09 12:14:46] * Install Python3 libraries *
[2024-12-09 12:14:46] *****************************
[2024-12-09 12:14:49] Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
[2024-12-09 12:14:49] Requirement already satisfied: pip in ./venv/lib/python3.11/site-packages (24.3.1)
[2024-12-09 12:14:50] Requirement already satisfied: wheel in ./venv/lib/python3.11/site-packages (0.45.1)
[2024-12-09 12:14:51] ** Install Pip / Wheel :: Done **
[2024-12-09 12:14:54] Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
[2024-12-09 12:14:54] Requirement already satisfied: PyChromecast==14.0.4 in ./venv/lib/python3.11/site-packages (from -r /var/www/html/plugins/ttscast/resources/requirements.txt (line 1)) (14.0.4)
[2024-12-09 12:14:54] Requirement already satisfied: google-cloud-texttospeech==2.18.0 in ./venv/lib/python3.11/site-packages (from -r /var/www/html/plugins/ttscast/resources/requirements.txt (line 2)) (2.18.0)
[2024-12-09 12:14:54] Requirement already satisfied: gTTS==2.5.3 in ./venv/lib/python3.11/site-packages (from -r /var/www/html/plugins/ttscast/resources/requirements.txt (line 3)) (2.5.3)
[2024-12-09 12:14:54] Requirement already satisfied: protobuf>=4.25.1 in ./venv/lib/python3.11/site-packages (from PyChromecast==14.0.4->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 1)) (5.28.3)
[2024-12-09 12:14:54] Requirement already satisfied: zeroconf>=0.25.1 in ./venv/lib/python3.11/site-packages (from PyChromecast==14.0.4->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 1)) (0.136.0)
[2024-12-09 12:14:54] Requirement already satisfied: casttube>=0.2.0 in ./venv/lib/python3.11/site-packages (from PyChromecast==14.0.4->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 1)) (0.2.1)
[2024-12-09 12:14:54] Requirement already satisfied: 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 in ./venv/lib/python3.11/site-packages (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)) (2.23.0)
[2024-12-09 12:14:54] Requirement already satisfied: google-auth!=2.24.0,!=2.25.0,<3.0.0dev,>=2.14.1 in ./venv/lib/python3.11/site-packages (from google-cloud-texttospeech==2.18.0->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 2)) (2.36.0)
[2024-12-09 12:14:54] Requirement already satisfied: proto-plus<2.0.0dev,>=1.22.3 in ./venv/lib/python3.11/site-packages (from google-cloud-texttospeech==2.18.0->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 2)) (1.25.0)
[2024-12-09 12:14:54] Requirement already satisfied: requests<3,>=2.27 in ./venv/lib/python3.11/site-packages (from gTTS==2.5.3->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 3)) (2.32.3)
[2024-12-09 12:14:54] Requirement already satisfied: click<8.2,>=7.1 in ./venv/lib/python3.11/site-packages (from gTTS==2.5.3->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 3)) (8.1.7)
[2024-12-09 12:14:54] Requirement already satisfied: googleapis-common-protos<2.0.dev0,>=1.56.2 in ./venv/lib/python3.11/site-packages (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)) (1.66.0)
[2024-12-09 12:14:54] Requirement already satisfied: grpcio<2.0dev,>=1.33.2 in ./venv/lib/python3.11/site-packages (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)) (1.68.0)
[2024-12-09 12:14:54] Requirement already satisfied: grpcio-status<2.0.dev0,>=1.33.2 in ./venv/lib/python3.11/site-packages (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)) (1.68.0)
[2024-12-09 12:14:54] Requirement already satisfied: cachetools<6.0,>=2.0.0 in ./venv/lib/python3.11/site-packages (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)) (5.5.0)
[2024-12-09 12:14:54] Requirement already satisfied: pyasn1-modules>=0.2.1 in ./venv/lib/python3.11/site-packages (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)) (0.4.1)
[2024-12-09 12:14:54] Requirement already satisfied: rsa<5,>=3.1.4 in ./venv/lib/python3.11/site-packages (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)) (4.9)
[2024-12-09 12:14:54] Requirement already satisfied: charset-normalizer<4,>=2 in ./venv/lib/python3.11/site-packages (from requests<3,>=2.27->gTTS==2.5.3->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 3)) (3.4.0)
[2024-12-09 12:14:54] Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.11/site-packages (from requests<3,>=2.27->gTTS==2.5.3->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 3)) (3.10)
[2024-12-09 12:14:54] Requirement already satisfied: urllib3<3,>=1.21.1 in ./venv/lib/python3.11/site-packages (from requests<3,>=2.27->gTTS==2.5.3->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 3)) (2.2.3)
[2024-12-09 12:14:54] Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.11/site-packages (from requests<3,>=2.27->gTTS==2.5.3->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 3)) (2024.8.30)
[2024-12-09 12:14:54] Requirement already satisfied: ifaddr>=0.1.7 in ./venv/lib/python3.11/site-packages (from zeroconf>=0.25.1->PyChromecast==14.0.4->-r /var/www/html/plugins/ttscast/resources/requirements.txt (line 1)) (0.2.0)
[2024-12-09 12:14:54] Requirement already satisfied: pyasn1<0.7.0,>=0.4.6 in ./venv/lib/python3.11/site-packages (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)) (0.6.1)
[2024-12-09 12:14:55] ** Install Python3 libraries :: Done **
[2024-12-09 12:14:55] ****************************
[2024-12-09 12:14:55] * Set Owner on Directories *
[2024-12-09 12:14:55] ****************************
[2024-12-09 12:14:55] ** Set Owner for Venv Dir :: Done **
[2024-12-09 12:14:55] ****************
[2024-12-09 12:14:55] * Install DONE *
[2024-12-09 12:14:55] ****************````




---
**Informations Jeedom**
```
Core : 4.4.19 (master)
DNS Jeedom : non

Plugin : TTS Cast
Version : 2024-10-26 01:16:34 (beta)
Statut Démon : Stoppé - (2024-12-09 00:41:49)
```

Bonjour,

Pour chaque demande fournir page santé jeedom…
ca aurait évité les 2 questions suivantes:

  • vous avez manifestement installé debian 12 et pas 11, sachez que cette version peut être incompatible avec certain plugin
  • pi3b donc os 32 bits? => lisez la doc du plugin, il faut avoir une machine 64bits (ce que à priori vous ne pouvez pas avoir avec un pi3b)

Salut, en effet, j’avais mal vu la doc sur le 32bit :wink: merci

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.