Demon Googlecast en NOK suite transfert VM

bonjour les amis
j’ais des soucis de dépendance, mais cela est réglé par contre impossible de lancer le demon, il reste en nok, voici le résultat de google update, il y a des erreurs ou plutôt des « warning » à la fin mais j’ai du mal à l’interpréter.
si vous avez une idée cdt CARI

Launch install of googlecast dependancies

-- Current OS version :
Description:	Debian GNU/Linux 10 (buster)

-- Updating repo...
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Hit:2 http://phoscon.de/apt/deconz buster InRelease
Hit:3 http://ftp.fr.debian.org/debian buster InRelease
Get:4 http://ftp.fr.debian.org/debian buster-updates InRelease [51.9 kB]
Get:5 http://security.debian.org/debian-security buster/updates/main Sources [237 kB]
Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [329 kB]
Fetched 683 kB in 2s (420 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 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.4.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: 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)
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.1)

-- 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) (1.7.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)

-- 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.2)
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 !

Salut meme probleme

j’ai solutionné rapidement tape en ssh :

pip uninstall protobuf

puis

pip installed protobuf-3.19.0

J’ai le protobuf-3.20 qui n’est pas compatible avec le plugin

A+

1 « J'aime »

salut merci mais cela ne fonctionne pas chez moi
cela me génère une erreur


root@Debian:~# pip install protobuf-3.19.0
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please                                                                          upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop s                                                                         upport for Python 2.7 in January 2021. More details about Python 2 support in pi                                                                         p can be found at https://pip.pypa.io/en/latest/development/release-process/#pyt                                                                         hon-2-support pip 21.0 will remove support for this functionality.
ERROR: Could not find a version that satisfies the requirement protobuf-3.19.0 (                                                                         from versions: none)
ERROR: No matching distribution found for protobuf-3.19.0
root@Debian:~# pip installed protobuf-3.19.0
ERROR: unknown command "installed" - maybe you meant "install"
root@Debian:~# pip install protobuf-3.19.0
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as P                                                ython 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More detail                                                s about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process                                                /#python-2-support pip 21.0 will remove support for this functionality.
ERROR: Could not find a version that satisfies the requirement protobuf-3.19.0 (from versions: none)
ERROR: No matching distribution found for protobuf-3.19.0

As tu fais la première commande avant la seconde avec le numéro de version ?

j’ai refait les commande voici le résultat en Ssh


root@Debian:~# pip uninstall protobuf
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Pytho                                         n as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021.                                          More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/developme                                         nt/release-process/#python-2-support pip 21.0 will remove support for this functionality.
WARNING: Skipping protobuf as it is not installed.
root@Debian:~# pip install protobuf-3.19.0
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Pytho                                         n as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021.                                          More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/developme                                         nt/release-process/#python-2-support pip 21.0 will remove support for this functionality.
ERROR: Could not find a version that satisfies the requirement protobuf-3.19.0 (from versions: none                                         )
ERROR: No matching distribution found for protobuf-3.19.0
root@Debian:~# ^C
root@Debian:~#


Tu tourne sur quel Machine ?

je tourne sur VM qnap, Debian GNU/Linux 10, (buster) 64bits (x86_64)

Et visiblement t’es pas le seul…

1 « J'aime »

As tu essayé le downgrade de protobuf ?

2 « J'aime »

non mais la manip de ptitdyno c’est pas pareil ?

Oui, c’est ca

donc je te confirme que cela ne fonctionne pas avec la manip de ptitdyno.

cdt

Salut,

Et en essayant ceci en ssh (== à la place de -) :

pip install protobuf==3.19.0

puis relancer le Démon du plugin GoogleCast.

solution donnée sur un autre fil de discussion en SHH

sudo pip3 uninstall protobuf
sudo pip3 install 'protobuf==3.19.0'
3 « J'aime »

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