Google cast ne démarre pas

Bonjour suite à un redémarrage mon deamon google cast ne veux plus démarrer, j’ai relancé une install des dépendance et remis à plat les droits et rien à faire il ne veut pas démarrer si quelqu’un a une solution elle est la bienvenue.

Merci d’avance et bonne soirée !

Bonjour,

Je vous invite à lire ce post et ensuite faire une recherche sur les problèmes similaires et si pas de résultat vous nous montrerez vos logs :wink:

Voici les logs :
Googlecast:
[2022-11-07 19:24:19]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement [2022-11-07 19:24:20]INFO : Lancement démon googlecast : /usr/bin/python3 /var/www/html/plugins/googlecast/resources/googlecast.py --loglevel info --socketport 55012 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/googlecast/core/php/googlecast.api.php --apikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --ttsweb http://192.168.0.xx --ttslang fr-FR --ttsengine gtts --ttsspeed 1.2 --ttscache 1 --ttsgapikey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --gcttsvoice fr-FR-Standard-A --ttsdefaultrestoretime 1300 --ttsdefaultsilenceduration 300 --daemonname local --cyclefactor 1 --defaultstatus ' '

Googlecast local :

Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 45, in 
import pychromecast.pychromecast as pychromecast
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 12, in 
from . import socket_client
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/socket_client.py", line 23, in 
from . import cast_channel_pb2
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/cast_channel_pb2.py", line 36, in 
type=None),
File "/usr/local/lib/python3.7/dist-packages/google/protobuf/descriptor.py", line 755, in __new__
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
1. Downgrade the protobuf package to 3.20.x or lower.
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

Googlecast update :

Launch install of googlecast dependancies
-- Current OS version :
Description:	Debian GNU/Linux 10 (buster)
-- Updating repo...
Hit:1 http://deb.debian.org/debian buster InRelease
Get:2 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [56.6 kB]
Get:4 https://download.docker.com/linux/debian buster InRelease [54.0 kB]
Hit:5 https://deb.nodesource.com/node_16.x buster InRelease
Get:6 http://security.debian.org/debian-security buster/updates/main Sources [273 kB]
Get:7 http://security.debian.org/debian-security buster/updates/main amd64 Packages [390 kB]
Get:8 http://security.debian.org/debian-security buster/updates/main Translation-en [208 kB]
Fetched 1018 kB in 1s (981 kB/s)
Reading package lists...
-- Installation of python3 and dependancies
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.6).
python-dev is already the newest version (2.7.16-1).
python3 is already the newest version (3.7.3-1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
-- Installed version of Python :
Python 3.7.3
Your version of python is compatible with this plugin.
-- Installation of pip for python3 and necessary libraries
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (18.1-5).
python3-dev is already the newest version (3.7.3-1).
python-requests is already the newest version (2.21.0-1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
-- Installation of audio sox library
Reading package lists...
Building dependency tree...
Reading state information...
sox is already the newest version (14.4.2+git20190427-1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
-- Installation of TTS libraries
Reading package lists...
Building dependency tree...
Reading state information...
libttspico-utils is already the newest version (1.0+git20130326-9).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
-- Installation of libav/ffmpeg libraries
Reading package lists...
Building dependency tree...
Reading state information...
ffmpeg is already the newest version (7:4.1.10-0+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
-- Upgrade setuptools with command pip3.7 if not up to date
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: setuptools>=42.0.0 in /usr/local/lib/python3.7/dist-packages (65.5.1)
-- Installed version of pip :
pip 22.3.1 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)
-- Installation of python library 'requests' with command pip3.7
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: requests>=2.21.0 in /usr/lib/python3/dist-packages (2.21.0)
-- Installation of python library 'protobuf' with command pip3.7
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: protobuf>=3.11.0 in /usr/local/lib/python3.7/dist-packages (4.21.8)
-- Installation of python library 'zeroconf' with command pip3.7
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
python-miio 0.5.12 requires click>=8, which is not installed.
python-miio 0.5.12 requires tqdm<5,>=4, which is not installed.
python-miio 0.5.12 requires importlib_metadata<2,>=1; python_version <= "3.7", but you have importlib-metadata 5.0.0 which is incompatible.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Collecting zeroconf>=0.25.1
Downloading zeroconf-0.39.4-py3-none-any.whl (106 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.4/106.4 kB 884.8 kB/s eta 0:00:00
Requirement already satisfied: ifaddr>=0.1.7 in /usr/local/lib/python3.7/dist-packages (from zeroconf>=0.25.1) (0.2.0)
Requirement already satisfied: async-timeout>=4.0.1 in /usr/local/lib/python3.7/dist-packages (from zeroconf>=0.25.1) (4.0.2)
Requirement already satisfied: typing-extensions>=3.6.5 in /usr/local/lib/python3.7/dist-packages (from async-timeout>=4.0.1->zeroconf>=0.25.1) (4.4.0)
Installing collected packages: zeroconf
Successfully installed zeroconf-0.39.4
-- Installation of python library 'click, bs4 and six' for TTS with command pip3.7
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
python-miio 0.5.12 requires tqdm<5,>=4, which is not installed.
python-miio 0.5.12 requires importlib_metadata<2,>=1; python_version <= "3.7", but you have importlib-metadata 5.0.0 which is incompatible.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Collecting click
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting bs4
Downloading bs4-0.0.1.tar.gz (1.1 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Requirement already satisfied: six in /usr/lib/python3/dist-packages (1.12.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/dist-packages (from click) (5.0.0)
Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.7/dist-packages (from bs4) (4.11.1)
Requirement already satisfied: soupsieve>1.2 in /usr/local/lib/python3.7/dist-packages (from beautifulsoup4->bs4) (2.3.2.post1)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->click) (3.10.0)
Requirement already satisfied: typing-extensions>=3.6.4 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->click) (4.4.0)
Building wheels for collected packages: bs4
Building wheel for bs4 (setup.py): started
Building wheel for bs4 (setup.py): finished with status 'done'
Created wheel for bs4: filename=bs4-0.0.1-py3-none-any.whl size=1256 sha256=7a3686d04b7085d1a2e0ba0ced9374886f0130ac9951d9586694d683b9acb6b3
Stored in directory: /root/.cache/pip/wheels/77/8a/04/7b1a8ce5de6555a18e09370d3d4fde48be9571ac07a623071e
Successfully built bs4
Installing collected packages: click, bs4
Successfully installed bs4-0.0.1 click-8.1.3
-- Installation of python library 'tqdm, websocket-client, casttube' for plex/youtube with command pip3.7
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
python-miio 0.5.12 requires importlib_metadata<2,>=1; python_version <= "3.7", but you have importlib-metadata 5.0.0 which is incompatible.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Collecting tqdm
Downloading tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.5/78.5 kB 97.8 kB/s eta 0:00:00
Collecting websocket-client
Downloading websocket_client-1.4.2-py3-none-any.whl (55 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.3/55.3 kB 745.6 kB/s eta 0:00:00
Requirement already satisfied: casttube in /usr/local/lib/python3.7/dist-packages (0.2.1)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from casttube) (2.21.0)
Installing collected packages: websocket-client, tqdm
Successfully installed tqdm-4.64.1 websocket-client-1.4.2
-- Installation of dependencies is done !

Avez-vous cherché ? Si oui quoi?

Voici les sujets sur le plugin
https://community.jeedom.com/tag/plugin-googlecast

4eme résultat, un sujet identique au votre: Non démarrage du Demon de Google Cast

A mon avis ca vaut la peine d’essayer la solution :wink:

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