Googlecast demon nok

Bonjour,

comme beaucoup de personne je n’arrive pas a demarer le demon du plugin GoogleCast.
je suis sous buster

vous trouverez ci-joint le log 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
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Hit:3 http://security.debian.org/debian-security buster/updates InRelease
Hit:4 http://phoscon.de/apt/deconz buster InRelease
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 0 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 0 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 0 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 0 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.9-0+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 0 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 (62.6.0)
-- Installed version of pip :
pip 22.1.2 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/local/lib/python3.7/dist-packages (2.28.0)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (2022.6.15)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (3.3)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (1.26.9)
-- 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.2)
-- Installation of python library 'zeroconf' 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: zeroconf>=0.25.1 in /usr/local/lib/python3.7/dist-packages (0.38.7)
Requirement already satisfied: ifaddr>=0.1.7 in /usr/local/lib/python3.7/dist-packages (from zeroconf>=0.25.1) (0.2.0)
-- Installation of python library 'click, bs4 and six' for TTS 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: click in /usr/local/lib/python3.7/dist-packages (8.1.3)
Requirement already satisfied: bs4 in /usr/local/lib/python3.7/dist-packages (0.0.1)
Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (1.16.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/dist-packages (from click) (4.12.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: typing-extensions>=3.6.4 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->click) (4.2.0)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->click) (3.8.0)
-- Installation of python library 'tqdm, websocket-client, casttube' for plex/youtube 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: tqdm in /usr/local/lib/python3.7/dist-packages (4.64.0)
Requirement already satisfied: websocket-client in /usr/local/lib/python3.7/dist-packages (1.3.3)
Requirement already satisfied: casttube in /usr/local/lib/python3.7/dist-packages (0.2.1)
Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from casttube) (2.28.0)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (2.0.12)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (1.26.9)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (3.3)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (2022.6.15)
-- Installation of dependencies is done !


1 « J'aime »

J’ai essayé de mettre la version bêta, j’ai vu sur un poste que ça peux être une solution pour buster.
Malheureusement toujours pareil.

