Démon ne se lance plus après restauration de sauvegarde

Bonjour, le démon de Google Cast ne se lance plus après la migration vers une nouvelle machine (VirtualBox) avec restauration de la dernière sauvegarde. En dessous les logs après le relancement de l’installation des dépendences et le relancement du démon. Avant de complètement réinstaller le plugin ou de tester la réponse dans un des FAQs « Un des modules est peut etre corrompu - pour désinstaller les modules utiliser la commande sudo pip3 uninstall -y requests zeroconf click bs4 six tqdm websocket-client » je suis intéréssé d’avoir vos conseils. Je veux éviter des impacts collatéraux. Merci d’avance.

Log Googlecast_update

0000|Launch install of googlecast dependancies
0001|-- Current OS version :
0002|Description:	Debian GNU/Linux 10 (buster)
0003|-- Updating repo...
0004|Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
0005|Hit:2 http://ftp.fr.debian.org/debian buster InRelease
0006|Hit:3 http://ftp.fr.debian.org/debian buster-updates InRelease
0007|Hit:4 https://deb.nodesource.com/node_16.x buster InRelease
0008|Fetched 65.4 kB in 2s (43.5 kB/s)
0009|Reading package lists...
0010|-- Installation of python3 and dependancies
0011|Reading package lists...
0012|Building dependency tree...
0013|Reading state information...
0014|build-essential is already the newest version (12.6).
0015|python-dev is already the newest version (2.7.16-1).
0016|python3 is already the newest version (3.7.3-1).
0017|0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
0018|-- Installed version of Python :
0019|Python 3.7.3
0020|Your version of python is compatible with this plugin.
0021|-- Installation of pip for python3 and necessary libraries
0022|Reading package lists...
0023|Building dependency tree...
0024|Reading state information...
0025|python3-pip is already the newest version (18.1-5).
0026|python3-dev is already the newest version (3.7.3-1).
0027|python-requests is already the newest version (2.21.0-1).
0028|0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
0029|-- Installation of audio sox library
0030|Reading package lists...
0031|Building dependency tree...
0032|Reading state information...
0033|sox is already the newest version (14.4.2+git20190427-1).
0034|0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
0035|-- Installation of TTS libraries
0036|Reading package lists...
0037|Building dependency tree...
0038|Reading state information...
0039|libttspico-utils is already the newest version (1.0+git20130326-9).
0040|0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
0041|-- Installation of libav/ffmpeg libraries
0042|Reading package lists...
0043|Building dependency tree...
0044|Reading state information...
0045|ffmpeg is already the newest version (7:4.1.9-0+deb10u1).
0046|0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
0047|-- Upgrade setuptools with command pip3.7 if not up to date
0048|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
0049|Requirement already satisfied: setuptools>=42.0.0 in /usr/local/lib/python3.7/dist-packages (62.3.2)
0050|-- Installed version of pip :
0051|pip 22.1.2 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)
0052|-- Installation of python library 'requests' with command pip3.7
0053|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
0054|Requirement already satisfied: requests>=2.21.0 in /usr/local/lib/python3.7/dist-packages (2.27.1)
0055|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)
0056|Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (2022.5.18.1)
0057|Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (2.0.12)
0058|Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (3.3)
0059|-- Installation of python library 'protobuf' with command pip3.7
0060|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
0061|Requirement already satisfied: protobuf>=3.11.0 in /usr/local/lib/python3.7/dist-packages (4.21.1)
0062|-- Installation of python library 'zeroconf' with command pip3.7
0063|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
0064|Requirement already satisfied: zeroconf>=0.25.1 in /usr/local/lib/python3.7/dist-packages (0.38.6)
0065|Requirement already satisfied: ifaddr>=0.1.7 in /usr/local/lib/python3.7/dist-packages (from zeroconf>=0.25.1) (0.1.7)
0066|-- Installation of python library 'click, bs4 and six' for TTS with command pip3.7
0067|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
0068|Requirement already satisfied: click in /usr/local/lib/python3.7/dist-packages (8.1.3)
0069|Requirement already satisfied: bs4 in /usr/local/lib/python3.7/dist-packages (0.0.1)
0070|Requirement already satisfied: six in /usr/local/lib/python3.7/dist-packages (1.16.0)
0071|Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.7/dist-packages (from click) (4.11.4)
0072|Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.7/dist-packages (from bs4) (4.11.1)
0073|Requirement already satisfied: soupsieve>1.2 in /usr/local/lib/python3.7/dist-packages (from beautifulsoup4->bs4) (2.3.2.post1)
0074|Requirement already satisfied: typing-extensions>=3.6.4 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->click) (4.2.0)
0075|Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->click) (3.8.0)
0076|-- Installation of python library 'tqdm, websocket-client, casttube' for plex/youtube with command pip3.7
0077|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
0078|Requirement already satisfied: tqdm in /usr/local/lib/python3.7/dist-packages (4.64.0)
0079|Requirement already satisfied: websocket-client in /usr/local/lib/python3.7/dist-packages (1.3.2)
0080|Requirement already satisfied: casttube in /usr/local/lib/python3.7/dist-packages (0.2.1)
0081|Requirement already satisfied: requests in /usr/local/lib/python3.7/dist-packages (from casttube) (2.27.1)
0082|Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (2022.5.18.1)
0083|Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (3.3)
0084|Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (2.0.12)
0085|Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (1.26.9)
0086|-- Installation of dependencies is done !

