'SocketClient' object has no attribute 'isAlive' - doublon

Bonjour, depuis ma migration en Debian 11, le plugin Google Cast ne fonctionne plus.
Je m’en sert seulement pour régler les volume de mes Ghome la nuit, mais surtout pour faire parler mes Ghome en fonctions des alertes.

J’ai bien essayé de faire la correction

sudo pip3 uninstall protobuf
sudo pip3 install 'protobuf==3.19.0'

Mais cela ne résoud pas le problème.
Mes Ghome semblent Offline !

[2023-07-19 13:45:04][DEBUG] : getInfoHttp : Result error (previous result) : 
[2023-07-19 13:45:04][DEBUG] : getInfoHttp : Result error (with default) :  => 
[2023-07-19 13:45:04][DEBUG] : getInfoHttp : cmd=getconfig|data=cast_build_revision
[2023-07-19 13:45:05][DEBUG] : getInfoHttp : Error while accessing device (offline ?)
[2023-07-19 13:45:05][DEBUG] : getInfoHttp : Result error (previous result) : 
[2023-07-19 13:45:05][DEBUG] : getInfoHttp : Result error (with default) :  => 
[2023-07-19 13:45:05][DEBUG] : getInfoHttp : cmd=getconfig|data=opencast_pin_code
[2023-07-19 13:45:06][DEBUG] : getInfoHttp : Error while accessing device (offline ?)
[2023-07-19 13:45:06][DEBUG] : getInfoHttp : Result error (previous result) : 
[2023-07-19 13:45:06][DEBUG] : getInfoHttp : Result error (with default) :  => 
[2023-07-19 13:45:06][DEBUG] : getInfoHttp : cmd=getconfig|data=cast_build_revision
[2023-07-19 13:45:06][DEBUG] : Request response content : Array (     [bssid] => 7e:8a:20:d5:4c:8c     [build_version] => 356012     [cast_build_revision] => 1.56.356012     [closed_caption] => Array         (         )      [connected] => 1     [ethernet_connected] =>      [has_update] =>      [hotspot_bssid] => FA:8F:CA:51:47:9D     [ip_address] => 10.0.0.190     [locale] => fr     [location] => Array         (             [country_code] => FR             [latitude] => 255             [longitude] => 255         )      [mac_address] => A4:77:33:AF:B0:B9     [name] => Entrée     [noise_level] => -91     [opt_in] => Array         (             [crash] => 1             [opencast] =>              [stats] => 1         )      [public_key] => MIIBCgKCAQEAyEcwB4wMz1RGTehiNSlQ8b8V3Pwo9kgeSp8alfVPW6Ktfxhm4pIt7N+GF/857x6/TlEj0EP+w07sPzb4s39HJ4qdaQKw0oS0qYwUfsU6hL1J//0MmsyaNgcWBxKTO/3F0NdMBnmtY42pgetIIVMqPuK7N44mNRhWpppDErX3PYDso+uFVwLU+Xwg5UgL3bmp/0uAD9T0G9j4Ce7sA2iNjN7APzRyxR81rt3pGpbmtvaE1avQfBer3o8nD6xGga/Ikw6ltC5fEF5gZIqYUmDYR3wkojnoz84k5DqFNaaydCEOaROoGnA6xcQ55Vn1qKhy+Z1Z2EM5gScIVru6n7RJgwIDAQAB     [release_track] => stable-channel     [setup_state] => 60     [setup_stats] => Array         (             [historically_succeeded] => 1             [num_check_connectivity] => 0             [num_connect_wifi] => 0             [num_connected_wifi_not_saved] => 0             [num_initial_eureka_info] => 0             [num_obtain_ip] => 0         )      [signal_level] => -56     [ssdp_udn] => 68208dcf-e59d-2251-08b0-dd55a79ec4e2     [ssid] => WIFI-MAISON     [time_format] => 2     [timezone] => Europe/Paris     [tos_accepted] => 1     [uma_client_id] => 03820791-0fc3-42d9-8a45-b4108ea84c41     [uptime] => 32215.024488     [version] => 12     [wpa_configured] => 1     [wpa_id] => 0     [wpa_state] => 10 ) 
[2023-07-19 13:45:06][DEBUG] : getInfoHttp : Result success : 1.56.356012 => 1.56.356012
[2023-07-19 13:45:06][DEBUG] : getInfoHttp : cmd=getconfig|data=cast_build_revision
[2023-07-19 13:45:07][DEBUG] : Request response content : Array (     [bssid] => 7e:8a:20:d5:4c:8c     [build_version] => 356012     [cast_build_revision] => 1.56.356012     [closed_caption] => Array         (         )      [connected] => 1     [ethernet_connected] =>      [has_update] =>      [hotspot_bssid] => FA:8F:CA:30:82:35     [ip_address] => 10.0.0.191     [locale] => fr     [location] => Array         (             [country_code] => FR             [latitude] => 255             [longitude] => 255         )      [mac_address] => 44:07:0B:A3:47:B3     [name] => Salle de bain     [noise_level] => -89     [opt_in] => Array         (             [crash] =>              [opencast] =>              [stats] =>          )      [public_key] => MIIBCgKCAQEAruXUDQS7jUkjCF/K60SRvWUwacKD2/bYzLCvRWaRu7TMvdr6OtODUG55jzyeNtwU2qsQ2rJjGfOSsYeh+0UfDgaK0NsOxdYDLii7suEeSJlKI3QTaH39ByWtRJ8+Di+IzOJ4flPxwnKLBrvOkfcPWcbZUXBVdc0kTpBoZeJfVXwUDCXfiRDVKlRcKIQiXK7X2QOLqhLkh7rZ90FJ0GhfOdO8reGB3pVxZQqp4e0q6k8rmZnxfeeuJnZvuu1P2N030Lps/XtQkBYQHPXUT1y5BrrhhwXQsJmb2NNG2778x7N0Lijfxdw+3FUsLMov/HE+rWT6nkBRaM3VxFT+DE8/BwIDAQAB     [release_track] => stable-channel     [setup_state] => 60     [setup_stats] => Array         (             [historically_succeeded] => 1             [num_check_connectivity] => 0             [num_connect_wifi] => 0             [num_connected_wifi_not_saved] => 0             [num_initial_eureka_info] => 0             [num_obtain_ip] => 0         )      [signal_level] => -54     [ssdp_udn] => 35d60b4a-1837-ebd6-4796-ef4fdacea0cc     [ssid] => WIFI-MAISON     [time_format] => 2     [timezone] => Europe/Paris     [tos_accepted] => 1     [uptime] => 41863.897608     [version] => 12     [wpa_configured] => 1     [wpa_id] => 0     [wpa_state] => 10 ) 
[2023-07-19 13:45:07][DEBUG] : getInfoHttp : Result success : 1.56.356012 => 1.56.356012
[2023-07-19 13:45:07][DEBUG] : getInfoHttp : cmd=getconfig|data=cast_build_revision
[2023-07-19 13:45:07][DEBUG] : Envoi de la commande [speak] depuis Jeedom
[2023-07-19 13:45:08][DEBUG] : getInfoHttp : Error while accessing device (offline ?)
[2023-07-19 13:45:08][DEBUG] : getInfoHttp : Result error (previous result) : 
[2023-07-19 13:45:08][DEBUG] : getInfoHttp : Result error (with default) :  => 
[2023-07-19 13:45:08][DEBUG] : getInfoHttp : cmd=getconfig|data=cast_build_revision
[2023-07-19 13:45:08][DEBUG] : Request response content : Array (     [bssid] =>      [build_version] => 329909     [cast_build_revision] => 1.61.329909     [connected] => 1     [ethernet_connected] => 1     [has_update] =>      [hotspot_bssid] => FA:8F:94:1C:A1:77     [ip_address] => 10.0.0.97     [locale] => en-US     [location] => Array         (             [country_code] => US             [latitude] => 255             [longitude] => 255         )      [mac_address] => 00:00:00:00:00:00     [name] => SHIELD     [opt_in] => Array         (             [crash] => 1             [opencast] =>              [stats] => 1         )      [public_key] => MIIBCgKCAQEArVXne0K8hvoRe0mCIcwfCzy3DGzu8+mgtksej/RquexME0ZeAgEqwCO6dijF9CcUqzRdlxGoueBQMNmbzJ33J2dgKmenrhn8yPD09WTmru9gMqYk+TPGmdSGhkLNd6O3D6mF90uiObuKuAhaVtb58UM0XmaxKb3neRE5Lg09l7L3QGcqVNe/ZLu3Uz1870Bk6aQSKYGB9IOc6xE3gLSrfv/rBcJrKpWcbT7IMeiEoxdwisLg6ofj9XbmeC68wzm+/jp/LKJOlk82LYisN/aPoJCsYdoeOEnNMmdT+qoWMFpBymZgVfYanaBz/FB2g+YwMe/XXVGr8gUDvATcE7leYwIDAQAB     [release_track] =>      [setup_state] => 60     [setup_stats] => Array         (             [historically_succeeded] => 1             [num_check_connectivity] => 0             [num_connect_wifi] => 0             [num_connected_wifi_not_saved] => 0             [num_initial_eureka_info] => 0             [num_obtain_ip] => 0         )      [ssdp_udn] => e09fbabf-b7dc-3877-d6f9-67649c3661c3     [ssid] =>      [time_format] => 1     [tos_accepted] => 1     [uma_client_id] => eda95fb2-9c95-4dcc-8382-3a013e9d5512     [uptime] => 11835012.987415     [version] => 12     [wpa_configured] =>      [wpa_state] => 0 ) 
[2023-07-20 10:29:07][DEBUG] : SCANNER------ Start scanning... (schedule)
[2023-07-20 10:29:07][DEBUG] :  MEMORY---- Total CPU time used : 79.955s (0.11%)  |  Last 62 sec : 0.061s (0.10%)  | Memory : 70 Mo
[2023-07-20 10:29:07][DEBUG] : ZEROCONF------ Stopping zeroconf monitoring thread...
[2023-07-20 10:29:07][DEBUG] : ZEROCONF------ Start zeroconf monitoring thread...
[2023-07-20 10:29:07][DEBUG] : Using selector: EpollSelector
[2023-07-20 10:29:07][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : SHIELD
[2023-07-20 10:29:07][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (SHIELD)
[2023-07-20 10:29:07][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : Entrée
[2023-07-20 10:29:07][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (Entrée)
[2023-07-20 10:29:07][DEBUG] : ZEROCONF------ Signal detected from chromecast on zeroconf network : Salle de bain
[2023-07-20 10:29:07][DEBUG] : ZEROCONF------ Signal from chromecast will be processed soon (Salle de bain)
[2023-07-20 10:29:08][INFO] : SCANNER------ Adding chromecast : SHIELD
[2023-07-20 10:29:08][ERROR] : SCANNER------Exception on scanner : 'SocketClient' object has no attribute 'isAlive'
[2023-07-20 10:29:08][DEBUG] : Traceback (most recent call last):
  File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 2133, in scanner
    globals.GCAST_DEVICES[uuid] = JeedomChromeCast(
  File "/var/www/html/plugins/googlecast/resources/googlecast.py", line 107, in __init__
    self.gcast.wait(timeout=globals.SCAN_TIMEOUT)
  File "/var/www/html/plugins/googlecast/resources/pychromecast/pychromecast/__init__.py", line 444, in wait
    if not self.socket_client.isAlive():
AttributeError: 'SocketClient' object has no attribute 'isAlive'

1 « J'aime »

Bonjour,

Avez vous vu ce sujet ?

ou celui-ci même qui parle exactement de la même erreur:

1 « J'aime »

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