Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

Pb de Scan avec le Plugin Google Cast

Pour échanger sur les plugins classés en catégorie "Multimédia"
gaetan.vw
Timide
Messages : 1
Inscription : 09 déc. 2018, 17:38

Pb de Scan avec le Plugin Google Cast

Message par gaetan.vw » 09 déc. 2018, 17:47

Bonjour à tous,

Je tiens d'abord à remercier la communauté Jeedom qui permet de rendre cette solution domotique au Top !

Cependant je rencontre une difficulté avec le plugin Google Cast ...

Pour ma part, pas de souci d'install de dépendance, le statut de l'état, des dépendances ainsi que le démon sont au vert.

Mais lors du scan du réseau pour trouver des périphériques compatibles, je ne trouve jamais rien.

J'ai à minima une Google Home Mini présente sur le LAN, ainsi qu'une Freebox Mini sous Android TV (même si je ne sais pas si elle compatible avec ce plugin)

Donc si une âme charitable a une idée ... je suis bien-sur preneur.

Merci d'avance.

Nemo79300
Timide
Messages : 18
Inscription : 12 mars 2015, 21:21

Re: Pb de Scan avec le Plugin Google Cast

Message par Nemo79300 » 30 déc. 2018, 19:28

Bonjour Gaetan,
Même problème :(

Koumal
Timide
Messages : 19
Inscription : 28 févr. 2018, 07:39

Re: Pb de Scan avec le Plugin Google Cast

Message par Koumal » 21 janv. 2019, 09:35

Bonjour messieurs,

J'utilises ce plugin depuis des mois sans problèmes.
J'ai récemment changé de box internet et j'ai donc voulu rescanner mes GH, Chomecasts et maintenant plus rien.
J'ai d'abord pensé à un problème lié à ma nouvelle configuration, mais après avoir trouvé vos posts, je commence à me demander s'il n'y a pas un bug avec le plugin.
pour info j'ai ouvert un ticket sur le github du plugin à l'attention de Guirem.
En espérant que le bug soit corrigé rapidement car ce plugin est top.

jax24fr
Timide
Messages : 467
Inscription : 24 juil. 2014, 22:41

Re: Pb de Scan avec le Plugin Google Cast

Message par jax24fr » 21 janv. 2019, 13:56

Salut les gars,

Postez a minima les logs en mode debug.
Sans ca c'est impossible d'aider meme avec la meilleure volonté du monde...

SInon la seule fois ou j'ai eu ce pb, c'et quand j'ai changé d'AP Wifi, mauvaise config avec le protocole bonjour.
Matos :
DIY DEBIAN 9 (sous VM PROXMOX) Jeedom

Koumal
Timide
Messages : 19
Inscription : 28 févr. 2018, 07:39

Re: Pb de Scan avec le Plugin Google Cast

Message par Koumal » 21 janv. 2019, 17:33

Salut jax24fr,

Merci pour ton retour.
Pour ma part en mode debug, je n'ai pas grand chose :
Googlecast : «This is a message from googlecast program local»
Googlecast_local : rien
Googlecast_update : rien

Tu veux dire quoi exactement par mauvaise config avec le protocole. Vu que j'ai changé de box, c'est possible que mon problème soit similaire.

Merci.

jax24fr
Timide
Messages : 467
Inscription : 24 juil. 2014, 22:41

Re: Pb de Scan avec le Plugin Google Cast

Message par jax24fr » 21 janv. 2019, 21:11

Pour les logs,

Il faut activer le mode debug dans les logs.

Sinon je suis avec une AP ARUBA, dès que j'active le protocole Bonjour de l'AP, ca me fais foirer l'utilisation du plugin avec les GH
Screen Shot 2019-01-21 at 21.10.09.png
Screen Shot 2019-01-21 at 21.10.09.png (56.65 Kio) Consulté 2188 fois
Matos :
DIY DEBIAN 9 (sous VM PROXMOX) Jeedom

Koumal
Timide
Messages : 19
Inscription : 28 févr. 2018, 07:39

Re: Pb de Scan avec le Plugin Google Cast

Message par Koumal » 21 janv. 2019, 21:35

Je confirme, j'ai bien activé le mode debug sur la page de configuration du plugin.
C'est même la première chose que j'ai faite le jour où j'ai eu le bug.

jax24fr
Timide
Messages : 467
Inscription : 24 juil. 2014, 22:41

Re: Pb de Scan avec le Plugin Google Cast

Message par jax24fr » 21 janv. 2019, 21:57

alors si tu n'a rien c'est que ce n'est pas actif.
Redemarre le demon dans la gestion du plugin (en vérifiant que tu DEBUG soit coché)
Matos :
DIY DEBIAN 9 (sous VM PROXMOX) Jeedom

Koumal
Timide
Messages : 19
Inscription : 28 févr. 2018, 07:39

Re: Pb de Scan avec le Plugin Google Cast

Message par Koumal » 21 janv. 2019, 23:24

ah oui, merci j'ai des logs maintenant.
Au top jax24fr !

C'est bizarre, il est écrit "no need to scan network, al devices are present". Alors que je les ai supprimés. Et que j'ai désinstallé et réinstallé le plugin pour être sûr.

[2019-01-21 22:09:25][INFO] : ------------------------------------------------------
[2019-01-21 22:09:25][INFO] : ------------------------------------------------------
[2019-01-21 22:09:25][INFO] : GLOBAL------STARTING googlecast
[2019-01-21 22:09:25][INFO] : GLOBAL------Scan Timeout : 10
[2019-01-21 22:09:25][INFO] : GLOBAL------Scan Frequency : 60
[2019-01-21 22:09:25][INFO] : GLOBAL------Log level : debug
[2019-01-21 22:09:25][INFO] : GLOBAL------Socket port : _ _ _ _ _
[2019-01-21 22:09:25][INFO] : GLOBAL------Socket host : _ _ _ ._._._
[2019-01-21 22:09:25][INFO] : GLOBAL------PID file : /tmp/googlecast.pid
[2019-01-21 22:09:25][INFO] : GLOBAL------Apikey : *******************************
[2019-01-21 22:09:25][INFO] : GLOBAL------TTS Jeedom server : http://_ _._ _._._ _:_ _
[2019-01-21 22:09:25][INFO] : GLOBAL------TTS default language : fr-FR
[2019-01-21 22:09:25][INFO] : GLOBAL------TTS default engine : gttsapi
[2019-01-21 22:09:25][INFO] : GLOBAL------TTS default speech speed : 1.2
[2019-01-21 22:09:25][INFO] : GLOBAL------TTS Google API Key (optional) : OK
[2019-01-21 22:09:25][INFO] : GLOBAL------Cache status : True
[2019-01-21 22:09:25][INFO] : GLOBAL------Callback : http://_ _ _._._._:_ _/plugins/googlecast/core/php/googlecast.api.php
[2019-01-21 22:09:25][INFO] : GLOBAL------Event cycle : 0.5
[2019-01-21 22:09:25][INFO] : GLOBAL------Main cycle : 2.0
[2019-01-21 22:09:25][INFO] : GLOBAL------Default status message :  
[2019-01-21 22:09:25][INFO] : -----------------------------------------------------
[2019-01-21 22:09:25][DEBUG] : Writing PID 7194 to /tmp/googlecast.pid
[2019-01-21 22:09:25][DEBUG] : Init request module v2.4.3
[2019-01-21 22:09:25][INFO] : GLOBAL------Network communication to jeedom OK.
[2019-01-21 22:09:25][DEBUG] : SOCKETHANDLER------Socket interface started
[2019-01-21 22:09:25][DEBUG] : SOCKETHANDLER------LoopNetServer Thread started
[2019-01-21 22:09:25][INFO] : GLOBAL------Socket started...
[2019-01-21 22:09:25][DEBUG] : SOCKETHANDLER------Listening on: [_ _ _._._._:_ _ _ _ _]
[2019-01-21 22:09:25][INFO] : GLOBAL------Waiting for messages...
[2019-01-21 22:09:25][DEBUG] : WARMUPNOTIF------ Checking file generation...
[2019-01-21 22:09:25][DEBUG] : SENDER------Send to jeedom : {'source': 'local', 'started': 1}
[2019-01-21 22:09:25][DEBUG] : SCANNER------ Start scanning...
[2019-01-21 22:09:25][DEBUG] : SCANNER------ No need to scan network, all devices are present
[2019-01-21 22:09:35][DEBUG] : SOCKETHANDLER------Client connected to [_ _ _._._._:_ _ _ _ _]
[2019-01-21 22:09:35][DEBUG] : SOCKETHANDLER------Message read from socket: {"apikey":"_ _ _ ","cmd":"learnin"}
[2019-01-21 22:09:35][DEBUG] : SOCKETHANDLER------Client disconnected from [_ _ _._._._:_ _ _ _ _]
[2019-01-21 22:09:35][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2019-01-21 22:09:35][DEBUG] : SOCKET-READ------Received command from jeedom : learnin
[2019-01-21 22:09:35][DEBUG] : SOCKET-READ------Enter in learn mode
[2019-01-21 22:09:35][DEBUG] : SENDER------Send to jeedom : {'source': 'local', 'learn_mode': 1}
[2019-01-21 22:09:35][DEBUG] : SCANNER------ Start scanning...
[2019-01-21 22:09:35][DEBUG] : MEMORY---- Total CPU time used : 1.340s (13.40%) | Last 10 sec : 1.340s (13.40%) | Memory : 26 Mo
[2019-01-21 22:09:35][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-01-21 22:09:45][DEBUG] : SCANNER------ Start scanning...
[2019-01-21 22:09:45][DEBUG] : MEMORY---- Total CPU time used : 1.370s (6.85%) | Last 10 sec : 0.030s (0.30%) | Memory : 26 Mo
[2019-01-21 22:09:45][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-01-21 22:09:55][DEBUG] : SCANNER------ Start scanning...
[2019-01-21 22:09:55][DEBUG] : MEMORY---- Total CPU time used : 1.400s (4.67%) | Last 10 sec : 0.030s (0.30%) | Memory : 26 Mo
[2019-01-21 22:09:55][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-01-21 22:10:05][DEBUG] : SCANNER------ Start scanning...
[2019-01-21 22:10:05][DEBUG] : MEMORY---- Total CPU time used : 1.440s (3.60%) | Last 10 sec : 0.040s (0.40%) | Memory : 26 Mo
[2019-01-21 22:10:05][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-01-21 22:10:15][DEBUG] : SCANNER------ Start scanning...
[2019-01-21 22:10:15][DEBUG] : MEMORY---- Total CPU time used : 1.470s (2.94%) | Last 10 sec : 0.030s (0.30%) | Memory : 26 Mo
[2019-01-21 22:10:15][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-01-21 22:10:25][DEBUG] : SCANNER------ Start scanning...
[2019-01-21 22:10:25][DEBUG] : MEMORY---- Total CPU time used : 1.500s (2.50%) | Last 10 sec : 0.030s (0.30%) | Memory : 26 Mo
[2019-01-21 22:10:25][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-01-21 22:10:35][DEBUG] : SCANNER------ Start scanning...
[2019-01-21 22:10:35][DEBUG] : MEMORY---- Total CPU time used : 1.530s (2.19%) | Last 10 sec : 0.030s (0.30%) | Memory : 26 Mo
[2019-01-21 22:10:35][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-01-21 22:10:37][INFO] : HEARTBEAT------Quitting learn mode (60s elapsed)
[2019-01-21 22:10:37][DEBUG] : SENDER------Send to jeedom : {'source': 'local', 'learn_mode': 0}
[2019-01-21 22:11:45][DEBUG] : SCANNER------ Start scanning...
[2019-01-21 22:11:45][DEBUG] : MEMORY---- Total CPU time used : 1.680s (1.20%) | Last 70 sec : 0.150s (0.21%) | Memory : 26 Mo
[2019-01-21 22:11:45][DEBUG] : SCANNER------ No need to scan network, all devices are present
[2019-01-21 22:12:47][DEBUG] : SCANNER------ Start scanning...
[2019-01-21 22:12:47][DEBUG] : MEMORY---- Total CPU time used : 1.800s (0.89%) | Last 62 sec : 0.120s (0.19%) | Memory : 26 Mo
[2019-01-21 22:12:47][DEBUG] : SCANNER------ No need to scan network, all devices are present
[2019-01-21 22:13:49][DEBUG] : SCANNER------ Start scanning...
[2019-01-21 22:13:49][DEBUG] : MEMORY---- Total CPU time used : 1.920s (0.73%) | Last 62 sec : 0.120s (0.19%) | Memory : 26 Mo
[2019-01-21 22:13:49][DEBUG] : SCANNER------ No need to scan network, all devices are present
[2019-01-21 22:14:51][DEBUG] : SCANNER------ Start scanning...
[2019-01-21 22:14:51][DEBUG] : MEMORY---- Total CPU time used : 2.030s (0.62%) | Last 62 sec : 0.110s (0.18%) | Memory : 26 Mo
[2019-01-21 22:14:51][DEBUG] : SCANNER------ No need to scan network, all devices are present

guirem
Timide
Messages : 276
Inscription : 31 août 2017, 00:41

Re: Pb de Scan avec le Plugin Google Cast

Message par guirem » 26 janv. 2019, 11:01

Bonjour,

Le log est normal.
Ton jeedom n'a t-il plusieurs interface vers l’extérieur (Ethernet + wifi) ou une configuration réseau spécifique ?
Ping tu les google cast à partir de jeedom?

Koumal
Timide
Messages : 19
Inscription : 28 févr. 2018, 07:39

Re: Pb de Scan avec le Plugin Google Cast

Message par Koumal » 26 janv. 2019, 15:43

Bonjour,

Je ne suis pas sûr de comprendre concernant le premier point.

Le ping depuis jeedom fonctionne parfaitement (testé avec le plugin network).

fran6t
Timide
Messages : 20
Inscription : 24 févr. 2015, 16:27

Re: Pb de Scan avec le Plugin Google Cast

Message par fran6t » 03 mars 2019, 12:19

Je continue sur ce fil de discussion, car j'ai le même problème.
Pour situer le contexte :
Réseau local freebox revolution (class adresse 192.168.0.xxx)
Un Google Home Mini à l'adresse IP 192.168.0.8
Un jeedom à l'adresse IP 192.168.0.39

Jeedom version : 3.2.16
Plugin Google Cast : Version du 11 decembre stable

Niveau installation du plugin:
Etat Actif
Dependance OK

Daemon :
- Local Statut Nok
- Configuration Ok

Log Googlecast:

Code : Tout sélectionner

[2019-03-03 12:05:06][INFO] : Lancement démon googlecast : /usr/bin/python3 /var/www/html/plugins/googlecast/resources/googlecast.py --loglevel debug --socketport 55012 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/jeedom/plugins/googlecast/core/php/googlecast.api.php --apikey GQBPTg6DGgiJPCgQ0h8MCN --ttsweb http://maison.mondomaine.fr:6969/jeedom --ttslang fr-FR --ttsengine gttsapi --ttsspeed 1.2 --ttscache 1 --ttsgapikey  AIzaSyA2_ShhRk_EakXsEpbLXE2ic0cD4qSiv88 --daemonname local --cyclefactor 1 --defaultstatus ' '  
Log Googlecast_local

Code : Tout sélectionner

[2019-03-03 12:08:08][INFO] : ------------------------------------------------------
[2019-03-03 12:08:08][INFO] : ------------------------------------------------------
[2019-03-03 12:08:08][INFO] : GLOBAL------STARTING googlecast
[2019-03-03 12:08:08][INFO] : GLOBAL------Scan Timeout : 10
[2019-03-03 12:08:08][INFO] : GLOBAL------Scan Frequency : 60
[2019-03-03 12:08:08][INFO] : GLOBAL------Log level : debug
[2019-03-03 12:08:08][INFO] : GLOBAL------Socket port : 55012
[2019-03-03 12:08:08][INFO] : GLOBAL------Socket host : 127.0.0.1
[2019-03-03 12:08:08][INFO] : GLOBAL------PID file : /tmp/googlecast.pid
[2019-03-03 12:08:08][INFO] : GLOBAL------Apikey : *******************************
[2019-03-03 12:08:08][INFO] : GLOBAL------TTS Jeedom server : http://maison.mondomaine.fr:6969/jeedom
[2019-03-03 12:08:08][INFO] : GLOBAL------TTS default language : fr-FR
[2019-03-03 12:08:08][INFO] : GLOBAL------TTS default engine : gttsapi
[2019-03-03 12:08:08][INFO] : GLOBAL------TTS default speech speed : 1.2
[2019-03-03 12:08:08][INFO] : GLOBAL------TTS Google API Key (optional) : OK
[2019-03-03 12:08:08][INFO] : GLOBAL------Cache status : True
[2019-03-03 12:08:08][INFO] : GLOBAL------Callback : http://127.0.0.1:80/jeedom/plugins/googlecast/core/php/googlecast.api.php
[2019-03-03 12:08:08][INFO] : GLOBAL------Event cycle : 0.5
[2019-03-03 12:08:08][INFO] : GLOBAL------Main cycle : 2.0
[2019-03-03 12:08:08][INFO] : GLOBAL------Default status message :  
[2019-03-03 12:08:08][INFO] : -----------------------------------------------------
[2019-03-03 12:08:08][DEBUG] : Writing PID 10590 to /tmp/googlecast.pid
[2019-03-03 12:08:08][DEBUG] : Init request module v2.12.4
[2019-03-03 12:08:08][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-03-03 12:08:08][DEBUG] : http://127.0.0.1:80 "GET /jeedom/plugins/googlecast/core/php/googlecast.api.php?apikey=GQBPTg6DGgiJPCgQ0h8MCNEJq HTTP/1.1" 404 251
[2019-03-03 12:08:08][ERROR] : SENDER------Callback result as a unknown error: 'Response' object has no attribute 'status'. Please check your network configuration page. 
[2019-03-03 12:08:08][ERROR] : GLOBAL------Network communication issues. Please fix your Jeedom network configuration.
[2019-03-03 12:08:08][DEBUG] : GLOBAL------Shutdown
[2019-03-03 12:08:08][DEBUG] : GLOBAL------Removing PID file /tmp/googlecast.pid
[2019-03-03 12:08:08][DEBUG] : SENDER------Send to jeedom :  {'source': 'local', 'stopped': 1}
[2019-03-03 12:08:08][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-03-03 12:08:08][DEBUG] : http://127.0.0.1:80 "POST /jeedom/plugins/googlecast/core/php/googlecast.api.php?apikey=GQBPTg6DGgiJPCgQ0h8MCNEJq/1.1" 404 251
[2019-03-03 12:08:08][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-03-03 12:08:08][DEBUG] : http://127.0.0.1:80 "POST /jeedom/plugins/googlecast/core/php/googlecast.api.php?apikey=GQBPTg6DGgiJPCgQ0h8MCNEJq HTTP/1.1" 404 251
[2019-03-03 12:08:08][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-03-03 12:08:08][DEBUG] : http://127.0.0.1:80 "POST /jeedom/plugins/googlecast/core/php/googlecast.api.php?apikey=GQBPTg6DGgiJPCgQ0h8MCNEJq HTTP/1.1" 404 251
[2019-03-03 12:08:09][DEBUG] : Exit 0
Dans Plugin -> Multimedia -> Google Cast

Lorsque je clique sur Scan rien ne se passe, pas de message d'erreur rien.
Si je regarde la console du navigateur : je vois la requete googlecast.ajax.php qui répond

Code : Tout sélectionner

{"state":"ok","result":""}
Je suis preneur de toute piste permettant de solutionner mon problème, je penche pour un soucis niveau zeroconf peut-être ?

mb17rr
Timide
Messages : 3
Inscription : 11 mai 2018, 11:31

Re: Pb de Scan avec le Plugin Google Cast

Message par mb17rr » 03 mars 2019, 17:11

Bonjour à tous !

Même problème ici on dirait.
Pour ma part ça doit faire suite à une restauration de sauvegarde.

Tout est actif et OK : démon, dépendances, et ping chromecast et GH mini depuis Jeedom.

Le scan ne trouve rien et dans les logs j'ai :

Code : Tout sélectionner

Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 16:00:49][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 16:00:49][DEBUG] :  MEMORY---- Total CPU time used : 2.239s (2.83%)  |  Last 2 sec : 0.012s (0.60%)  | Memory : 24 Mo
[2019-03-03 16:00:49][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 16:00:49][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 16:00:49][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
Donc à priori un problème du coté de "ZeroConf", j'ai cherché un peu et tenté de réinstaller python mais ça ne change rien.

Merci à ceux qui pourraient nous aider :)

