C’est configuré sur le deuxième Jeedom.
Il y a moyen de monitorer cela ?
C’est configuré sur le deuxième Jeedom.
Il y a moyen de monitorer cela ?
non pas à ma connaissance
Nouvelle erreur en même temps sur les deux versions mais je n’ai pas pu regarder à ce moment si le widget s’affichait correctement.
Non mise à jour sur la prod
0992|[11-07-2024 16:37:10]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu power_state et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T16:37:10.022800+02:00", "power_state": "off"}
0993|[11-07-2024 16:37:10]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "success", "datetime": "2024-07-11T16:37:10.022919+02:00", "output_devices": [{"name": "Salon", "identifier": "668CE93D-2F02-4A4E-B60F-FB3019E5B30D"}]}
0994|[11-07-2024 16:37:10]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu playing et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T16:37:10.023626+02:00", "hash": "ca496c14642c78af6dd4250191fe175f6dafd72b4c33bcbab43c454aae051da1", "media_type": "unknown", "device_state": "idle", "title": null, "artist": null, "album": null, "genre": null, "total_time": null, "position": null, "shuffle": "off", "repeat": "off", "series_name": null, "season_number": null, "episode_number": null, "content_identifier": null, "app": null, "app_id": null}
0995|[11-07-2024 16:38:28]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu power_state et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T16:38:28.774440+02:00", "power_state": "on"}
0996|[11-07-2024 16:38:30]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu playing et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T16:38:30.957701+02:00", "hash": "2F192C22-EFB1-4A73-87A3-95873B1E2571", "media_type": "video", "device_state": "playing", "title": "\u00c9quipe de France : Didier Deschamps confirm\u00e9 jusqu'en 2026, mais des questions subsistent ", "artist": "Toute l'actualit\u00e9 du foot avec I...", "album": null, "genre": null, "total_time": 82, "position": null, "shuffle": "off", "repeat": "off", "series_name": null, "season_number": null, "episode_number": null, "content_identifier": "2F192C22-EFB1-4A73-87A3-95873B1E2571", "app": null, "app_id": "com.canalplusdistrib.mycanal.prod"}
0997|[11-07-2024 16:38:31]DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi artwork_save=138,-1
0998|[11-07-2024 16:38:31]ERROR : [CMD][F0:B3:EC:63:AD:DA] ERROR :Traceback (most recent call last):
0999|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 723, in cli_handler
1000|return await _handle_commands(args, config, storage, loop)
1001|[11-07-2024 16:38:31]ERROR : [CMD][F0:B3:EC:63:AD:DA] ERROR : File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 862, in _handle_commands
1002|ret = await _handle_device_command(args, cmd, atv, storage, loop)
1003|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 890, in _handle_device_command
1004|return await _exec_command(
1005|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 945, in _exec_command
1006|value = await tmp(*args)
1007|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 402, in cli
1008|await _handle_device_command(
1009|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 890, in _handle_device_command
1010|return await _exec_command(
1011|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 945, in _exec_command
1012|value = await tmp(*args)
1013|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 408, in artwork_save
1014|artwork = await self.atv.metadata.artwork(width=width, height=height)
1015|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/support/shield.py", line 71, in _guard_method
1016|raise BlockedStateError(f"{func.__name__} is blocked")
1017|pyatv.exceptions.BlockedStateError: metadata is blocked
1018|During handling of the above exception, another exception occurred:
1019|Traceback (most recent call last):
1020|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 978, in _run_application
1021|return await cli_handler(loop)
1022|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 732, in cli_handler
1023|await storage.save()
1024|File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
1025|result = self.fn(*self.args, **self.kwargs)
1026|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/storage/file_storage.py", line 51, in _save_file
1027|with open(self._filename, "w", encoding="utf-8") as _fh:
1028|PermissionError: [Errno 13] Permission denied: '/var/www/.pyatv.conf'
1029|>>> An error occurred, full stack trace above
1030|[11-07-2024 16:38:31]DEBUG : [CMD][F0:B3:EC:63:AD:DA] Exit code :null
1031|[11-07-2024 16:38:31]DEBUG : [CMD][F0:B3:EC:63:AD:DA] Reconnection...
Mise à jour aujourd’hui sur machine de test :
[11-07-2024 16:37:10] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu power_state et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T16:37:10.510002+02:00", "power_state": "off"}
[11-07-2024 16:37:10] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "success", "datetime": "2024-07-11T16:37:10.510519+02:00", "output_devices": [{"name": "Salon", "identifier": "668CE93D-2F02-4A4E-B60F-FB3019E5B30D"}]}
[11-07-2024 16:37:10] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu playing et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T16:37:10.515839+02:00", "hash": "ca496c14642c78af6dd4250191fe175f6dafd72b4c33bcbab43c454aae051da1", "media_type": "unknown", "device_state": "idle", "title": null, "artist": null, "album": null, "genre": null, "total_time": null, "position": null, "shuffle": "off", "repeat": "off", "series_name": null, "season_number": null, "episode_number": null, "content_identifier": null, "app": null, "app_id": null}
[11-07-2024 16:37:10] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu power_state et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T16:37:10.607599+02:00", "power_state": "off"}
[11-07-2024 16:37:10] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "success", "datetime": "2024-07-11T16:37:10.608193+02:00", "output_devices": [{"name": "Salon", "identifier": "668CE93D-2F02-4A4E-B60F-FB3019E5B30D"}]}
[11-07-2024 16:37:10] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu playing et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T16:37:10.613126+02:00", "hash": "ca496c14642c78af6dd4250191fe175f6dafd72b4c33bcbab43c454aae051da1", "media_type": "unknown", "device_state": "idle", "title": null, "artist": null, "album": null, "genre": null, "total_time": null, "position": null, "shuffle": "off", "repeat": "off", "series_name": null, "season_number": null, "episode_number": null, "content_identifier": null, "app": null, "app_id": null}
[11-07-2024 16:38:28] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu power_state et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T16:38:28.782860+02:00", "power_state": "on"}
[11-07-2024 16:38:28] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu power_state et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T16:38:28.783018+02:00", "power_state": "on"}
[11-07-2024 16:38:30] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu playing et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T16:38:30.970040+02:00", "hash": "2F192C22-EFB1-4A73-87A3-95873B1E2571", "media_type": "video", "device_state": "playing", "title": "\u00c9quipe de France : Didier Deschamps confirm\u00e9 jusqu'en 2026, mais des questions subsistent ", "artist": "Toute l'actualit\u00e9 du foot avec I...", "album": null, "genre": null, "total_time": 82, "position": null, "shuffle": "off", "repeat": "off", "series_name": null, "season_number": null, "episode_number": null, "content_identifier": "2F192C22-EFB1-4A73-87A3-95873B1E2571", "app": null, "app_id": "com.canalplusdistrib.mycanal.prod"}
[11-07-2024 16:38:30] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu playing et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T16:38:30.970201+02:00", "hash": "2F192C22-EFB1-4A73-87A3-95873B1E2571", "media_type": "video", "device_state": "playing", "title": "\u00c9quipe de France : Didier Deschamps confirm\u00e9 jusqu'en 2026, mais des questions subsistent ", "artist": "Toute l'actualit\u00e9 du foot avec I...", "album": null, "genre": null, "total_time": 82, "position": null, "shuffle": "off", "repeat": "off", "series_name": null, "season_number": null, "episode_number": null, "content_identifier": "2F192C22-EFB1-4A73-87A3-95873B1E2571", "app": null, "app_id": "com.canalplusdistrib.mycanal.prod"}
[11-07-2024 16:38:32] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi artwork_save=138,-1
[11-07-2024 16:38:32] ERROR : [CMD][F0:B3:EC:63:AD:DA] ERROR :Traceback (most recent call last):
[11-07-2024 16:38:32] ERROR : [CMD][F0:B3:EC:63:AD:DA] ERROR : File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 723, in cli_handler
return await _handle_commands(args, config, storage, loop)
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 862, in _handle_commands
ret = await _handle_device_command(args, cmd, atv, storage, loop)
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 890, in _handle_device_command
return await _exec_command(
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 945, in _exec_command
value = await tmp(*args)
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 402, in cli
await _handle_device_command(
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 890, in _handle_device_command
return await _exec_command(
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 945, in _exec_command
value = await tmp(*args)
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 408, in artwork_save
artwork = await self.atv.metadata.artwork(width=width, height=height)
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/support/shield.py", line 72, in _guard_method
raise BlockedStateError(f"{func.__name__} is blocked")
pyatv.exceptions.BlockedStateError: metadata is blocked
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 978, in _run_application
return await cli_handler(loop)
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 732, in cli_handler
await storage.save()
File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/storage/file_storage.py", line 52, in _save_file
with open(self._filename, "w", encoding="utf-8") as _fh:
PermissionError: [Errno 13] Permission denied: '/var/www/.pyatv.conf'
>>> An error occurred, full stack trace above
[11-07-2024 16:38:32] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Exit code :null
[11-07-2024 16:38:32] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Reconnection...
Tu peux faire un :
sudo ls -alF /var/www/

Je comprends pas ce message… y’a pas ce fichier chez moi… et il devrait pas écrire à cet endroit qui n’est mentionné nulle part
A quel endroit devrait être ce fichier de config s’il doit exister ?
A la première ligne de l’erreur :
0999|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 723, in cli_handler
1000|return await _handle_commands(args, config, storage, loop)
Est-ce que le « storage » en question est lié à ceci ou rien à voir ?
L’erreur s’est de nouveau produite.
Sur « l’ancienne » version :
1358|[13-07-2024 20:49:03]DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi artwork_save=138,-1
1359|[13-07-2024 20:49:03]DEBUG : [CMD][F0:B3:EC:63:AD:DA] Reçu 'Pas de artwork' et envoyé à jeedom pour redemande |No artwork is currently available.
1360|[13-07-2024 20:49:05]DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi volume
1361|[13-07-2024 20:49:05]DEBUG : [CMD][F0:B3:EC:63:AD:DA] Reçu volume et envoyé à jeedom |0.0
1362|[13-07-2024 20:49:05]DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi features
1363|[13-07-2024 20:49:05]DEBUG : [CMD][F0:B3:EC:63:AD:DA] Reçu features et envoyé à jeedom |Feature list:-------------Up: AvailableDown: AvailableLeft: AvailableRight: AvailablePlay: AvailablePlayPause: AvailablePause: AvailableStop: AvailableNext: AvailablePrevious: AvailableSelect: AvailableMenu: AvailableVolumeUp: UnavailableVolumeDown: UnavailableHome: AvailableHomeHold: AvailableTopMenu: AvailableSkipForward: AvailableSkipBackward: AvailableSetPosition: AvailableSetShuffle: UnavailableSetRepeat: UnavailableChannelUp: AvailableChannelDown: AvailableTitle: AvailableArtist: AvailableAlbum: UnavailableGenre: UnavailableTotalTime: UnavailablePosition: AvailableShuffle: UnavailableRepeat: UnavailableSeriesName: UnavailableSeasonNumber: UnavailableEpisodeNumber: UnavailableContentIdentifier: AvailableAppList: AvailableLaunchApp: AvailableAccountList: AvailableSwitchAccount: AvailableArtwork: UnavailableApp: AvailablePushUpdates: AvailablePlayUrl: AvailableStreamFile: AvailablePowerState: AvailableScreensaver: AvailableTurnOn: AvailableTurnOff: AvailableVolume: UnavailableSetVolume: UnavailableOutputDevices: AvailableAddOutputDevices: AvailableRemoveOutputDevices: AvailableSetOutputDevices: AvailableTextFocusState: AvailableTextGet: AvailableTextClear: AvailableTextAppend: AvailableTextSet: AvailableLegend:-------Available: Supported by device and usable nowUnavailable: Supported by device but not usable nowUnknown: Supported by the device but availability not knownUnsupported: Not supported by this device (or by pyatv)
1364|[13-07-2024 20:49:09]DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi artwork_save=138,-1
1365|[13-07-2024 20:49:09]DEBUG : [CMD][F0:B3:EC:63:AD:DA] Reçu 'Pas de artwork' et envoyé à jeedom pour redemande |No artwork is currently available.
1366|[13-07-2024 20:49:09]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reconnection...
1367|[13-07-2024 20:49:09]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "success", "datetime": "2024-07-13T20:49:09.518788+02:00", "connection": "closed"}
1368|[13-07-2024 20:49:09]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "success", "datetime": "2024-07-13T20:49:09.519208+02:00", "push_updates": "finished"}
1369|[13-07-2024 20:49:09]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "failure", "datetime": "2024-07-13T20:49:09.535747+02:00", "error": "Task was destroyed but it is pending!"}
1370|[13-07-2024 20:49:09]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Exit code :0
1371|[13-07-2024 20:49:09]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reconnection...
1372|[13-07-2024 20:49:09]DEBUG : SPAWN MSG : /var/www/html/plugins/aTVremote/resources/atvremote/bin/atvscript -i F0:B3:EC:63:AD:DA --protocol airplay --airplay-credentials xxxxxxxxxx push_updates
1373|[13-07-2024 20:49:09]INFO : [MSG][F0:B3:EC:63:AD:DA] Connecté avec succes !
1374|[13-07-2024 20:49:15]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Déconnecté !
1375|[13-07-2024 20:49:15]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "failure", "datetime": "2024-07-13T20:49:15.103541+02:00", "error": "device_not_found"}
1376|[13-07-2024 20:49:15]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Exit code :0
1377|[13-07-2024 20:49:15]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reconnection...
1378|[13-07-2024 20:49:15]DEBUG : SPAWN MSG : /var/www/html/plugins/aTVremote/resources/atvremote/bin/atvscript -i F0:B3:EC:63:AD:DA --protocol airplay --airplay-credentials xxxxxxxxxx push_updates
1379|[13-07-2024 20:49:15]INFO : [MSG][F0:B3:EC:63:AD:DA] Connecté avec succes !
1380|[13-07-2024 20:49:15]DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi artwork_save=138,-1
1381|[13-07-2024 20:49:15]ERROR : [CMD][F0:B3:EC:63:AD:DA] ERROR :Traceback (most recent call last):
1382|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 723, in cli_handler
1383|return await _handle_commands(args, config, storage, loop)
1384|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 862, in _handle_commands
1385|ret = await _handle_device_command(args, cmd, atv, storage, loop)
1386|[13-07-2024 20:49:15]ERROR : [CMD][F0:B3:EC:63:AD:DA] ERROR : File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 890, in _handle_device_command
1387|return await _exec_command(
1388|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 945, in _exec_command
1389|value = await tmp(*args)
1390|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 402, in cli
1391|await _handle_device_command(
1392|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 890, in _handle_device_command
1393|return await _exec_command(
1394|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 945, in _exec_command
1395|value = await tmp(*args)
1396|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 408, in artwork_save
1397|artwork = await self.atv.metadata.artwork(width=width, height=height)
1398|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/support/shield.py", line 71, in _guard_method
1399|raise BlockedStateError(f"{func.__name__} is blocked")
1400|pyatv.exceptions.BlockedStateError: metadata is blocked
1401|During handling of the above exception, another exception occurred:
1402|Traceback (most recent call last):
1403|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 978, in _run_application
1404|return await cli_handler(loop)
1405|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 732, in cli_handler
1406|await storage.save()
1407|File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
1408|result = self.fn(*self.args, **self.kwargs)
1409|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/storage/file_storage.py", line 51, in _save_file
1410|with open(self._filename, "w", encoding="utf-8") as _fh:
1411|PermissionError: [Errno 13] Permission denied: '/var/www/.pyatv.conf'
1412|>>> An error occurred, full stack trace above
1413|[13-07-2024 20:49:15]DEBUG : [CMD][F0:B3:EC:63:AD:DA] Exit code :null
Sur la nouvelle, l’erreur semble différente :
2082|[13-07-2024 20:49:02] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi volume
2083|[13-07-2024 20:49:02] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Reçu volume et envoyé à jeedom |0.0
2084|[13-07-2024 20:49:02] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi features
2085|[13-07-2024 20:49:02] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Reçu features et envoyé à jeedom |Feature list:-------------Up: AvailableDown: AvailableLeft: AvailableRight: AvailablePlay: AvailablePlayPause: AvailablePause: AvailableStop: AvailableNext: AvailablePrevious: AvailableSelect: AvailableMenu: AvailableVolumeUp: UnavailableVolumeDown: UnavailableHome: AvailableHomeHold: AvailableTopMenu: AvailableSkipForward: AvailableSkipBackward: AvailableSetPosition: AvailableSetShuffle: UnavailableSetRepeat: UnavailableChannelUp: AvailableChannelDown: AvailableTitle: AvailableArtist: AvailableAlbum: UnavailableGenre: UnavailableTotalTime: UnavailablePosition: AvailableShuffle: UnavailableRepeat: UnavailableSeriesName: UnavailableSeasonNumber: UnavailableEpisodeNumber: UnavailableContentIdentifier: AvailableAppList: AvailableLaunchApp: AvailableAccountList: AvailableSwitchAccount: AvailableArtwork: UnavailableApp: AvailablePushUpdates: AvailablePlayUrl: AvailableStreamFile: AvailablePowerState: AvailableScreensaver: AvailableTurnOn: AvailableTurnOff: AvailableVolume: UnavailableSetVolume: UnavailableOutputDevices: AvailableAddOutputDevices: AvailableRemoveOutputDevices: AvailableSetOutputDevices: AvailableTextFocusState: AvailableTextGet: AvailableTextClear: AvailableTextAppend: AvailableTextSet: AvailableLegend:-------Available: Supported by device and usable nowUnavailable: Supported by device but not usable nowUnknown: Supported by the device but availability not knownUnsupported: Not supported by this device (or by pyatv)
2086|[13-07-2024 20:49:03] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi artwork_save=138,-1
2087|[13-07-2024 20:49:03] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Reçu 'Pas de artwork' et envoyé à jeedom pour redemande |No artwork is currently available.
2088|[13-07-2024 20:49:09] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reconnection...
2089|[13-07-2024 20:49:09] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "success", "datetime": "2024-07-13T20:49:09.525166+02:00", "connection": "closed"}
2090|[13-07-2024 20:49:09] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "success", "datetime": "2024-07-13T20:49:09.527709+02:00", "push_updates": "finished"}
2091|[13-07-2024 20:49:09] DEBUG : SPAWN MSG : /var/www/html/plugins/aTVremote/resources/atvremote/bin/atvscript -i F0:B3:EC:63:AD:DA --protocol airplay --airplay-credentials xxxxxxxxxx push_updates
2092|[13-07-2024 20:49:09] INFO : [MSG][F0:B3:EC:63:AD:DA] Connecté avec succes !
2093|[13-07-2024 20:49:09] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "failure", "datetime": "2024-07-13T20:49:09.640859+02:00", "error": "Task was destroyed but it is pending!"}
2094|[13-07-2024 20:49:09] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi artwork_save=138,-1
2095|[13-07-2024 20:49:09] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Exit code :0
2096|[13-07-2024 20:49:09] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reconnection...
2097|[13-07-2024 20:49:10] DEBUG : SPAWN MSG : /var/www/html/plugins/aTVremote/resources/atvremote/bin/atvscript -i F0:B3:EC:63:AD:DA --protocol airplay --airplay-credentials xxxxxxxxxx push_updates
2098|[13-07-2024 20:49:10] INFO : [MSG][F0:B3:EC:63:AD:DA] Connecté avec succes !
2099|[13-07-2024 20:49:14] ERROR : [CMD][F0:B3:EC:63:AD:DA] ERROR :Traceback (most recent call last):
2100|[13-07-2024 20:49:14] ERROR : [CMD][F0:B3:EC:63:AD:DA] ERROR : File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 723, in cli_handler
2101|return await _handle_commands(args, config, storage, loop)
2102|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 862, in _handle_commands
2103|ret = await _handle_device_command(args, cmd, atv, storage, loop)
2104|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 890, in _handle_device_command
2105|return await _exec_command(
2106|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 945, in _exec_command
2107|value = await tmp(*args)
2108|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 402, in cli
2109|await _handle_device_command(
2110|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 890, in _handle_device_command
2111|return await _exec_command(
2112|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 945, in _exec_command
2113|value = await tmp(*args)
2114|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 408, in artwork_save
2115|artwork = await self.atv.metadata.artwork(width=width, height=height)
2116|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/support/shield.py", line 72, in _guard_method
2117|raise BlockedStateError(f"{func.__name__} is blocked")
2118|pyatv.exceptions.BlockedStateError: metadata is blocked
2119|During handling of the above exception, another exception occurred:
2120|Traceback (most recent call last):
2121|[13-07-2024 20:49:14] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Exit code :null
Sur la nouvelle j’ai aussi cela qui tourne en boucle :
3307|[14-07-2024 06:00:04] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi power_state
3308|[14-07-2024 06:00:04] ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
3309|[14-07-2024 06:05:03] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi volume
3310|[14-07-2024 06:05:03] ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
3311|[14-07-2024 06:05:03] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi features
3312|[14-07-2024 06:05:03] ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
3313|[14-07-2024 06:05:03] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi power_state
Oui c’est une conséquence
peux tu tenter de retirer tous les périphériques pyatv à cet endroit et refaire une authentification complète pour ton appletv ?

Je n’ai aucun device pyatv dans la liste mais un « Appareil Inconnu ». Je suppose que ca doit être celui-ci.
Je l’ai supprimé, refait l’appairage et redémarré le démon. Je vois maintenant 2 devices pyatv.
Nouvelle erreur ce matin.
Ancienne version :
1896|[16-07-2024 09:06:41]DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi artwork_save=138,-1
1897|[16-07-2024 09:06:41]ERROR : [CMD][F0:B3:EC:63:AD:DA] ERROR :Traceback (most recent call last):
1898|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 723, in cli_handler
1899|return await _handle_commands(args, config, storage, loop)
1900|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 862, in _handle_commands
1901|ret = await _handle_device_command(args, cmd, atv, storage, loop)
1902|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 890, in _handle_device_command
1903|return await _exec_command(
1904|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 945, in _exec_command
1905|value = await tmp(*args)
1906|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 402, in cli
1907|await _handle_device_command(
1908|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 890, in _handle_device_command
1909|return await _exec_command(
1910|[16-07-2024 09:06:41]ERROR : [CMD][F0:B3:EC:63:AD:DA] ERROR : File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 945, in _exec_command
1911|value = await tmp(*args)
1912|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 408, in artwork_save
1913|artwork = await self.atv.metadata.artwork(width=width, height=height)
1914|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/support/shield.py", line 71, in _guard_method
1915|raise BlockedStateError(f"{func.__name__} is blocked")
1916|pyatv.exceptions.BlockedStateError: metadata is blocked
1917|During handling of the above exception, another exception occurred:
1918|Traceback (most recent call last):
1919|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 978, in _run_application
1920|return await cli_handler(loop)
1921|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 732, in cli_handler
1922|await storage.save()
1923|File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
1924|result = self.fn(*self.args, **self.kwargs)
1925|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/storage/file_storage.py", line 51, in _save_file
1926|with open(self._filename, "w", encoding="utf-8") as _fh:
1927|PermissionError: [Errno 13] Permission denied: '/var/www/.pyatv.conf'
1928|>>> An error occurred, full stack trace above
1929|[16-07-2024 09:06:41]DEBUG : [CMD][F0:B3:EC:63:AD:DA] Exit code :null
Nouvelle version :
2243|[16-07-2024 09:06:41] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi artwork_save=138,-1
2244|[16-07-2024 09:06:41] ERROR : [CMD][F0:B3:EC:63:AD:DA] ERROR :Traceback (most recent call last):
2245|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 723, in cli_handler
2246|return await _handle_commands(args, config, storage, loop)
2247|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 862, in _handle_commands
2248|ret = await _handle_device_command(args, cmd, atv, storage, loop)
2249|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 890, in _handle_device_command
2250|return await _exec_command(
2251|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 945, in _exec_command
2252|value = await tmp(*args)
2253|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 402, in cli
2254|await _handle_device_command(
2255|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 890, in _handle_device_command
2256|return await _exec_command(
2257|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 945, in _exec_command
2258|value = await tmp(*args)
2259|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 408, in artwork_save
2260|artwork = await self.atv.metadata.artwork(width=width, height=height)
2261|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/support/shield.py", line 72, in _guard_method
2262|raise BlockedStateError(f"{func.__name__} is blocked")
2263|pyatv.exceptions.BlockedStateError: metadata is blocked
2264|During handling of the above exception, another exception occurred:
2265|Traceback (most recent call last):
2266|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 978, in _run_application
2267|return await cli_handler(loop)
2268|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 732, in cli_handler
2269|await storage.save()
2270|File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
2271|result = self.fn(*self.args, **self.kwargs)
2272|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/storage/file_storage.py", line 52, in _save_file
2273|with open(self._filename, "w", encoding="utf-8") as _fh:
2274|PermissionError: [Errno 13] Permission denied: '/var/www/.pyatv.conf'
2275|>>> An error occurred, full stack trace above
2276|[16-07-2024 09:06:41] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Exit code :null
Garde juste la nouvelle version ![]()
Bon ben je vois pas, des gens sur OpenHab (qui utilise la même lib que moi) avaient ce problème et ils l’ont résolu comme ça…
Une nouvelle hier soir mais qui ne semble pas liée au artwork mais qui conduit toujours à ce problème d’accès sur le fichier /var/www/.pyatv.conf.
4557|[18-07-2024 21:42:03] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu power_state et envoyé à jeedom |{"result": "success", "datetime": "2024-07-18T21:42:03.828314+02:00", "power_state": "off"}
4558|[18-07-2024 21:42:03] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "success", "datetime": "2024-07-18T21:42:03.829010+02:00", "output_devices": [{"name": "Salon", "identifier": "668CE93D-2F02-4A4E-B60F-FB3019E5B30D"}]}
4559|[18-07-2024 21:42:03] DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu playing et envoyé à jeedom |{"result": "success", "datetime": "2024-07-18T21:42:03.833000+02:00", "hash": "ca496c14642c78af6dd4250191fe175f6dafd72b4c33bcbab43c454aae051da1", "media_type": "unknown", "device_state": "idle", "title": null, "artist": null, "album": null, "genre": null, "total_time": null, "position": null, "shuffle": "off", "repeat": "off", "series_name": null, "season_number": null, "episode_number": null, "content_identifier": null, "app": null, "app_id": null}
4560|[18-07-2024 21:45:24] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi volume
4561|[18-07-2024 21:45:25] ERROR : [CMD][F0:B3:EC:63:AD:DA] ERROR :Traceback (most recent call last):
4562|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 723, in cli_handler
4563|return await _handle_commands(args, config, storage, loop)
4564|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 862, in _handle_commands
4565|ret = await _handle_device_command(args, cmd, atv, storage, loop)
4566|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 890, in _handle_device_command
4567|return await _exec_command(
4568|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 945, in _exec_command
4569|value = await tmp(*args)
4570|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 402, in cli
4571|await _handle_device_command(
4572|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 900, in _handle_device_command
4573|return await _exec_command(atv.audio, cmd, True, *cmd_args)
4574|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/support/shield.py", line 72, in _guard_method
4575|raise BlockedStateError(f"{func.__name__} is blocked")
4576|pyatv.exceptions.BlockedStateError: audio is blocked
4577|During handling of the above exception, another exception occurred:
4578|Traceback (most recent call last):
4579|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 978, in _run_application
4580|return await cli_handler(loop)
4581|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 732, in cli_handler
4582|await storage.save()
4583|File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
4584|result = self.fn(*self.args, **self.kwargs)
4585|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/storage/file_storage.py", line 52, in _save_file
4586|with open(self._filename, "w", encoding="utf-8") as _fh:
4587|PermissionError: [Errno 13] Permission denied: '/var/www/.pyatv.conf'
4588|>>> An error occurred, full stack trace above
4589|[18-07-2024 21:45:25] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi features
4590|[18-07-2024 21:45:25] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi power_state
4591|[18-07-2024 21:45:25] DEBUG : [CMD][F0:B3:EC:63:AD:DA] Exit code :null
Y-a-t-il quelque chose de plus que je peux faire de mon côté pour essayer de trouver la cause de cette erreur ?
Non… faut attendre … si c’est un problème de la lib ça finira par se résoudre. Mais tu sembles le seul touché jusqu’ici.
Bonjour,
Pour info, j’ai fait la mise à jour aujourd’hui et relancé l’installation des dépendances et j’ai cette erreur qui tourne en boucle :
[24-07-2024 12:22:09][INFO] : Démarrage démon aTVremote...
[24-07-2024 12:22:09][DEBUG] : preConnect3 = []
[24-07-2024 12:22:09][DEBUG] : preConnect4 = ["FF:FF:FF:FF:FF:FF"]
[24-07-2024 12:22:09][DEBUG] : preConnectHP = []
[24-07-2024 12:22:09][DEBUG] : urlJeedom = http://192.168.0.130/core/api/jeeApi.php
[24-07-2024 12:22:09][DEBUG] : apiKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[24-07-2024 12:22:09][DEBUG] : serverPort = 43340
[24-07-2024 12:22:09][DEBUG] : logLevel = debug
[24-07-2024 12:22:09][DEBUG] : SPAWN CMD : /var/www/html/plugins/aTVremote/resources/atvremote/bin/atvremote -i FF:FF:FF:FF:FF:FF --protocol airplay --airplay-credentials xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --protocol companion --companion-credentials xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx cli
[24-07-2024 12:22:09][DEBUG] : SPAWN MSG : /var/www/html/plugins/aTVremote/resources/atvremote/bin/atvscript -i FF:FF:FF:FF:FF:FF --protocol airplay --airplay-credentials xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx push_updates
[24-07-2024 12:22:09][INFO] : [CMD][FF:FF:FF:FF:FF:FF] Connecté avec succes !
[24-07-2024 12:22:09][INFO] : [MSG][FF:FF:FF:FF:FF:FF] Connecté avec succes !
[24-07-2024 12:22:09][INFO] : Démon prêt et à l'écoute !
[24-07-2024 12:22:09][ERROR] : [CMD][FF:FF:FF:FF:FF:FF] ERROR :Traceback (most recent call last):
File "/var/www/html/plugins/aTVremote/resources/atvremote/bin/atvremote", line 5, in <module>
from pyatv.scripts.atvremote import main
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/__init__.py", line 26, in <module>
from pyatv.protocols import PROTOCOLS
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/__init__.py", line 10, in <module>
from pyatv.protocols import airplay as airplay_proto
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/airplay/__init__.py", line 28, in <module>
from pyatv.protocols import mrp
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/mrp/__init__.py", line 14, in <module>
from pyatv.auth.hap_srp import SRPAuthHandler
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/auth/hap_srp.py", line 27, in <module>
from pyatv.support import chacha20, log_binary, opack
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/support/chacha20.py", line 7, in <module>
from chacha20poly1305_reuseable import ChaCha20Poly1305Reusable as ChaCha20Poly1305
File "src/chacha20poly1305_reuseable/__init__.py", line 21, in init chacha20poly1305_reuseable
AttributeError: module 'lib' has no attribute 'EVP_CIPHER_CTX_ctrl'
[24-07-2024 12:22:09][ERROR] : [MSG][FF:FF:FF:FF:FF:FF] ERROR :Traceback (most recent call last):
File "/var/www/html/plugins/aTVremote/resources/atvremote/bin/atvscript", line 5, in <module>
from pyatv.scripts.atvscript import main
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/__init__.py", line 26, in <module>
from pyatv.protocols import PROTOCOLS
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/__init__.py", line 10, in <module>
from pyatv.protocols import airplay as airplay_proto
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/airplay/__init__.py", line 28, in <module>
from pyatv.protocols import mrp
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/mrp/__init__.py", line 14, in <module>
from pyatv.auth.hap_srp import SRPAuthHandler
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/auth/hap_srp.py", line 27, in <module>
from pyatv.support import chacha20, log_binary, opack
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/support/chacha20.py", line 7, in <module>
from chacha20poly1305_reuseable import ChaCha20Poly1305Reusable as ChaCha20Poly1305
File "src/chacha20poly1305_reuseable/__init__.py", line 21, in init chacha20poly1305_reuseable
AttributeError: module 'lib' has no attribute 'EVP_CIPHER_CTX_ctrl'
[24-07-2024 12:22:09][DEBUG] : [CMD][FF:FF:FF:FF:FF:FF] Exit code :null
[24-07-2024 12:22:09][DEBUG] : [CMD][FF:FF:FF:FF:FF:FF] Reconnection...
[24-07-2024 12:22:09][DEBUG] : [MSG][FF:FF:FF:FF:FF:FF] Exit code :1
[24-07-2024 12:22:09][DEBUG] : [MSG][FF:FF:FF:FF:FF:FF] Reconnection...
[24-07-2024 12:22:09][DEBUG] : SPAWN CMD : /var/www/html/plugins/aTVremote/resources/atvremote/bin/atvremote -i FF:FF:FF:FF:FF:FF --protocol airplay --airplay-credentials xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --protocol companion --companion-credentials xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx cli
[24-07-2024 12:22:09][DEBUG] : SPAWN MSG : /var/www/html/plugins/aTVremote/resources/atvremote/bin/atvscript -i FF:FF:FF:FF:FF:FF --protocol airplay --airplay-credentials xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx push_updates
[24-07-2024 12:22:09][INFO] : [CMD][FF:FF:FF:FF:FF:FF] Connecté avec succes !
[24-07-2024 12:22:09][INFO] : [MSG][FF:FF:FF:FF:FF:FF] Connecté avec succes !
[24-07-2024 12:22:10][ERROR] : [CMD][FF:FF:FF:FF:FF:FF] ERROR :Traceback (most recent call last):
File "/var/www/html/plugins/aTVremote/resources/atvremote/bin/atvremote", line 5, in <module>
from pyatv.scripts.atvremote import main
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/__init__.py", line 26, in <module>
from pyatv.protocols import PROTOCOLS
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/__init__.py", line 10, in <module>
from pyatv.protocols import airplay as airplay_proto
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/airplay/__init__.py", line 28, in <module>
from pyatv.protocols import mrp
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/mrp/__init__.py", line 14, in <module>
[24-07-2024 12:22:10][ERROR] : [CMD][FF:FF:FF:FF:FF:FF] ERROR : from pyatv.auth.hap_srp import SRPAuthHandler
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/auth/hap_srp.py", line 27, in <module>
from pyatv.support import chacha20, log_binary, opack
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/support/chacha20.py", line 7, in <module>
from chacha20poly1305_reuseable import ChaCha20Poly1305Reusable as ChaCha20Poly1305
File "src/chacha20poly1305_reuseable/__init__.py", line 21, in init chacha20poly1305_reuseable
AttributeError: module 'lib' has no attribute 'EVP_CIPHER_CTX_ctrl'
[24-07-2024 12:22:10][DEBUG] : [CMD][FF:FF:FF:FF:FF:FF] Exit code :null
[24-07-2024 12:22:10][DEBUG] : [CMD][FF:FF:FF:FF:FF:FF] Reconnection...
[24-07-2024 12:22:10][ERROR] : [MSG][FF:FF:FF:FF:FF:FF] ERROR :Traceback (most recent call last):
File "/var/www/html/plugins/aTVremote/resources/atvremote/bin/atvscript", line 5, in <module>
[24-07-2024 12:22:10][ERROR] : [MSG][FF:FF:FF:FF:FF:FF] ERROR : from pyatv.scripts.atvscript import main
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/__init__.py", line 26, in <module>
from pyatv.protocols import PROTOCOLS
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/__init__.py", line 10, in <module>
from pyatv.protocols import airplay as airplay_proto
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/airplay/__init__.py", line 28, in <module>
from pyatv.protocols import mrp
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/protocols/mrp/__init__.py", line 14, in <module>
[24-07-2024 12:22:10][ERROR] : [MSG][FF:FF:FF:FF:FF:FF] ERROR : from pyatv.auth.hap_srp import SRPAuthHandler
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/auth/hap_srp.py", line 27, in <module>
from pyatv.support import chacha20, log_binary, opack
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/support/chacha20.py", line 7, in <module>
[24-07-2024 12:22:10][ERROR] : [MSG][FF:FF:FF:FF:FF:FF] ERROR : from chacha20poly1305_reuseable import ChaCha20Poly1305Reusable as ChaCha20Poly1305
File "src/chacha20poly1305_reuseable/__init__.py", line 21, in init chacha20poly1305_reuseable
AttributeError: module 'lib' has no attribute 'EVP_CIPHER_CTX_ctrl'
[24-07-2024 12:22:10][DEBUG] : [MSG][FF:FF:FF:FF:FF:FF] Exit code :1
[24-07-2024 12:22:10][DEBUG] : [MSG][FF:FF:FF:FF:FF:FF] Reconnection...
[24-07-2024 12:22:10][DEBUG] : SPAWN CMD : /var/www/html/plugins/aTVremote/resources/atvremote/bin/atvremote -i FF:FF:FF:FF:FF:FF --protocol airplay --airplay-credentials xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --protocol companion --companion-credentials xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx cli
[24-07-2024 12:22:10][DEBUG] : SPAWN MSG : /var/www/html/plugins/aTVremote/resources/atvremote/bin/atvscript -i FF:FF:FF:FF:FF:FF --protocol airplay --airplay-credentials xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx push_updates
[24-07-2024 12:22:10][INFO] : [CMD][FF:FF:FF:FF:FF:FF] Connecté avec succes !
Un problème dans la lib pyatv à priori.
Est-ce possible de figer l’installation des dépendances de la lib sur une version qui ne pose pas ce souci en attendant que cela soit corriger sur la lib ?
Oui vous pouvez pointer sur une release précédente de la lib, il suffit de modifier le fichier install_apt.sh dans le dossier resources du plugin.
Je suppose que c’est ici ?
Mais comment sélectionner la version désirée ?
tryOrStop $VENV_DIR/bin/python3 -m pip install --no-cache-dir -I git+https://github.com/NebzHB/pyatv@master
oui c’est là,
je sais pas trop, prenez le repo originel :
https://github.com/postlund/pyatv#v0.14.5
@ c’est pour les branches
# c’est pour les releases je crois (les tags)
peut-etre ?
La 0.14.5 semble dater de décembre 2023 et pas de nouveau tag depuis. Les dernières mises à jour semblent être sur la branche Master sans tag.
EDIT : Il semble aussi possible de spécifier un commit hash après le @. Je vais peux être tenter cela.