Log Googlecast_local

0000|Traceback (most recent call last):
0001|File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 45, in 
0002|import pychromecast.pychromecast as pychromecast
0003|File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 12, in 
0004|from . import socket_client
0005|File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/socket_client.py", line 23, in 
0006|from . import cast_channel_pb2
0007|File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/cast_channel_pb2.py", line 36, in 
0008|type=None),
0009|File "/usr/local/lib/python3.7/dist-packages/google/protobuf/descriptor.py", line 755, in __new__
0010|_message.Message._CheckCalledFromGeneratedFile()
0011|TypeError: Descriptors cannot not be created directly.
0012|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.
0013|If you cannot immediately regenerate your protos, some other possible workarounds are:
0014|1. Downgrade the protobuf package to 3.20.x or lower.
0015|2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
0016|More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
0017|Traceback (most recent call last):
0018|File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 45, in 
0019|import pychromecast.pychromecast as pychromecast
0020|File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 12, in 
0021|from . import socket_client
0022|File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/socket_client.py", line 23, in 
0023|from . import cast_channel_pb2
0024|File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/cast_channel_pb2.py", line 36, in 
0025|type=None),
0026|File "/usr/local/lib/python3.7/dist-packages/google/protobuf/descriptor.py", line 755, in __new__
0027|_message.Message._CheckCalledFromGeneratedFile()
0028|TypeError: Descriptors cannot not be created directly.
0029|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.
0030|If you cannot immediately regenerate your protos, some other possible workarounds are:
0031|1. Downgrade the protobuf package to 3.20.x or lower.
0032|2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
0033|More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
0034|Traceback (most recent call last):
0035|File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 45, in 
0036|import pychromecast.pychromecast as pychromecast
0037|File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 12, in 
0038|from . import socket_client
0039|File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/socket_client.py", line 23, in 
0040|from . import cast_channel_pb2
0041|File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/cast_channel_pb2.py", line 36, in 
0042|type=None),
0043|File "/usr/local/lib/python3.7/dist-packages/google/protobuf/descriptor.py", line 755, in __new__
0044|_message.Message._CheckCalledFromGeneratedFile()
0045|TypeError: Descriptors cannot not be created directly.
0046|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.
0047|If you cannot immediately regenerate your protos, some other possible workarounds are:
0048|1. Downgrade the protobuf package to 3.20.x or lower.
0049|2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
0050|More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
0051|Traceback (most recent call last):
0052|File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 45, in 
0053|import pychromecast.pychromecast as pychromecast
0054|File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 12, in 
0055|from . import socket_client
0056|File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/socket_client.py", line 23, in 
0057|from . import cast_channel_pb2
0058|File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/cast_channel_pb2.py", line 36, in 
0059|type=None),
0060|File "/usr/local/lib/python3.7/dist-packages/google/protobuf/descriptor.py", line 755, in __new__
0061|_message.Message._CheckCalledFromGeneratedFile()
0062|TypeError: Descriptors cannot not be created directly.
0063|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.
0064|If you cannot immediately regenerate your protos, some other possible workarounds are:
0065|1. Downgrade the protobuf package to 3.20.x or lower.
0066|2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
0067|More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
0068|Traceback (most recent call last):
0069|File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 45, in 
0070|import pychromecast.pychromecast as pychromecast
0071|File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 12, in 
0072|from . import socket_client
0073|File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/socket_client.py", line 23, in 
0074|from . import cast_channel_pb2
0075|File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/cast_channel_pb2.py", line 36, in 
0076|type=None),
0077|File "/usr/local/lib/python3.7/dist-packages/google/protobuf/descriptor.py", line 755, in __new__
0078|_message.Message._CheckCalledFromGeneratedFile()
0079|TypeError: Descriptors cannot not be created directly.
0080|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.
0081|If you cannot immediately regenerate your protos, some other possible workarounds are:
0082|1. Downgrade the protobuf package to 3.20.x or lower.
0083|2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
0084|More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

Salut meme probleme

j’ai solutionné rapidement tape en ssh :

sudo pip3 uninstall protobuf

puis

sudo pip3 install protobuf-3.19.0

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

A+

1 « J'aime »