Voici les logs 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 796, 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
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 796, 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
Et les Googlecast update
Launch install of googlecast dependancies
-- Current OS version :
Description: Raspbian GNU/Linux 10 (buster)
-- Updating repo...
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 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 234 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...
python-requests is already the newest version (2.21.0-1+deb10u1).
python3-dev is already the newest version (3.7.3-1).
python3-pip is already the newest version (18.1-5+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 234 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+deb10u2).
0 upgraded, 0 newly installed, 0 to remove and 234 not upgraded.
-- Installation of TTS libraries
Reading package lists...
Building dependency tree...
Reading state information...
Package libttspico-utils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libttspico-utils' has no installation candidate
-- Installation of libav/ffmpeg libraries
Reading package lists...
Building dependency tree...
Reading state information...
ffmpeg is already the newest version (7:4.1.11-0+deb10u1+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 234 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
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python3 -m pip install --upgrade pip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: setuptools>=42.0.0 in /usr/local/lib/python3.7/dist-packages (68.0.0)
-- Installed version of pip :
pip 23.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
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python3 -m pip install --upgrade pip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: requests>=2.21.0 in /usr/local/lib/python3.7/dist-packages (2.31.0)
Requirement already satisfied: charset-normalizer<4,>=2 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.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (2.0.3)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests>=2.21.0) (2023.5.7)
-- 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
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python3 -m pip install --upgrade pip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: protobuf>=3.11.0 in /usr/local/lib/python3.7/dist-packages (4.24.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
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python3 -m pip install --upgrade pip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: zeroconf>=0.25.1 in /usr/local/lib/python3.7/dist-packages (0.82.1)
Requirement already satisfied: async-timeout>=3.0.0 in /usr/local/lib/python3.7/dist-packages (from zeroconf>=0.25.1) (4.0.2)
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: typing-extensions>=3.6.5 in /usr/local/lib/python3.7/dist-packages (from async-timeout>=3.0.0->zeroconf>=0.25.1) (4.7.1)
-- 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
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python3 -m pip install --upgrade pip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: click in /usr/local/lib/python3.7/dist-packages (8.1.4)
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) (6.7.0)
Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.7/dist-packages (from bs4) (4.12.2)
Requirement already satisfied: soupsieve>1.2 in /usr/local/lib/python3.7/dist-packages (from beautifulsoup4->bs4) (2.4.1)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->click) (3.15.0)
Requirement already satisfied: typing-extensions>=3.6.4 in /usr/local/lib/python3.7/dist-packages (from importlib-metadata->click) (4.7.1)
-- 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
[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: python3 -m pip install --upgrade pip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: tqdm in /usr/local/lib/python3.7/dist-packages (4.66.1)
Requirement already satisfied: websocket-client in /usr/local/lib/python3.7/dist-packages (1.6.1)
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.31.0)
Requirement already satisfied: charset-normalizer<4,>=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.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (2.0.3)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.7/dist-packages (from requests->casttube) (2023.5.7)
-- Installation of dependencies is done !