PermissionError: [Errno 13] Permission denied: '/var/www/.pyatv.conf'

Bonjour,

Voici quelques infos pour commencer.

Jeedom Core : 4.3.21 (V4-stable)

Version OS : debian 11.9
Version PHP : 7.4.33

J’utilise une Apple TV 4K (gen2), tvOS 17.5.1 et je vois quelle remonte en 16.2 sur la page santé du plugin.

image

Dernière version du plugin installé hier (08/07/2024)

Je ne remarque pas de dysfonctionnement mais j’ai ces erreurs dans le ficher de log TVremote_deamon :

0000|[08-07-2024 20:35:13]ERROR : [CMD][F0:B3:EC:63:AD:DA] ERROR :Traceback (most recent call last):
0001|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 723, in cli_handler
0002|return await _handle_commands(args, config, storage, loop)
0003|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 862, in _handle_commands
0004|ret = await _handle_device_command(args, cmd, atv, storage, loop)
0005|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 890, in _handle_device_command
0006|return await _exec_command(
0007|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 945, in _exec_command
0008|value = await tmp(*args)
0009|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 402, in cli
0010|await _handle_device_command(
0011|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 900, in _handle_device_command
0012|return await _exec_command(atv.audio, cmd, True, *cmd_args)
0013|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/support/shield.py", line 71, in _guard_method
0014|raise BlockedStateError(f"{func.__name__} is blocked")
0015|pyatv.exceptions.BlockedStateError: audio is blocked
0016|During handling of the above exception, another exception occurred:
0017|Traceback (most recent call last):
0018|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 978, in _run_application
0019|return await cli_handler(loop)
0020|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/scripts/atvremote.py", line 732, in cli_handler
0021|await storage.save()
0022|File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
0023|result = self.fn(*self.args, **self.kwargs)
0024|File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/storage/file_storage.py", line 51, in _save_file
0025|with open(self._filename, "w", encoding="utf-8") as _fh:
0026|PermissionError: [Errno 13] Permission denied: '/var/www/.pyatv.conf'
0027|>>> An error occurred, full stack trace above
0028|[08-07-2024 20:35:13]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')

Ci-dessous, les logs d’install des dépendances :

== Jeedom 4.3.21 sur Debian GNU/Linux 11 (bullseye)/amd64/x86_64/64bits aka 'diy' avec nodeJS v18.19.1 et jsonrpc:enable et aTVremote (beta) 2024-07-08 13:39:47 (avant:beta/2024-07-03 09:55:39)
======================================================================
== 08/07/2024 18:04:18 == Installation des dépendances de aTVremote
======================================================================
[  0% ] : Vérification des droits...
[  4% ] : Vérification des droits : [0sec] : [  OK  ]
[  5% ] : Mise à jour APT et installation des packages nécessaires...
[  9% ] : Mise à jour APT et installation des packages nécessaires : [5sec] : [  OK  ]
[ 10% ] : Prérequis...
[ 14% ] : Prérequis : [0sec] : [  OK  ]
[ 15% ] : Installation des packages nécessaires...
[ 19% ] : Installation des packages nécessaires : [0sec] : [  OK  ]
[ 20% ] : Vérification du système...
[ 24% ] : Vérification du système : [0sec] : [  OK  ]
[ 25% ] : Vérification de la version de NodeJS installée...
[Check Version NodeJS actuelle : v18.19.1 : [  OK  ]
[Check Version NPM : 10.8.1 : [  OK  ]
[Check Prefixe : /usr et sudo prefixe : /usr et www-data prefixe : /usr : [  OK  ]
[ 29% ] : Vérification de la version de NodeJS installée : [1sec] : [  OK  ]
[ 30% ] : Nettoyage...
[ 59% ] : Nettoyage : [0sec] : [  OK  ]
[ 60% ] : Nettoyage anciens modules...
[ 69% ] : Nettoyage anciens modules : [0sec] : [  OK  ]
[ 70% ] : Installation des librairies du démon, veuillez patienter svp...
[ 79% ] : Installation des librairies du démon, veuillez patienter svp : [11sec] : [  OK  ]
[ 80% ] : Installation librairie atvremote...
[ 89% ] : Installation librairie atvremote : [4:31] : [  OK  ]
[ 90% ] : Résumé des packages installés...
aiohttp==3.9.5
aiosignal==1.3.1
annotated-types==0.7.0
async-timeout==4.0.3
attrs==23.2.0
certifi==2024.6.2
cffi==1.16.0
chacha20poly1305-reuseable==0.12.1
charset-normalizer==3.3.2
cryptography==42.0.8
frozenlist==1.4.1
idna==3.7
ifaddr==0.2.0
mediafile==0.12.0
miniaudio==1.52
multidict==6.0.5
mutagen==1.47.0
pkg_resources==0.0.0
protobuf==5.27.2
pyatv @ git+https://github.com/NebzHB/pyatv@c7da212881e324ed1a9bc4b396931e3d75fb483a
pycparser==2.22
pydantic==2.7.4
pydantic_core==2.18.4
requests==2.32.3
six==1.16.0
srptools==1.0.1
tabulate==0.9.0
typing_extensions==4.12.2
urllib3==2.2.2
yarl==1.9.4
zeroconf==0.132.2
[ 99% ] : Résumé des packages installés : [0sec] : [  OK  ]
[100% ] : Terminé !
======================================================================
== OK == Installation Réussie [4:48]
======================================================================

PS : Dès que je met le tag du plugin-atvremote, je ne peux pas choisir de catégorie.

Bonjour @nebz,

Ne pouvant pas mettre le tag du plugin sur le sujet, je me permets de te tagger directement au cas ou tu n’aurais pas vu le message.

Désolé si c’est déjà le cas.

Hello,

Tu peux vérifier les permissions dans la config de Jeedom stp ?

Tu veux dire rétablir les droits des fichiers ?

image

Oui c’est bien ça puis relancer les dépendances et le demon

C’est fait. Je vais surveiller ci cela se produit de nouveau.

== Jeedom 4.3.21 sur Debian GNU/Linux 11 (bullseye)/amd64/x86_64/64bits aka 'diy' avec nodeJS v18.19.1 et jsonrpc:enable et aTVremote (beta) 2024-07-08 13:39:47 (avant:beta/2024-07-03 09:55:39)
======================================================================
== 10/07/2024 17:53:46 == Installation des dépendances de aTVremote
======================================================================
[  0% ] : Vérification des droits...
[  4% ] : Vérification des droits : [0sec] : [  OK  ]
[  5% ] : Mise à jour APT et installation des packages nécessaires...
[  9% ] : Mise à jour APT et installation des packages nécessaires : [1sec] : [  OK  ]
[ 10% ] : Prérequis...
[ 14% ] : Prérequis : [0sec] : [  OK  ]
[ 15% ] : Installation des packages nécessaires...
[ 19% ] : Installation des packages nécessaires : [1sec] : [  OK  ]
[ 20% ] : Vérification du système...
[ 24% ] : Vérification du système : [0sec] : [  OK  ]
[ 25% ] : Vérification de la version de NodeJS installée...
[Check Version NodeJS actuelle : v18.19.1 : [  OK  ]
[Check Version NPM : 10.8.1 : [  OK  ]
[Check Prefixe : /usr et sudo prefixe : /usr et www-data prefixe : /usr : [  OK  ]
[ 29% ] : Vérification de la version de NodeJS installée : [0sec] : [  OK  ]
[ 30% ] : Nettoyage...
[ 59% ] : Nettoyage : [0sec] : [  OK  ]
[ 60% ] : Nettoyage anciens modules...
[ 69% ] : Nettoyage anciens modules : [0sec] : [  OK  ]
[ 70% ] : Installation des librairies du démon, veuillez patienter svp...
[ 79% ] : Installation des librairies du démon, veuillez patienter svp : [6sec] : [  OK  ]
[ 80% ] : Installation librairie atvremote...
[ 89% ] : Installation librairie atvremote : [16sec] : [  OK  ]
[ 90% ] : Résumé des packages installés...
aiohttp==3.9.5
aiosignal==1.3.1
annotated-types==0.7.0
async-timeout==4.0.3
attrs==23.2.0
certifi==2024.6.2
cffi==1.16.0
chacha20poly1305-reuseable==0.12.1
charset-normalizer==3.3.2
cryptography==42.0.8
frozenlist==1.4.1
idna==3.7
ifaddr==0.2.0
mediafile==0.12.0
miniaudio==1.52
multidict==6.0.5
mutagen==1.47.0
pkg_resources==0.0.0
protobuf==5.27.2
pyatv @ git+https://github.com/NebzHB/pyatv@c7da212881e324ed1a9bc4b396931e3d75fb483a
pycparser==2.22
pydantic==2.7.4
pydantic_core==2.18.4
requests==2.32.3
six==1.16.0
srptools==1.0.1
tabulate==0.9.0
typing_extensions==4.12.2
urllib3==2.2.2
yarl==1.9.4
zeroconf==0.132.2
[ 99% ] : Résumé des packages installés : [0sec] : [  OK  ]
[100% ] : Terminé !
======================================================================
== OK == Installation Réussie [24sec]
======================================================================

De nouveau l’erreur hier soir et une qui tourne en boucle. J’ai tronqué les logs de celle qui tourne en boucle car ca ne passe pas dans le message.

[10-07-2024 20:45:08]ERROR : [CMD][F0:B3:EC:63:AD:DA] ERROR :Traceback (most recent call last):
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 900, in _handle_device_command
return await _exec_command(atv.audio, cmd, True, *cmd_args)
File "/var/www/html/plugins/aTVremote/resources/atvremote/lib/python3.9/site-packages/pyatv/support/shield.py", line 71, in _guard_method
raise BlockedStateError(f"{func.__name__} is blocked")
pyatv.exceptions.BlockedStateError: audio 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 51, 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
[10-07-2024 20:45:08]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:45:08]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:46:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:46:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:46:51]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:47:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:47:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:48:17]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:48:31]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:49:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:49:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:49:40]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:49:56]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:50:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:50:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:50:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:50:29]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:51:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:51:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:52:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:52:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:53:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:53:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:54:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:54:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:55:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:55:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:55:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:55:09]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:56:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:56:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:57:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:57:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:58:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:58:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:59:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 20:59:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:00:11]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:00:11]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:00:11]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:01:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:01:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:03:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:03:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:04:09]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:04:30]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:04:48]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:04:54]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:05:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:05:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:05:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:05:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:05:38]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:06:35]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:07:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:07:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:07:11]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:08:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:08:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:09:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:09:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:10:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:10:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:10:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:11:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:11:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:12:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:12:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:13:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:13:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:14:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:14:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:15:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:15:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:15:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:16:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:16:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:17:15]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:17:21]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:18:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:18:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:19:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:19:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:20:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:20:08]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:20:08]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:21:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:21:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:22:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:22:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:23:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:23:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:24:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:24:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:25:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:25:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:25:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:26:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:26:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:27:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:27:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:28:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:28:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:29:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:29:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:30:10]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:30:10]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:30:10]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:31:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:31:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:32:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:32:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:32:42]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:33:01]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:33:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:33:54]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:34:01]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:34:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:34:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:35:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:35:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:35:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:35:42]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:36:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:36:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:37:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:37:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:38:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:38:05]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:39:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[10-07-2024 21:39:06]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')