EDIT :
Un peu plus d'infos :
Livebox 4 et Raspi sur même réseau en ETH
J'ai essayé de désactiver le parefeu Livebox -> idem
J'ai déjà réussi à le faire marcher sans pb il y a quelques semaines avec la même config.

fran6t
Timide
Messages : 20
Inscription : 24 févr. 2015, 16:27

Re: Pb de Scan avec le Plugin Google Cast

Message par fran6t » 03 mars 2019, 18:13

Résolu de mon côté , les erreurs 404 dans mon log m'ont aiguillé, dans la configuration réseau j'avais un jeedom qui trainait et qui n'avait pas empeché le reste de fonctionner.
En gros dans admin -> onglet reseau
J'avais Protocole http puis dans le 1er champs 192.168.0.39 puis dans le 80 puis dans le troisieme jeedom

@mb17rr as tu bien le plugin à jour ? Dans Outils --> Plugins -->Google Cast au niveau de version il y a bien indiqué 2018-12-11 23:30:56
En tous les cas tu as une piste dans ton log il y a bien des remontées d'erreurs python.
Assures toi d'être à jour partout !

mb17rr
Timide
Messages : 3
Inscription : 11 mai 2018, 11:31

Re: Pb de Scan avec le Plugin Google Cast

Message par mb17rr » 03 mars 2019, 18:55

