Bonjour,
j’essaye de faire fonctionner le plugin googlecast de guirem mais après plusieur install desinstall réinstall je suis toujours au même point le daemon reste NOK.
voici la config:
plugin version stable 2020-12-24 01:10:04
sur un NUC dédié (pas de VM) Jeedom V3.3.59 Je ne suis pas en Buster mais le site indique que Stretch et parfaitement stable.
Linux jeedom100 4.9.0-16-amd64 #1 SMP Debian 4.9.272-2 (2021-07-19) x86_64 GNU/Linux [9.13]
log réinstallation dépendances:
Launch install of googlecast dependancies
-- Current OS version :
Description: Debian GNU/Linux 9.13 (stretch)
-- Updating repo...
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Hit:2 http://ftp.fr.debian.org/debian stretch Release
Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
Hit:5 https://deb.nodesource.com/node_14.x stretch 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.3).
python-dev is already the newest version (2.7.13-2).
python3 is already the newest version (3.5.3-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-- Installed version of Python :
Python 3.5.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-dev is already the newest version (3.5.3-1).
python-requests is already the newest version (2.12.4-1).
python3-pip is already the newest version (9.0.1-2+deb9u2).
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.1-5+deb9u2).
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:3.2.16-1+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-- Upgrade setuptools with command pip3 if not up to date
Requirement already satisfied: setuptools>=42.0.0 in /usr/local/lib/python3.5/dist-packages
-- Installed version of pip :
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.5)
-- Installation of python library 'requests' with command pip3
Requirement already satisfied: requests>=2.21.0 in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.5/dist-packages (from requests>=2.21.0)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.5/dist-packages (from requests>=2.21.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.5/dist-packages (from requests>=2.21.0)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.5/dist-packages (from requests>=2.21.0)
-- Installation of python library 'protobuf' with command pip3
Requirement already satisfied: protobuf>=3.11.0 in /usr/local/lib/python3.5/dist-packages
-- Installation of python library 'zeroconf' with command pip3
Requirement already satisfied: zeroconf>=0.25.1 in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied: ifaddr>=0.1.7 in /usr/local/lib/python3.5/dist-packages (from zeroconf>=0.25.1)
-- Installation of python library 'click, bs4 and six' for TTS with command pip3
Requirement already satisfied: click in /usr/local/lib/python3.5/dist-packages
Collecting bs4
Requirement already satisfied: six in /usr/lib/python3/dist-packages
Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.5/dist-packages (from bs4)
Requirement already satisfied: soupsieve>1.2 in /usr/local/lib/python3.5/dist-packages (from beautifulsoup4->bs4)
Installing collected packages: bs4
Successfully installed bs4-0.0.1
-- Installation of python library 'tqdm, websocket-client, casttube' for plex/youtube with command pip3
Requirement already satisfied: tqdm in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied: websocket-client in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied: casttube in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from websocket-client)
Requirement already satisfied: requests in /usr/local/lib/python3.5/dist-packages (from casttube)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.5/dist-packages (from requests->casttube)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.5/dist-packages (from requests->casttube)
Requirement already satisfied: chardet<5,>=3.0.2 in /usr/local/lib/python3.5/dist-packages (from requests->casttube)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.5/dist-packages (from requests->casttube)
-- Installation of dependencies is done !
log googlecast_local
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 27, in <module>
from .discovery import get_info_from_service, get_host_from_service_info
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 7, in <module>
import zeroconf
File "/usr/local/lib/python3.5/dist-packages/zeroconf/__init__.py", line 25, in <module>
from ._cache import DNSCache # noqa # import needed for backwards compat
File "/usr/local/lib/python3.5/dist-packages/zeroconf/_cache.py", line 58
self.cache: _DNSRecordCacheType = {}
^
SyntaxError: invalid syntax
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 27, in <module>
from .discovery import get_info_from_service, get_host_from_service_info
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 7, in <module>
import zeroconf
File "/usr/local/lib/python3.5/dist-packages/zeroconf/__init__.py", line 25, in <module>
from ._cache import DNSCache # noqa # import needed for backwards compat
File "/usr/local/lib/python3.5/dist-packages/zeroconf/_cache.py", line 58
self.cache: _DNSRecordCacheType = {}
^
SyntaxError: invalid syntax
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 27, in <module>
from .discovery import get_info_from_service, get_host_from_service_info
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 7, in <module>
import zeroconf
File "/usr/local/lib/python3.5/dist-packages/zeroconf/__init__.py", line 25, in <module>
from ._cache import DNSCache # noqa # import needed for backwards compat
File "/usr/local/lib/python3.5/dist-packages/zeroconf/_cache.py", line 58
self.cache: _DNSRecordCacheType = {}
^
SyntaxError: invalid syntax
il semble qu’il y ai un pb: SyntaxError: invalid syntax, mais là c’est hors de portée pour moi. Merci du coup de main si c’est possible, suis pas trop chaud de faire un upgrade de distrib sur un Jeedom de Prod.