Launch install of googlecast dependancies
-- Current OS version :
Description:	Debian GNU/Linux 10 (buster)
-- Updating repo...
Atteint :1 http://security.debian.org/debian-security buster/updates InRelease
Atteint :2 http://deb.debian.org/debian buster InRelease
Atteint :3 http://deb.debian.org/debian buster-updates InRelease
Atteint :4 http://phoscon.de/apt/deconz buster InRelease
Lecture des listes de paquets…
-- Installation of python3 and dependancies
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
build-essential est déjà la version la plus récente (12.6).
python-dev est déjà la version la plus récente (2.7.16-1).
python3 est déjà la version la plus récente (3.7.3-1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
-- 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
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
python3-pip est déjà la version la plus récente (18.1-5).
python3-dev est déjà la version la plus récente (3.7.3-1).
python-requests est déjà la version la plus récente (2.21.0-1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
-- Installation of audio sox library
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
sox est déjà la version la plus récente (14.4.2+git20190427-1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
-- Installation of TTS libraries
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
libttspico-utils est déjà la version la plus récente (1.0+git20130326-9).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
-- Installation of libav/ffmpeg libraries
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
ffmpeg est déjà la version la plus récente (7:4.1.9-0+deb10u1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
-- 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 (62.6.0)
-- Installed version of pip :
pip 22.1.2 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/local/lib/python3.7/dist-packages (2.28.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (1.26.9)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (3.3)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (2.0.12)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (2022.6.15)
-- 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.2)
-- Installation of python library 'zeroconf' 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: zeroconf==0.31.0 in /usr/local/lib/python3.7/dist-packages (0.31.0)
Requirement already satisfied: ifaddr>=0.1.7 in /usr/local/lib/python3.7/dist-packages (from zeroconf==0.31.0) (0.2.0)
-- Installation of python library 'click, bs4 and six' for TTS 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: click in /usr/local/lib/python3.7/dist-packages (8.1.3)
Requirement already satisfied: bs4 in /usr/local/lib/python3.7/dist-packages (0.0.1)
Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (1.16.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/dist-packages (from click) (4.12.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: typing-extensions>=3.6.4 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->click) (4.2.0)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->click) (3.8.0)
-- Installation of python library 'tqdm, websocket-client, casttube' for plex/youtube 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: tqdm in /usr/local/lib/python3.7/dist-packages (4.64.0)
Requirement already satisfied: websocket-client in /usr/local/lib/python3.7/dist-packages (1.3.3)
Requirement already satisfied: casttube in /usr/local/lib/python3.7/dist-packages (0.2.1)
Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from casttube) (2.28.0)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (2022.6.15)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (2.0.12)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (1.26.9)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (3.3)
-- Installation of dependencies is done !
1 « J'aime »

Salut. J’ai le même problème.

1 « J'aime »

Bonjour,

Je ne vois aucun problème dans ce log, il faudrait le log du démon pour connaître l’erreur et donc le problème.

trop fort, comment savez-vous?

Launch install of googlecast dependancies
-- Current OS version :
Description:	Debian GNU/Linux 10 (buster)
-- Updating repo...
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://ftp.es.debian.org/debian buster InRelease
Hit:3 http://ftp.es.debian.org/debian buster-updates InRelease
Hit:4 https://deb.nodesource.com/node_16.x buster InRelease
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 0 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 0 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 0 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 0 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.9-0+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 0 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 (62.6.0)
-- Installed version of pip :
pip 22.1.2 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/local/lib/python3.7/dist-packages (2.28.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (1.26.9)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (3.3)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (2022.6.15)
Requirement already satisfied: charset-normalizer<3,>=2 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (2.0.12)
-- 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
Collecting protobuf>=3.11.0
Using cached protobuf-4.21.2-cp37-abi3-manylinux2014_x86_64.whl (407 kB)
Installing collected packages: protobuf
Successfully installed protobuf-4.21.2
-- Installation of python library 'zeroconf' 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: zeroconf>=0.25.1 in /usr/local/lib/python3.7/dist-packages (0.38.7)
Requirement already satisfied: ifaddr>=0.1.7 in /usr/local/lib/python3.7/dist-packages (from zeroconf>=0.25.1) (0.2.0)
-- Installation of python library 'click, bs4 and six' for TTS 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: click in /usr/local/lib/python3.7/dist-packages (8.1.3)
Requirement already satisfied: bs4 in /usr/local/lib/python3.7/dist-packages (0.0.1)
Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (1.16.0)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/dist-packages (from click) (4.12.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.8.0)
Requirement already satisfied: typing-extensions>=3.6.4 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->click) (4.2.0)
-- Installation of python library 'tqdm, websocket-client, casttube' for plex/youtube 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: tqdm in /usr/local/lib/python3.7/dist-packages (4.64.0)
Requirement already satisfied: websocket-client in /usr/local/lib/python3.7/dist-packages (1.3.3)
Requirement already satisfied: casttube in /usr/local/lib/python3.7/dist-packages (0.2.1)
Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from casttube) (2.28.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (1.26.9)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (2022.6.15)
Requirement already satisfied: charset-normalizer<3,>=2 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (3.3)
-- Installation of dependencies is done !

Traceback (most recent call last):
  File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 45, in <module>
    import pychromecast.pychromecast as pychromecast
  File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 12, in <module>
    from . import socket_client
  File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/socket_client.py", line 23, in <module>
    from . import cast_channel_pb2
  File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/cast_channel_pb2.py", line 36, in <module>
    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

Puisque vous avez cette erreur: Downgrade the protobuf package to 3.20.x or lower, essayez la solution donnée ici déjà: Démon ne se lance plus après restauration de sauvegarde - #2 par ptitdyno

sudo pip3 uninstall protobuf

puis

sudo pip3 install protobuf-3.19.0

(mais on est sur le post de @M3j311, à voir si c’est le même problème…)

C’est vrai, quand j’ai vu le log ça @M3j311 m’a semblé pareil…
J’avais déjà essayé cette solution mais j’obtiens ceci…

Merci

Ah ca c’est intéressant (et logique après tout); je reproduis.

Les anciennes versions ont été retirée des dépôts, il n’est donc plus possible d’installer cette version.

Donc il va falloir trouver un autre contournement ou mieux une vrai solution (dans l’idéal qui passerait par l’update du plugin mais son auteur ne semble plus disponible :frowning: ) mais pour le moment cela semble compromis…

je vais faire qlq essais voir dès que possible et voir si j’arrive à qlqch.

Bonjour,

Je n’ai malheureusement pas la solution à votre problème, en revanche je viens de tester sur une VM vierge et le plugin est compatible et fonctionnel avec protobuf version 4.21.2.
Je pense que vous faites fausse piste ou alors protobuf ne s’installe pas correctement…
Quelques éléments de comparaison si ça peut aider :
googlecast_update :

0000|Launch install of googlecast dependancies
0001|-- Current OS version :
0002|Description:	Debian GNU/Linux 10 (buster)
0003|-- Updating repo...
0004|Hit:1 http://deb.debian.org/debian buster InRelease
0005|Hit:2 http://security.debian.org/debian-security buster/updates InRelease
0006|Hit:3 http://deb.debian.org/debian buster-updates InRelease
0007|Reading package lists...
0008|-- Installation of python3 and dependancies
0009|Reading package lists...
0010|Building dependency tree...
0011|Reading state information...
0012|build-essential is already the newest version (12.6).
0013|build-essential set to manually installed.
0014|python-dev is already the newest version (2.7.16-1).
0015|python-dev set to manually installed.
0016|python3 is already the newest version (3.7.3-1).
0017|The following packages were automatically installed and are no longer required:
0018|linux-image-4.19.0-18-amd64 linux-image-4.19.0-19-amd64
0019|Use 'sudo apt autoremove' to remove them.
0020|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0021|-- Installed version of Python :
0022|Python 3.7.3
0023|Your version of python is compatible with this plugin.
0024|-- Installation of pip for python3 and necessary libraries
0025|Reading package lists...
0026|Building dependency tree...
0027|Reading state information...
0028|python3-pip is already the newest version (18.1-5).
0029|python3-dev is already the newest version (3.7.3-1).
0030|python3-dev set to manually installed.
0031|The following packages were automatically installed and are no longer required:
0032|linux-image-4.19.0-18-amd64 linux-image-4.19.0-19-amd64
0033|Use 'sudo apt autoremove' to remove them.
0034|The following additional packages will be installed:
0035|python-certifi python-chardet python-idna python-openssl python-urllib3
0036|Suggested packages:
0037|python-openssl-doc python-openssl-dbg python-socks python-ntlm
0038|The following NEW packages will be installed:
0039|python-certifi python-chardet python-idna python-openssl python-requests
0040|python-urllib3
0041|0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
0042|Need to get 471 kB of archives.
0043|After this operation, 1876 kB of additional disk space will be used.
0044|Get:1 http://deb.debian.org/debian buster/main amd64 python-certifi all 2018.8.24-1 [140 kB]
0045|Get:2 http://deb.debian.org/debian buster/main amd64 python-chardet all 3.0.4-3 [80.6 kB]
0046|Get:3 http://deb.debian.org/debian buster/main amd64 python-idna all 2.6-1 [34.1 kB]
0047|Get:4 http://deb.debian.org/debian buster/main amd64 python-openssl all 19.0.0-1 [52.0 kB]
0048|Get:5 http://deb.debian.org/debian buster/main amd64 python-urllib3 all 1.24.1-1 [97.0 kB]
0049|Get:6 http://deb.debian.org/debian buster/main amd64 python-requests all 2.21.0-1 [67.1 kB]
0050|debconf: unable to initialize frontend: Dialog
0051|debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
0052|debconf: falling back to frontend: Readline
0053|debconf: unable to initialize frontend: Readline
0054|debconf: (This frontend requires a controlling tty.)
0055|debconf: falling back to frontend: Teletype
0056|dpkg-preconfigure: unable to re-open stdin:
0057|Fetched 471 kB in 0s (1197 kB/s)
0058|Selecting previously unselected package python-certifi.
0059|(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 73424 files and directories currently installed.)
0060|Preparing to unpack .../0-python-certifi_2018.8.24-1_all.deb ...
0061|Unpacking python-certifi (2018.8.24-1) ...
0062|Selecting previously unselected package python-chardet.
0063|Preparing to unpack .../1-python-chardet_3.0.4-3_all.deb ...
0064|Unpacking python-chardet (3.0.4-3) ...
0065|Selecting previously unselected package python-idna.
0066|Preparing to unpack .../2-python-idna_2.6-1_all.deb ...
0067|Unpacking python-idna (2.6-1) ...
0068|Selecting previously unselected package python-openssl.
0069|Preparing to unpack .../3-python-openssl_19.0.0-1_all.deb ...
0070|Unpacking python-openssl (19.0.0-1) ...
0071|Selecting previously unselected package python-urllib3.
0072|Preparing to unpack .../4-python-urllib3_1.24.1-1_all.deb ...
0073|Unpacking python-urllib3 (1.24.1-1) ...
0074|Selecting previously unselected package python-requests.
0075|Preparing to unpack .../5-python-requests_2.21.0-1_all.deb ...
0076|Unpacking python-requests (2.21.0-1) ...
0077|Setting up python-urllib3 (1.24.1-1) ...
0078|Setting up python-certifi (2018.8.24-1) ...
0079|Setting up python-idna (2.6-1) ...
0080|Setting up python-chardet (3.0.4-3) ...
0081|Setting up python-requests (2.21.0-1) ...
0082|Setting up python-openssl (19.0.0-1) ...
0083|Processing triggers for man-db (2.8.5-2) ...
0084|-- Installation of audio sox library
0085|Reading package lists...
0086|Building dependency tree...
0087|Reading state information...
0088|sox is already the newest version (14.4.2+git20190427-1).
0089|The following packages were automatically installed and are no longer required:
0090|linux-image-4.19.0-18-amd64 linux-image-4.19.0-19-amd64
0091|Use 'sudo apt autoremove' to remove them.
0092|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0093|-- Installation of TTS libraries
0094|Reading package lists...
0095|Building dependency tree...
0096|Reading state information...
0097|libttspico-utils is already the newest version (1.0+git20130326-9).
0098|The following packages were automatically installed and are no longer required:
0099|linux-image-4.19.0-18-amd64 linux-image-4.19.0-19-amd64
0100|Use 'sudo apt autoremove' to remove them.
0101|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0102|-- Installation of libav/ffmpeg libraries
0103|Reading package lists...
0104|Building dependency tree...
0105|Reading state information...
0106|ffmpeg is already the newest version (7:4.1.9-0+deb10u1).
0107|The following packages were automatically installed and are no longer required:
0108|linux-image-4.19.0-18-amd64 linux-image-4.19.0-19-amd64
0109|Use 'sudo apt autoremove' to remove them.
0110|0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
0111|-- Upgrade setuptools with command pip3 if not up to date
0112|Collecting setuptools>=42.0.0
0113|Downloading https://files.pythonhosted.org/packages/ae/7f/6d816941769a7783be4258dd35e28bbf1a64bb36b1b7e0c773eff07fb0a8/setuptools-63.1.0-py3-none-any.whl (1.2MB)
0114|Installing collected packages: setuptools
0115|Found existing installation: setuptools 40.8.0
0116|Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
0117|Can't uninstall 'setuptools'. No files were found to uninstall.
0118|Successfully installed setuptools-63.1.0
0119|-- Installed version of pip :
0120|pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
0121|-- Installation of python library 'requests' with command pip3
0122|Requirement already satisfied: requests>=2.21.0 in /usr/lib/python3/dist-packages (2.21.0)
0123|-- Installation of python library 'protobuf' with command pip3
0124|Collecting protobuf>=3.11.0
0125|Downloading https://files.pythonhosted.org/packages/4c/c0/22644cfa509d520e797a7c5774dbbf70543e4c03bea087f4976d020b7b38/protobuf-4.21.2-py2.py3-none-any.whl (164kB)
0126|Installing collected packages: protobuf
0127|Successfully installed protobuf-4.21.2
0128|-- Installation of python library 'zeroconf' with command pip3
0129|Collecting zeroconf>=0.25.1
0130|Downloading https://files.pythonhosted.org/packages/c2/43/140e2fefeed540a6747020c29eebcb2a770cee474026b644bd2c4156d166/zeroconf-0.38.7-py3-none-any.whl (106kB)
0131|Collecting ifaddr>=0.1.7 (from zeroconf>=0.25.1)
0132|Downloading https://files.pythonhosted.org/packages/9c/1f/19ebc343cc71a7ffa78f17018535adc5cbdd87afb31d7c34874680148b32/ifaddr-0.2.0-py3-none-any.whl
0133|Installing collected packages: ifaddr, zeroconf
0134|Successfully installed ifaddr-0.2.0 zeroconf-0.38.7
0135|-- Installation of python library 'click, bs4 and six' for TTS with command pip3
0136|Collecting click
0137|Downloading https://files.pythonhosted.org/packages/c2/f1/df59e28c642d583f7dacffb1e0965d0e00b218e0186d7858ac5233dce840/click-8.1.3-py3-none-any.whl (96kB)
0138|Collecting bs4
0139|Downloading https://files.pythonhosted.org/packages/10/ed/7e8b97591f6f456174139ec089c769f89a94a1a4025fe967691de971f314/bs4-0.0.1.tar.gz
0140|Requirement already satisfied: six in /usr/lib/python3/dist-packages (1.12.0)
0141|Collecting importlib-metadata; python_version < "3.8" (from click)
0142|Downloading https://files.pythonhosted.org/packages/d2/a2/8c239dc898138f208dd14b441b196e7b3032b94d3137d9d8453e186967fc/importlib_metadata-4.12.0-py3-none-any.whl
0143|Collecting beautifulsoup4 (from bs4)
0144|Downloading https://files.pythonhosted.org/packages/9c/d8/909c4089dbe4ade9f9705f143c9f13f065049a9d5e7d34c828aefdd0a97c/beautifulsoup4-4.11.1-py3-none-any.whl (128kB)
0145|Collecting typing-extensions>=3.6.4; python_version < "3.8" (from importlib-metadata; python_version < "3.8"->click)
0146|Downloading https://files.pythonhosted.org/packages/ed/d6/2afc375a8d55b8be879d6b4986d4f69f01115e795e36827fd3a40166028b/typing_extensions-4.3.0-py3-none-any.whl
0147|Collecting zipp>=0.5 (from importlib-metadata; python_version < "3.8"->click)
0148|Downloading https://files.pythonhosted.org/packages/80/0e/16a7ee38617aab6a624e95948d314097cc2669edae9b02ded53309941cfc/zipp-3.8.0-py3-none-any.whl
0149|Collecting soupsieve>1.2 (from beautifulsoup4->bs4)
0150|Downloading https://files.pythonhosted.org/packages/16/e3/4ad79882b92617e3a4a0df1960d6bce08edfb637737ac5c3f3ba29022e25/soupsieve-2.3.2.post1-py3-none-any.whl
0151|Building wheels for collected packages: bs4
0152|Running setup.py bdist_wheel for bs4: started
0153|Running setup.py bdist_wheel for bs4: finished with status 'done'
0154|Stored in directory: /root/.cache/pip/wheels/a0/b0/b2/4f80b9456b87abedbc0bf2d52235414c3467d8889be38dd472
0155|Successfully built bs4
0156|Installing collected packages: typing-extensions, zipp, importlib-metadata, click, soupsieve, beautifulsoup4, bs4
0157|Successfully installed beautifulsoup4-4.11.1 bs4-0.0.1 click-8.1.3 importlib-metadata-4.12.0 soupsieve-2.3.2.post1 typing-extensions-4.3.0 zipp-3.8.0
0158|-- Installation of python library 'tqdm, websocket-client, casttube' for plex/youtube with command pip3
0159|Collecting tqdm
0160|Downloading https://files.pythonhosted.org/packages/8a/c4/d15f1e627fff25443ded77ea70a7b5532d6371498f9285d44d62587e209c/tqdm-4.64.0-py2.py3-none-any.whl (78kB)
0161|Collecting websocket-client
0162|Downloading https://files.pythonhosted.org/packages/67/b4/91683d7d5f66393e8877492fe4763304f82dbe308658a8db98f7a9e20baf/websocket_client-1.3.3-py3-none-any.whl (54kB)
0163|Collecting casttube
0164|Downloading https://files.pythonhosted.org/packages/0a/d2/0f5006892e07ea342d57dbeda46027e99a097ffb6218bee1e37f9776ed95/casttube-0.2.1-py3-none-any.whl
0165|Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from casttube) (2.21.0)
0166|Installing collected packages: tqdm, websocket-client, casttube
0167|Successfully installed casttube-0.2.1 tqdm-4.64.0 websocket-client-1.3.3
0168|-- Installation of dependencies is done !

googlecast_local :

0000|[2022-07-04 19:02:59]INFO : ------------------------------------------------------
0001|[2022-07-04 19:02:59]INFO : ------------------------------------------------------
0002|[2022-07-04 19:02:59]INFO : GLOBAL------STARTING googlecast
0003|[2022-07-04 19:02:59]INFO : GLOBAL------Scan Timeout : 5
0004|[2022-07-04 19:02:59]INFO : GLOBAL------Scan Frequency : 60
0005|[2022-07-04 19:02:59]INFO : GLOBAL------Log level : debug
0006|[2022-07-04 19:02:59]INFO : GLOBAL------Socket port : 55012
0007|[2022-07-04 19:02:59]INFO : GLOBAL------Socket host : 127.0.0.1
0008|[2022-07-04 19:02:59]INFO : GLOBAL------PID file : /tmp/googlecast.pid
0009|[2022-07-04 19:02:59]INFO : GLOBAL------Apikey : *******************************
0010|[2022-07-04 19:02:59]INFO : GLOBAL------TTS Jeedom server : http://192.168.1.50
0011|[2022-07-04 19:02:59]INFO : GLOBAL------TTS default language : fr-FR
0012|[2022-07-04 19:02:59]INFO : GLOBAL------TTS default engine : jeedomtts
0013|[2022-07-04 19:02:59]INFO : GLOBAL------TTS default speech speed : 1.2
0014|[2022-07-04 19:02:59]INFO : GLOBAL------TTS Google API Key (optional) : NOK
0015|[2022-07-04 19:02:59]INFO : GLOBAL------TTS default delay before volume restore : 1300 ms
0016|[2022-07-04 19:02:59]INFO : GLOBAL------TTS default silence before tts : 300 ms
0017|[2022-07-04 19:02:59]INFO : GLOBAL------Cache status : True
0018|[2022-07-04 19:02:59]INFO : GLOBAL------Callback : http://127.0.0.1:80/plugins/googlecast/core/php/googlecast.api.php
0019|[2022-07-04 19:02:59]INFO : GLOBAL------Event cycle : 0.5
0020|[2022-07-04 19:02:59]INFO : GLOBAL------Main cycle : 2.0
0021|[2022-07-04 19:02:59]INFO : GLOBAL------Default status message :  
0022|[2022-07-04 19:02:59]INFO : -----------------------------------------------------
0023|[2022-07-04 19:02:59]DEBUG : Writing PID 4478 to /tmp/googlecast.pid
0024|[2022-07-04 19:02:59]DEBUG : Init request module v2.21.0
0025|[2022-07-04 19:02:59]INFO : GLOBAL------Network communication to jeedom OK.
0026|[2022-07-04 19:02:59]DEBUG : SOCKETHANDLER------Socket interface started
0027|[2022-07-04 19:02:59]DEBUG : SOCKETHANDLER------LoopNetServer Thread started
0028|[2022-07-04 19:02:59]INFO : GLOBAL------Socket started and waiting for messages from Jeedom...
0029|[2022-07-04 19:02:59]DEBUG : WARMUPNOTIF------ Checking file generation...
0030|[2022-07-04 19:02:59]DEBUG : SOCKETHANDLER------Listening on: [127.0.0.1:55012]
0031|[2022-07-04 19:02:59]DEBUG : SENDER------Send to jeedom :  {'started': 1, 'source': 'local'}
0032|[2022-07-04 19:03:05]DEBUG : SCANNER------ Start scanning... (schedule)
0033|[2022-07-04 19:03:05]DEBUG :  MEMORY---- Total CPU time used : 0.936s (15.60%)  |  Last 6 sec : 0.936s (15.60%)  | Memory : 33 Mo
0034|[2022-07-04 19:03:05]DEBUG : ZEROCONF------ Stopping zeroconf monitoring thread...
0035|[2022-07-04 19:03:05]DEBUG : ZEROCONF------ Start zeroconf monitoring thread...
0036|[2022-07-04 19:03:05]DEBUG : Using selector: EpollSelector
0037|[2022-07-04 19:03:05]DEBUG : ZEROCONF------ Signal detected from chromecast on zeroconf network : Google Home Mini
0038|[2022-07-04 19:03:05]DEBUG : ZEROCONF------ Signal from chromecast will be processed soon (Google Home Mini)
0039|[2022-07-04 19:04:07]DEBUG : SCANNER------ Start scanning... (schedule)
0040|[2022-07-04 19:04:07]DEBUG :  MEMORY---- Total CPU time used : 1.167s (1.72%)  |  Last 62 sec : 0.231s (0.37%)  | Memory : 36 Mo
0041|[2022-07-04 19:05:09]DEBUG : SCANNER------ Start scanning... (schedule)
0042|[2022-07-04 19:05:09]DEBUG :  MEMORY---- Total CPU time used : 1.348s (1.04%)  |  Last 62 sec : 0.181s (0.29%)  | Memory : 36 Mo
0043|[2022-07-04 19:06:11]DEBUG : SCANNER------ Start scanning... (schedule)
0044|[2022-07-04 19:06:11]DEBUG :  MEMORY---- Total CPU time used : 1.515s (0.79%)  |  Last 62 sec : 0.167s (0.27%)  | Memory : 36 Mo
0045|[2022-07-04 19:07:13]DEBUG : SCANNER------ Start scanning... (schedule)
0046|[2022-07-04 19:07:13]DEBUG :  MEMORY---- Total CPU time used : 1.697s (0.67%)  |  Last 62 sec : 0.182s (0.29%)  | Memory : 36 Mo
0047|[2022-07-04 19:08:15]DEBUG : SCANNER------ Start scanning... (schedule)
0048|[2022-07-04 19:08:15]DEBUG :  MEMORY---- Total CPU time used : 1.848s (0.58%)  |  Last 62 sec : 0.151s (0.24%)  | Memory : 36 Mo
0049|[2022-07-04 19:09:17]DEBUG : SCANNER------ Start scanning... (schedule)
0050|[2022-07-04 19:09:17]DEBUG :  MEMORY---- Total CPU time used : 2.038s (0.54%)  |  Last 62 sec : 0.190s (0.31%)  | Memory : 36 Mo
0051|[2022-07-04 19:10:19]DEBUG : SCANNER------ Start scanning... (schedule)
0052|[2022-07-04 19:10:19]DEBUG :  MEMORY---- Total CPU time used : 2.304s (0.52%)  |  Last 62 sec : 0.266s (0.43%)  | Memory : 36 Mo
0053|[2022-07-04 19:10:29]DEBUG : SENDER------Send to jeedom :  {'heartbeat': 1, 'source': 'local'}
0054|[2022-07-04 19:11:21]DEBUG : SCANNER------ Start scanning... (schedule)
0055|[2022-07-04 19:11:21]DEBUG :  MEMORY---- Total CPU time used : 2.526s (0.50%)  |  Last 62 sec : 0.222s (0.36%)  | Memory : 36 Mo

Capture d’écran 2022-07-04 191504


Je vais laisser ça au cas où ça aiderait. Merci


Salut. Est-ce que quelqu’un connaît une solution?

1 « J'aime »

Résolu comme ceci :

sudo pip3 uninstall protobuf

sudo pip3 install 'protobuf==3.19.0'
5 « J'aime »

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