Re,

Jeedom et plugin sont bien à jour
Image

Les logs au complet :

Googlecast :

Code : Tout sélectionner

[2019-03-03 17:22:21][INFO] : Info sur le démon : Array (     [log] => googlecast     [state] => nok     [launchable] => ok     [launchable_message] => Gestion automatique désactivée     [auto] => 0     [last_launch] => 2019-03-03 16:59:27 )
[2019-03-03 17:22:21][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=googlecast function=update callInstallFunction=1
[2019-03-03 17:22:57][INFO] : Lancement démon googlecast : /usr/bin/python3 /var/www/html/plugins/googlecast/resources/googlecast.py --loglevel debug --socketport 55012 --sockethost 127.0.0.1 --callback http://127.0.0.1:80/plugins/googlecast/core/php/googlecast.api.php --apikey UsRmi1vQt1kR6OifmZliMxC6i50y1ui3 --ttsweb http://192.168.1.39:80 --ttslang fr-FR --ttsengine gtts --ttsspeed 1.2 --ttscache 1 --ttsgapikey none --daemonname local --cyclefactor 1 --defaultstatus ' '
[2019-03-03 17:22:59][DEBUG] : This is a message from googlecast program local
[2019-03-03 17:22:59][INFO] : Process started. Sending known devices now...
[2019-03-03 17:23:04][DEBUG] : This is a message from googlecast program local
[2019-03-03 17:24:05][DEBUG] : This is a message from googlecast program local
[2019-03-03 17:30:30][DEBUG] : This is a message from googlecast program local
[2019-03-03 17:34:41][DEBUG] : This is a message from googlecast program local
[2019-03-03 17:35:42][DEBUG] : This is a message from googlecast program local
[2019-03-03 17:38:02][DEBUG] : This is a message from googlecast program local
[2019-03-03 17:45:33][DEBUG] : This is a message from googlecast program local
[2019-03-03 17:53:05][DEBUG] : This is a message from googlecast program local
[2019-03-03 18:00:37][DEBUG] : This is a message from googlecast program local
[2019-03-03 18:08:08][DEBUG] : This is a message from googlecast program local
[2019-03-03 18:15:40][DEBUG] : This is a message from googlecast program local
[2019-03-03 18:23:11][DEBUG] : This is a message from googlecast program local
[2019-03-03 18:30:43][DEBUG] : This is a message from googlecast program local
[2019-03-03 18:38:14][DEBUG] : This is a message from googlecast program local
[2019-03-03 18:45:46][DEBUG] : This is a message from googlecast program local
[2019-03-03 18:46:10][DEBUG] : This is a message from googlecast program local
[2019-03-03 18:47:12][DEBUG] : This is a message from googlecast program local
Googlecast_Local :

Code : Tout sélectionner

[2019-03-03 17:47:00][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:47:00][DEBUG] :  MEMORY---- Total CPU time used : 18.339s (0.36%)  |  Last 2 sec : 0.013s (0.64%)  | Memory : 24 Mo
[2019-03-03 17:47:00][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:47:00][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:00][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:02][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:47:02][DEBUG] :  MEMORY---- Total CPU time used : 18.350s (0.36%)  |  Last 2 sec : 0.012s (0.58%)  | Memory : 24 Mo
[2019-03-03 17:47:02][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:47:02][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:02][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:04][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:47:04][DEBUG] :  MEMORY---- Total CPU time used : 18.361s (0.36%)  |  Last 2 sec : 0.011s (0.53%)  | Memory : 24 Mo
[2019-03-03 17:47:04][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:47:04][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:04][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:06][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:47:06][DEBUG] :  MEMORY---- Total CPU time used : 18.373s (0.36%)  |  Last 2 sec : 0.012s (0.62%)  | Memory : 24 Mo
[2019-03-03 17:47:06][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:47:06][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:06][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:08][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:47:08][DEBUG] :  MEMORY---- Total CPU time used : 18.385s (0.36%)  |  Last 2 sec : 0.012s (0.60%)  | Memory : 24 Mo
[2019-03-03 17:47:08][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:47:08][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:08][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:10][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:47:10][DEBUG] :  MEMORY---- Total CPU time used : 18.397s (0.36%)  |  Last 2 sec : 0.012s (0.60%)  | Memory : 24 Mo
[2019-03-03 17:47:10][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:47:10][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:10][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:12][INFO] : HEARTBEAT------Quitting learn mode (60s elapsed)
[2019-03-03 17:47:12][DEBUG] : SENDER------Send to jeedom :  {'learn_mode': 0, 'source': 'local'}
[2019-03-03 17:47:12][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-03-03 17:47:12][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=UsRmi1vQt1kR6OifmZliMxC6i50y1ui3 HTTP/1.1" 200 0
[2019-03-03 17:48:12][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:48:12][DEBUG] :  MEMORY---- Total CPU time used : 18.620s (0.36%)  |  Last 62 sec : 0.223s (0.36%)  | Memory : 24 Mo
[2019-03-03 17:48:12][DEBUG] : SCANNER------ No need to scan network, all devices are present
[2019-03-03 17:49:14][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:49:14][DEBUG] :  MEMORY---- Total CPU time used : 18.812s (0.36%)  |  Last 62 sec : 0.192s (0.31%)  | Memory : 24 Mo
[2019-03-03 17:49:14][DEBUG] : SCANNER------ No need to scan network, all devices are present
[2019-03-03 17:50:16][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:50:16][DEBUG] :  MEMORY---- Total CPU time used : 19.001s (0.36%)  |  Last 62 sec : 0.189s (0.30%)  | Memory : 24 Mo
[2019-03-03 17:50:16][DEBUG] : SCANNER------ No need to scan network, all devices are present
[2019-03-03 17:51:17][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:51:17][DEBUG] :  MEMORY---- Total CPU time used : 19.170s (0.36%)  |  Last 61 sec : 0.170s (0.28%)  | Memory : 24 Mo
[2019-03-03 17:51:17][DEBUG] : SCANNER------ No need to scan network, all devices are present
Googlecast_Update :

Code : Tout sélectionner

[2019-03-03 17:46:28][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:46:28][DEBUG] :  MEMORY---- Total CPU time used : 18.150s (0.36%)  |  Last 2 sec : 0.011s (0.56%)  | Memory : 24 Mo
[2019-03-03 17:46:28][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:46:28][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:28][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:30][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:46:30][DEBUG] :  MEMORY---- Total CPU time used : 18.162s (0.36%)  |  Last 2 sec : 0.013s (0.63%)  | Memory : 24 Mo
[2019-03-03 17:46:30][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:46:30][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:30][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:32][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:46:32][DEBUG] :  MEMORY---- Total CPU time used : 18.174s (0.36%)  |  Last 2 sec : 0.012s (0.60%)  | Memory : 24 Mo
[2019-03-03 17:46:32][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:46:32][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:32][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:34][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:46:34][DEBUG] :  MEMORY---- Total CPU time used : 18.187s (0.36%)  |  Last 2 sec : 0.013s (0.64%)  | Memory : 24 Mo
[2019-03-03 17:46:34][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:46:34][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:34][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:36][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:46:36][DEBUG] :  MEMORY---- Total CPU time used : 18.199s (0.36%)  |  Last 2 sec : 0.012s (0.62%)  | Memory : 24 Mo
[2019-03-03 17:46:36][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:46:36][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:36][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:38][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:46:38][DEBUG] :  MEMORY---- Total CPU time used : 18.212s (0.36%)  |  Last 2 sec : 0.012s (0.62%)  | Memory : 24 Mo
[2019-03-03 17:46:38][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:46:38][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:38][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:40][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:46:40][DEBUG] :  MEMORY---- Total CPU time used : 18.224s (0.36%)  |  Last 2 sec : 0.012s (0.61%)  | Memory : 24 Mo
[2019-03-03 17:46:40][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:46:40][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:40][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:42][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:46:42][DEBUG] :  MEMORY---- Total CPU time used : 18.236s (0.36%)  |  Last 2 sec : 0.012s (0.59%)  | Memory : 24 Mo
[2019-03-03 17:46:42][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:46:42][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:42][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:44][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:46:44][DEBUG] :  MEMORY---- Total CPU time used : 18.248s (0.36%)  |  Last 2 sec : 0.012s (0.61%)  | Memory : 24 Mo
[2019-03-03 17:46:44][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:46:44][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:44][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:46][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:46:46][DEBUG] :  MEMORY---- Total CPU time used : 18.259s (0.36%)  |  Last 2 sec : 0.011s (0.56%)  | Memory : 24 Mo
[2019-03-03 17:46:46][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:46:46][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:46][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:48][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:46:48][DEBUG] :  MEMORY---- Total CPU time used : 18.267s (0.36%)  |  Last 2 sec : 0.008s (0.41%)  | Memory : 24 Mo
[2019-03-03 17:46:48][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:46:48][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:48][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:50][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:46:50][DEBUG] :  MEMORY---- Total CPU time used : 18.277s (0.36%)  |  Last 2 sec : 0.009s (0.46%)  | Memory : 24 Mo
[2019-03-03 17:46:50][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:46:50][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:50][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:52][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:46:52][DEBUG] :  MEMORY---- Total CPU time used : 18.289s (0.36%)  |  Last 2 sec : 0.012s (0.61%)  | Memory : 24 Mo
[2019-03-03 17:46:52][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:46:52][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:52][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:54][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:46:54][DEBUG] :  MEMORY---- Total CPU time used : 18.301s (0.36%)  |  Last 2 sec : 0.012s (0.62%)  | Memory : 24 Mo
[2019-03-03 17:46:54][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:46:54][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:54][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:56][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:46:56][DEBUG] :  MEMORY---- Total CPU time used : 18.314s (0.36%)  |  Last 2 sec : 0.012s (0.62%)  | Memory : 24 Mo
[2019-03-03 17:46:56][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:46:56][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:56][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:58][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:46:58][DEBUG] :  MEMORY---- Total CPU time used : 18.326s (0.36%)  |  Last 2 sec : 0.012s (0.62%)  | Memory : 24 Mo
[2019-03-03 17:46:58][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:46:58][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:46:58][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:00][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:47:00][DEBUG] :  MEMORY---- Total CPU time used : 18.339s (0.36%)  |  Last 2 sec : 0.013s (0.64%)  | Memory : 24 Mo
[2019-03-03 17:47:00][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:47:00][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:00][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:02][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:47:02][DEBUG] :  MEMORY---- Total CPU time used : 18.350s (0.36%)  |  Last 2 sec : 0.012s (0.58%)  | Memory : 24 Mo
[2019-03-03 17:47:02][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:47:02][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:02][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:04][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:47:04][DEBUG] :  MEMORY---- Total CPU time used : 18.361s (0.36%)  |  Last 2 sec : 0.011s (0.53%)  | Memory : 24 Mo
[2019-03-03 17:47:04][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:47:04][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:04][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:06][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:47:06][DEBUG] :  MEMORY---- Total CPU time used : 18.373s (0.36%)  |  Last 2 sec : 0.012s (0.62%)  | Memory : 24 Mo
[2019-03-03 17:47:06][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:47:06][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:06][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:08][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:47:08][DEBUG] :  MEMORY---- Total CPU time used : 18.385s (0.36%)  |  Last 2 sec : 0.012s (0.60%)  | Memory : 24 Mo
[2019-03-03 17:47:08][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:47:08][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:08][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:10][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:47:10][DEBUG] :  MEMORY---- Total CPU time used : 18.397s (0.36%)  |  Last 2 sec : 0.012s (0.60%)  | Memory : 24 Mo
[2019-03-03 17:47:10][DEBUG] : SCANNER------ Looking for chromecasts on network...
[2019-03-03 17:47:10][ERROR] : SCANNER------Exception on scanner : module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:10][DEBUG] : Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 90, in start_discovery
service_browser = zeroconf.ServiceBrowser(zeroconf.Zeroconf(),
AttributeError: module 'zeroconf' has no attribute 'ServiceBrowser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 1823, in scanner
rawcasts = pychromecast.get_chromecasts(tries=1, retry_wait=2, timeout=globals.SCAN_TIMEOUT)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 69, in get_chromecasts
hosts = discover_chromecasts()
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 120, in discover_chromecasts
listener, browser = start_discovery(callback)
File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/discovery.py", line 93, in start_discovery
except (zeroconf.BadTypeInNameException,
AttributeError: module 'zeroconf' has no attribute 'BadTypeInNameException'
[2019-03-03 17:47:12][INFO] : HEARTBEAT------Quitting learn mode (60s elapsed)
[2019-03-03 17:47:12][DEBUG] : SENDER------Send to jeedom :  {'learn_mode': 0, 'source': 'local'}
[2019-03-03 17:47:12][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-03-03 17:47:12][DEBUG] : http://127.0.0.1:80 "POST /plugins/googlecast/core/php/googlecast.api.php?apikey=UsRmi1vQt1kR6OifmZliMxC6i50y1ui3 HTTP/1.1" 200 0
[2019-03-03 17:48:12][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:48:12][DEBUG] :  MEMORY---- Total CPU time used : 18.620s (0.36%)  |  Last 62 sec : 0.223s (0.36%)  | Memory : 24 Mo
[2019-03-03 17:48:12][DEBUG] : SCANNER------ No need to scan network, all devices are present
[2019-03-03 17:49:14][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:49:14][DEBUG] :  MEMORY---- Total CPU time used : 18.812s (0.36%)  |  Last 62 sec : 0.192s (0.31%)  | Memory : 24 Mo
[2019-03-03 17:49:14][DEBUG] : SCANNER------ No need to scan network, all devices are present
[2019-03-03 17:50:16][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:50:16][DEBUG] :  MEMORY---- Total CPU time used : 19.001s (0.36%)  |  Last 62 sec : 0.189s (0.30%)  | Memory : 24 Mo
[2019-03-03 17:50:16][DEBUG] : SCANNER------ No need to scan network, all devices are present
[2019-03-03 17:51:17][DEBUG] : SCANNER------ Start scanning...
[2019-03-03 17:51:17][DEBUG] :  MEMORY---- Total CPU time used : 19.170s (0.36%)  |  Last 61 sec : 0.170s (0.28%)  | Memory : 24 Mo
[2019-03-03 17:51:17][DEBUG] : SCANNER------ No need to scan network, all devices are present
Je sèche complètement :'(

fran6t
Timide
Messages : 20
Inscription : 24 févr. 2015, 16:27

Re: Pb de Scan avec le Plugin Google Cast

Message par fran6t » 04 mars 2019, 08:38

Perso je pencherai pour un paquet ou des paquets systèmes pas à jour, puisque tu es à jour de jeedom et du module.
Je te donne la version des paquets qui fonctionnent chez moi, attention c'est juste une info pour essayer de t'aider, je ne suis pas sur un raspberry mais dans une machine virtuelle sous debian 9.8 (Stretch)

Il faudrait que tu arrives a passer dans un terminal la commande pip3 list
Il y a peut-être plus simple genre un endroit dans les menu jeedom pour avoir la liste et version des paquets python installés,
voici la liste de ce qui est installé chez moi avec le scan qui fonctionne :
beautifulsoup4 (4.7.1)
bs4 (0.0.1)
chardet (2.3.0)
Click (7.0)
cryptography (1.7.1)
fail2ban (0.9.6)
httplib2 (0.9.2)
idna (2.2)
ifaddr (0.1.6)
iotop (0.6)
keyring (10.1)
keyrings.alt (1.3)
netifaces (0.10.9)
pip (9.0.1)
protobuf (3.7.0)
pyasn1 (0.1.9)
pycrypto (2.6.1)
pycurl (7.43.0)
pygobject (3.22.0)
pyinotify (0.9.6)
python-apt (1.4.0b3)
python-debian (0.1.30)
python-debianbts (2.6.1)
pyxdg (0.25)
reportbug (7.1.7)
requests (2.12.4)
SecretStorage (2.3.1)
setuptools (33.1.1)
six (1.10.0)
soupsieve (1.8)
systemd-python (233)
tqdm (4.31.1)
unattended-upgrades (0.1)
urllib3 (1.19.1)
websocket-client (0.55.0)
wheel (0.29.0)
zeroconf (0.21.3)
Sinon voici mon log googlecast_update quand je lance la resinstallation essai de comparer avec toi
Launch install of googlecast dependancies
-- Updating repo...
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Get:3 http://ftp.fr.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:4 http://ftp.fr.debian.org/debian stretch Release
Fetched 91.0 kB in 4s (22.4 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.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 4 not upgraded.
-- Installed version of Python :
Python 3.5.3
-- Installation of pip for python3 and necessary libraries
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (9.0.1-2).
python3-dev is already the newest version (3.5.3-1).
python-requests is already the newest version (2.12.4-1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
-- Installation of TTS libraries
Reading package lists...
Building dependency tree...
Reading state information...
sox is already the newest version (14.4.1-5+deb9u1).
libttspico-utils is already the newest version (1.0+git20130326-5).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
-- Installation of libav/ffmpeg libraries
Reading package lists...
Building dependency tree...
Reading state information...
libav-tools is already the newest version (7:3.2.12-1~deb9u1).
libavcodec-extra is already the newest version (7:3.2.12-1~deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
-- Upgrade setuptools with command pip3 if not up to date
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages
-- Installed version of pip :
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.5)
-- Installation of python library 'netifaces' with command pip3
Requirement already satisfied: netifaces in /usr/local/lib/python3.5/dist-packages
-- Installation of python library 'requests' with command pip3
Requirement already satisfied: requests in /usr/lib/python3/dist-packages
-- Installation of python library 'protobuf' with command pip3
Requirement already satisfied: protobuf in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from protobuf)
Requirement already satisfied: six>=1.9 in /usr/lib/python3/dist-packages (from protobuf)
-- Installation of python library 'zeroconf' with command pip3
Requirement already satisfied: zeroconf in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied: ifaddr in /usr/local/lib/python3.5/dist-packages (from zeroconf)
-- 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
Requirement already satisfied: bs4 in /usr/local/lib/python3.5/dist-packages
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)
-- Installation of python library 'tqdm, websocket-client' for plex 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: six in /usr/lib/python3/dist-packages (from websocket-client)
-- Installation of dependencies is done !

mb17rr
Timide
Messages : 3
Inscription : 11 mai 2018, 11:31

Re: Pb de Scan avec le Plugin Google Cast

Message par mb17rr » 04 mars 2019, 23:12

Allelujah ! (pas sur de l'orthographe)

Merci à Fran6t pour m'avoir mis sur la voie.
C'était effectivement un problème lié à Python.

sudo pip3 uninstall zeroconf + ses dépendances et en réinstallant, pb résolu !

:mrgreen:

jack971
Timide
Messages : 18
Inscription : 08 avr. 2019, 00:15

Re: Pb de Scan avec le Plugin Google Cast

Message par jack971 » 08 avr. 2019, 00:23

Bonjour Mb17rr,
J'ai exactement le même problème. Les mêmes version de modules et même symptômes: aucun effet sur le clic du "scan" ou de "santé".
Pourtant tous les composants sont OK au niveau de l'interface.
Peux tu détailler la procédure et les commandes que tu as utilisé ??

Merci de ton aide ... ou celle de quelqu'un d'autre ...

jack971
Timide
Messages : 18
Inscription : 08 avr. 2019, 00:15

Re: Pb de Scan avec le Plugin Google Cast

Message par jack971 » 09 avr. 2019, 01:56

Re bonjour
Je reste dans l'attente d'une aide gracieuse svp.
J'ai tenté un : sudo pip3 uninstall zeroconf puis j'ai relancé une installation des dépendances comme l'a préconisé "Mb17rr"
mais le problème reste entier.
Je joins également les logs d'installation... :

Launch install of googlecast dependancies
-- Updating repo...
Get:1 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Get:2 http://ftp.debian.org/debian stretch-backports InRelease [91.9 kB]
Ign:3 http://ftp.fr.debian.org/debian stretch InRelease
Ign:4 http://ftp.de.debian.org/debian stretch InRelease
Hit:5 http://ftp.de.debian.org/debian stretch Release
Hit:6 http://ftp.fr.debian.org/debian stretch Release
Get:9 http://security.debian.org/debian-security stretch/updates/main Sources [199 kB]
Get:10 http://ftp.debian.org/debian stretch-backports/main amd64 Packages.diff/Index [27.8 kB]
Get:11 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [484 kB]
Get:12 http://ftp.debian.org/debian stretch-backports/main Translation-en.diff/Index [27.8 kB]
Get:13 http://ftp.debian.org/debian stretch-backports/main amd64 Packages 2019-04-08-1410.08.pdiff [3268 B]
Get:14 http://ftp.debian.org/debian stretch-backports/main amd64 Packages 2019-04-08-2011.01.pdiff [5985 B]
Get:14 http://ftp.debian.org/debian stretch-backports/main amd64 Packages 2019-04-08-2011.01.pdiff [5985 B]
Get:15 http://ftp.debian.org/debian stretch-backports/main Translation-en 2019-04-08-1410.08.pdiff [357 B]
Get:16 http://ftp.debian.org/debian stretch-backports/main Translation-en 2019-04-08-2011.01.pdiff [3641 B]
Get:16 http://ftp.debian.org/debian stretch-backports/main Translation-en 2019-04-08-2011.01.pdiff [3641 B]
Fetched 938 kB in 3s (265 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.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 69 not upgraded.
-- Installed version of Python :
Python 3.5.3
-- Installation of pip for python3 and necessary libraries
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (9.0.1-2).
python3-dev is already the newest version (3.5.3-1).
python-requests is already the newest version (2.12.4-1).
0 upgraded, 0 newly installed, 0 to remove and 69 not upgraded.
-- Installation of TTS libraries
Reading package lists...
Building dependency tree...
Reading state information...
sox is already the newest version (14.4.1-5+deb9u1).
libttspico-utils is already the newest version (1.0+git20130326-5).
0 upgraded, 0 newly installed, 0 to remove and 69 not upgraded.
-- Installation of libav/ffmpeg libraries
Reading package lists...
Building dependency tree...
Reading state information...
libav-tools is already the newest version (7:3.2.12-1~deb9u1).
libavcodec-extra is already the newest version (7:3.2.12-1~deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 69 not upgraded.
-- Upgrade setuptools with command pip3 if not up to date
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages
-- Installed version of pip :
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.5)
-- Installation of python library 'netifaces' with command pip3
Requirement already satisfied: netifaces in /usr/local/lib/python3.5/dist-packages
-- Installation of python library 'requests' with command pip3
Requirement already satisfied: requests in /usr/lib/python3/dist-packages
-- Installation of python library 'protobuf' with command pip3
Requirement already satisfied: protobuf in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from protobuf)
Requirement already satisfied: six>=1.9 in /usr/lib/python3/dist-packages (from protobuf)
-- Installation of python library 'zeroconf' with command pip3
Collecting zeroconf
Using cached https://files.pythonhosted.org/packages ... ne-any.whl
Requirement already satisfied: ifaddr in /usr/local/lib/python3.5/dist-packages (from zeroconf)
Installing collected packages: zeroconf
Successfully installed zeroconf-0.21.3
-- 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
Requirement already satisfied: bs4 in /usr/local/lib/python3.5/dist-packages
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)
-- Installation of python library 'tqdm, websocket-client' for plex 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: six in /usr/lib/python3/dist-packages (from websocket-client)
-- Installation of dependencies is done !

jack971
Timide
Messages : 18
Inscription : 08 avr. 2019, 00:15

Re: Pb de Scan avec le Plugin Google Cast

Message par jack971 » 09 avr. 2019, 02:18

Quelques précisions: Toutes les versions de paquets python sont identiques à ceux de "Fran6t" hormis ces 3 paquets:

Mes versions de paquets qui diffèrent:
protobuf (3.7.1)
soupsieve (1.9)
websocket-client (0.56.0)

Cela peut-il venir de là ? un remède ?

Répondre

Revenir vers « [Catégorie] Multimédia »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 14 invités