[11-07-2024 08:15:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:15:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:15:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:20:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:20:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:20:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:25:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:25:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:25:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:30:08]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:30:08]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:30:08]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:35:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:35:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:35:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:40:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:40:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:40:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:45:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:45:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:45:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:50:08]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:50:08]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:50:08]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:55:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:55:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')
[11-07-2024 08:55:07]ERROR : TypeError: Cannot read properties of undefined (reading 'stdin')

Il faudrait les logs juste avant de la première fois que ça arrive

Je n’ai rien de plus. J’ai mis tous les logs (à part la ligne qui se répète en boucle que j’ai tronqué) depuis le rétablissement des droits et réinstallation des dépendances…

Les logs sont actuellement en Defaut. Je peux les passer en Debug si besoin.

oui évidemment

impossible on voit pas le lancement du démon par ex

J’ai passé les logs en Debug et relancé le démon. Je vois bien les logs du lancement du démon maintenant. Je surveille.

Nouvelle erreur mais les logs complets sont trop longs pour être mis sur Community.

[11-07-2024 11:52:22]INFO : [MSG][F0:B3:EC:63:AD:DA] Connecté avec succes !
[11-07-2024 11:52:24]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu power_state et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T11:52:24.392000+02:00", "power_state": "off"}
[11-07-2024 11:52:24]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "success", "datetime": "2024-07-11T11:52:24.392102+02:00", "output_devices": [{"name": "Salon", "identifier": "668CE93D-2F02-4A4E-B60F-FB3019E5B30D"}]}
[11-07-2024 11:52:24]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu playing et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T11:52:24.392749+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 11:52:45]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu playing et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T11:52:45.275928+02:00", "hash": "25720922_50026", "media_type": "video", "device_state": "playing", "title": "Chacun son tour", "artist": "Emission du 11 juil. 2024", "album": null, "genre": null, "total_time": null, "position": null, "shuffle": "off", "repeat": "off", "series_name": null, "season_number": null, "episode_number": null, "content_identifier": "25720922_50026", "app": null, "app_id": "com.canalplusdistrib.mycanal.prod"}
[11-07-2024 11:52:52]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu playing et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T11:52:52.596014+02:00", "hash": "25720922_50026", "media_type": "video", "device_state": "paused", "title": "Chacun son tour", "artist": "Emission du 11 juil. 2024", "album": null, "genre": null, "total_time": null, "position": null, "shuffle": "off", "repeat": "off", "series_name": null, "season_number": null, "episode_number": null, "content_identifier": "25720922_50026", "app": null, "app_id": "com.canalplusdistrib.mycanal.prod"}
[11-07-2024 11:53:14]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu power_state et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T11:53:14.459664+02:00", "power_state": "on"}
[11-07-2024 11:53:16]DEBUG : [MSG][F0:B3:EC:63:AD:DA] Reçu playing et envoyé à jeedom |{"result": "success", "datetime": "2024-07-11T11:53:16.041605+02:00", "hash": "583A14D5-C63B-4A56-87C2-A4367AF6AC10", "media_type": "video", "device_state": "playing", "title": "La Roja sur ses gardes - Euro 2024", "artist": "Toute l'actualit\u00e9 du foot avec I...", "album": null, "genre": null, "total_time": 50, "position": null, "shuffle": "off", "repeat": "off", "series_name": null, "season_number": null, "episode_number": null, "content_identifier": "583A14D5-C63B-4A56-87C2-A4367AF6AC10", "app": null, "app_id": "com.canalplusdistrib.mycanal.prod"}
[11-07-2024 11:53:17]DEBUG : [CMD][F0:B3:EC:63:AD:DA] Envoi artwork_save=138,-1
[11-07-2024 11:53:17]ERROR : [CMD][F0:B3:EC:63:AD:DA] ERROR :Traceback (most recent call last):
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 71, 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 51, 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

Je peux te les envoyer en MP ?

Oui tu peux

On dirait que c’est au moment de récupérer l’image (le artwork) … tu peux tenter avec d’autres média ? Musique, netflix, vidéo Apple etc, c’est peut être lié à ton app de vidéo

Je t’ai envoyé les logs.

L’erreur dans les logs correspond au lancement d’un replay avec MyCanal. J’ai relancé le même replay et l’erreur ne se produit plus. J’ai essayé sur d’autre applis (Oqee, Netflix, …) mais pas d’erreur.

Le artnetwork, c’est la miniature qui apparait sur le widget ? Je n’ai pas regardé sur le widget au moment de l’erreur pour voir si l’image apparait bien ou pas. Je vérifierai la prochaine fois.

1 « J'aime »

on voit aussi une déconnection réseau de ton périphérique là, il réessaie de se connecter plusieurs fois avant d’y parvenir, un problème réseau ?

[11-07-2024 11:52:00][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Reconnection...
[11-07-2024 11:52:00][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "success", "datetime": "2024-07-11T11:52:00.640355+02:00", "connection": "closed"}
[11-07-2024 11:52:00][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "success", "datetime": "2024-07-11T11:52:00.640650+02:00", "push_updates": "finished"}
[11-07-2024 11:52:00][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "failure", "datetime": "2024-07-11T11:52:00.658632+02:00", "error": "Task was destroyed but it is pending!"}
[11-07-2024 11:52:00][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Exit code :0
[11-07-2024 11:52:00][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Reconnection...
[11-07-2024 11:52:00][DEBUG] : SPAWN MSG : /var/www/html/plugins/aTVremote/resources/atvremote/bin/atvscript -i F0:B3:EC:63:AD:DA --protocol airplay --airplay-credentials 3258f0cb6459d99cbc28ed31f69349c409eda150a1e7f9ba8e4a7ee4d1c4a17d:c9570a69a67849324249c5c3ef3fccb18d5ecba2c160ab6aa0a9c3b7bb2c4ddf:36363843453933442d324630322d344134452d423630462d464233303139453542333044:37303563613235302d653737652d346464642d393863312d383338616262303866353632 push_updates
[11-07-2024 11:52:00][INFO] : [MSG][F0:B3:EC:63:AD:DA] Connecté avec succes !
[11-07-2024 11:52:06][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Déconnecté !
[11-07-2024 11:52:06][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "failure", "datetime": "2024-07-11T11:52:06.183496+02:00", "error": "device_not_found"}
[11-07-2024 11:52:06][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Exit code :0
[11-07-2024 11:52:06][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Reconnection...
[11-07-2024 11:52:06][DEBUG] : SPAWN MSG : /var/www/html/plugins/aTVremote/resources/atvremote/bin/atvscript -i F0:B3:EC:63:AD:DA --protocol airplay --airplay-credentials 3258f0cb6459d99cbc28ed31f69349c409eda150a1e7f9ba8e4a7ee4d1c4a17d:c9570a69a67849324249c5c3ef3fccb18d5ecba2c160ab6aa0a9c3b7bb2c4ddf:36363843453933442d324630322d344134452d423630462d464233303139453542333044:37303563613235302d653737652d346464642d393863312d383338616262303866353632 push_updates
[11-07-2024 11:52:06][INFO] : [MSG][F0:B3:EC:63:AD:DA] Connecté avec succes !
[11-07-2024 11:52:11][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Déconnecté !
[11-07-2024 11:52:11][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "failure", "datetime": "2024-07-11T11:52:11.707692+02:00", "error": "device_not_found"}
[11-07-2024 11:52:11][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Exit code :0
[11-07-2024 11:52:11][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Reconnection...
[11-07-2024 11:52:11][DEBUG] : SPAWN MSG : /var/www/html/plugins/aTVremote/resources/atvremote/bin/atvscript -i F0:B3:EC:63:AD:DA --protocol airplay --airplay-credentials 3258f0cb6459d99cbc28ed31f69349c409eda150a1e7f9ba8e4a7ee4d1c4a17d:c9570a69a67849324249c5c3ef3fccb18d5ecba2c160ab6aa0a9c3b7bb2c4ddf:36363843453933442d324630322d344134452d423630462d464233303139453542333044:37303563613235302d653737652d346464642d393863312d383338616262303866353632 push_updates
[11-07-2024 11:52:11][INFO] : [MSG][F0:B3:EC:63:AD:DA] Connecté avec succes !
[11-07-2024 11:52:17][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Déconnecté !
[11-07-2024 11:52:17][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "failure", "datetime": "2024-07-11T11:52:17.254141+02:00", "error": "device_not_found"}
[11-07-2024 11:52:17][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Exit code :0
[11-07-2024 11:52:17][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Reconnection...
[11-07-2024 11:52:17][DEBUG] : SPAWN MSG : /var/www/html/plugins/aTVremote/resources/atvremote/bin/atvscript -i F0:B3:EC:63:AD:DA --protocol airplay --airplay-credentials 3258f0cb6459d99cbc28ed31f69349c409eda150a1e7f9ba8e4a7ee4d1c4a17d:c9570a69a67849324249c5c3ef3fccb18d5ecba2c160ab6aa0a9c3b7bb2c4ddf:36363843453933442d324630322d344134452d423630462d464233303139453542333044:37303563613235302d653737652d346464642d393863312d383338616262303866353632 push_updates
[11-07-2024 11:52:17][INFO] : [MSG][F0:B3:EC:63:AD:DA] Connecté avec succes !
[11-07-2024 11:52:22][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Déconnecté !
[11-07-2024 11:52:22][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Reçu |{"result": "failure", "datetime": "2024-07-11T11:52:22.803699+02:00", "error": "device_not_found"}
[11-07-2024 11:52:22][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Exit code :0
[11-07-2024 11:52:22][DEBUG] : [MSG][F0:B3:EC:63:AD:DA] Reconnection...
[11-07-2024 11:52:22][DEBUG] : SPAWN MSG : /var/www/html/plugins/aTVremote/resources/atvremote/bin/atvscript -i F0:B3:EC:63:AD:DA --protocol airplay --airplay-credentials 3258f0cb6459d99cbc28ed31f69349c409eda150a1e7f9ba8e4a7ee4d1c4a17d:c9570a69a67849324249c5c3ef3fccb18d5ecba2c160ab6aa0a9c3b7bb2c4ddf:36363843453933442d324630322d344134452d423630462d464233303139453542333044:37303563613235302d653737652d346464642d393863312d383338616262303866353632 push_updates
[11-07-2024 11:52:22][INFO] : [MSG][F0:B3:EC:63:AD:DA] Connecté avec succes !

j’ai mis à jour la lib pyatv (qui se connecte à l’apple tv) peut-etre que ça corrigera ton problème, relance les dépendances…

mais ça aurait été bien d’identifier quand ça beug pour pouvoir reproduire le bug et vérifier que la mise à jour corrige…

C’est un redémarrage volontaire de l’AppleTV. J’ai souvent un message d’erreur HDCP lors de la lecture de replay ou du direct.

myCANAL a détecté un problème de compatibilité HDCP qui empêche la lecture de votre programme. Pour résoudre ce problème, vous pouvez essayer de changer de câble HDMI ou de changer de port HDMI sur votreTV

Ce problème semble connu mais la seule solution pour le moment est de redémarrer l’AppleTV … :frowning:

Je peux laisser pour le moment avec la version actuelle pour essayer de capturer le souci .Et je je mettrai à jour d’ici quelques jours.

Sinon, est-ce que je peux utiliser le plugin sur 2 jeedoms en même temps avec la même Apple TV ? Ainsi je pourrai garder la version actuelle sur ma prod et mettre à jour avec la dernière version sur un jeedom de test et comparer.

Oui bien sûre.

Ça pourrait même être intéressant pour voir si les deux plantent au même moment.

Faut juste voir si ça va pas augmenter la charge de ton appletv