Lancement dependances rfxcom impossible

Bonjour,

Je viens d’installer le plugin RFX com et le lancement des dépendances semble impossible.
J’ai dans le log du plugin rfxdcom le message suivant qui se répète pleins de fois.

Traceback (most recent call last):
File "/var/www/html/plugins/rfxcom/resources/rfxcomd/rfxcomd.py", line 23, in <module>
from jeedomdaemon.base_config import BaseConfig
ModuleNotFoundError: No module named 'jeedomdaemon'

J’ai aussi tenté plusieurs réinstallation du plugin, sans résultat.
Quelqu’un a déjà eu un problème de ce genre ?

Merci d’avance,


Informations Jeedom Atlas

Core : 4.4.17 (master)
DNS Jeedom Atlas : oui

Plugin : RFXcom
Version : 2024-07-28 01:02:37 (stable)
Statut Démon : Stoppé - (2024-09-19 16:25:06)

Bonjour,

càd?

edit: donc il faudrait le log (collé dans un Texte préformaté, bouton</>, pas de fichier)

Bonjour
La page santé serait aussi nécessaire pour savoir la version de l os que vous avez

2 « J'aime »

Bonsoir,

Merci de votre réponse a désolé pour mon temps de réponse, j’imaginais être notifié par mail en cas de réponse a mon poste.

Voici un extrait « Log du plugin rfxcomd » :

*File "/var/www/html/plugins/rfxcom/resources/rfxcomd/rfxcomd.py", line 23, in <module>
from jeedomdaemon.base_config import BaseConfig
ModuleNotFoundError: No module named 'jeedomdaemon'*

cet extrait se répète un très grand nombre de fois.

et ici un extrait « Log du plugin rfxcom » :

*0992|[2024-10-02 20:30:06] ERROR  : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
0993|[2024-10-02 20:30:37] ERROR  : Impossible de lancer le démon RFXcom, vérifiez le log rfxcmd*
cet extrait se répète aussi un très grand nombre de fois.

Voici des screenshots de la page santé

Ici le log 'rfxcompackage

*000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_rfxcom
0003|+ echo 1
0004|+ echo 2
0005|+ sudo chmod +x /var/www/html/core/class/../../plugins/rfxcom/resources/pre-install.sh
0006|+ sudo /var/www/html/core/class/../../plugins/rfxcom/resources/pre-install.sh
0007|Launch pre-install of rfxcom dependancy
0008|WARNING: Ignoring invalid distribution -arl (/usr/local/lib/python3.7/dist-packages)
0009|WARNING: Skipping serial as it is not installed.
0010|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0011|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0012|Reading package lists...
0013|Building dependency tree...
0014|Reading state information...
0015|Package 'python3-serial' is not installed, so not removed
0016|0 upgraded, 0 newly installed, 0 to remove and 210 not upgraded.
0017|+ echo 3
0018|++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.7/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
0019|++ awk '$1 <= 4'
0020|++ cut -f 2-
0021|+ RESULTTODELETE=
0022|++ echo ''
0023|++ sed 's, ,\ ,g'
0024|+ RESULTTODELETE2=
0025|+ echo ''
0026|+ xargs rm -rf
0027|+ echo 4
0028|+ sudo pip3 cache purge
0029|Files removed: 128
0030|+ echo 5
0031|+ sudo pip3 install --upgrade pip
0032|WARNING: Ignoring invalid distribution -arl (/usr/local/lib/python3.7/dist-packages)
0033|Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (24.0)
0034|WARNING: Error parsing requirements for yarl: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/yarl-1.4.2.dist-info/METADATA'
0035|WARNING: Ignoring invalid distribution -arl (/usr/local/lib/python3.7/dist-packages)
0036|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0037|+ echo 6
0038|+ sudo python3 -m pip install --force-reinstall --upgrade six
0039|WARNING: Ignoring invalid distribution -arl (/usr/local/lib/python3.7/dist-packages)
0040|Collecting six
0041|Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
0042|Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
0043|WARNING: Error parsing requirements for yarl: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/yarl-1.4.2.dist-info/METADATA'
0044|WARNING: Ignoring invalid distribution -arl (/usr/local/lib/python3.7/dist-packages)
0045|Installing collected packages: six
0046|Attempting uninstall: six
0047|Found existing installation: six 1.16.0
0048|Uninstalling six-1.16.0:
0049|Successfully uninstalled six-1.16.0
0050|Successfully installed six-1.16.0
0051|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0052|+ echo 7
0053|+ sudo python3 -m pip install --force-reinstall --upgrade requests
0054|WARNING: Ignoring invalid distribution -arl (/usr/local/lib/python3.7/dist-packages)
0055|Collecting requests
0056|Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
0057|Collecting charset-normalizer<4,>=2 (from requests)
0058|Downloading charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (33 kB)
0059|Collecting idna<4,>=2.5 (from requests)
0060|Downloading idna-3.10-py3-none-any.whl.metadata (10 kB)
0061|Collecting urllib3<3,>=1.21.1 (from requests)
0062|Downloading urllib3-2.0.7-py3-none-any.whl.metadata (6.6 kB)
0063|Collecting certifi>=2017.4.17 (from requests)
0064|Downloading certifi-2024.8.30-py3-none-any.whl.metadata (2.2 kB)
0065|Downloading requests-2.31.0-py3-none-any.whl (62 kB)
0066|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 6.5 MB/s eta 0:00:00
0067|Downloading certifi-2024.8.30-py3-none-any.whl (167 kB)
0068|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.3/167.3 kB 7.2 MB/s eta 0:00:00
0069|Downloading charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (133 kB)
0070|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.7/133.7 kB 11.8 MB/s eta 0:00:00
0071|Downloading idna-3.10-py3-none-any.whl (70 kB)
0072|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 kB 7.1 MB/s eta 0:00:00
0073|Downloading urllib3-2.0.7-py3-none-any.whl (124 kB)
0074|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 kB 11.3 MB/s eta 0:00:00
0075|WARNING: Error parsing requirements for yarl: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/yarl-1.4.2.dist-info/METADATA'
0076|WARNING: Ignoring invalid distribution -arl (/usr/local/lib/python3.7/dist-packages)
0077|Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
0078|Attempting uninstall: urllib3
0079|Found existing installation: urllib3 2.0.7
0080|Uninstalling urllib3-2.0.7:
0081|Successfully uninstalled urllib3-2.0.7
0082|Attempting uninstall: idna
0083|Found existing installation: idna 3.10
0084|Uninstalling idna-3.10:
0085|Successfully uninstalled idna-3.10
0086|Attempting uninstall: charset-normalizer
0087|Found existing installation: charset-normalizer 3.3.2
0088|Uninstalling charset-normalizer-3.3.2:
0089|Successfully uninstalled charset-normalizer-3.3.2
0090|Attempting uninstall: certifi
0091|Found existing installation: certifi 2024.8.30
0092|Uninstalling certifi-2024.8.30:
0093|Successfully uninstalled certifi-2024.8.30
0094|Attempting uninstall: requests
0095|Found existing installation: requests 2.31.0
0096|Uninstalling requests-2.31.0:
0097|Successfully uninstalled requests-2.31.0
0098|Successfully installed certifi-2024.8.30 charset-normalizer-3.3.2 idna-3.10 requests-2.31.0 urllib3-2.0.7
0099|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0100|+ echo 8
0101|+ sudo python3 -m pip install --force-reinstall --upgrade setuptools
0102|WARNING: Ignoring invalid distribution -arl (/usr/local/lib/python3.7/dist-packages)
0103|Collecting setuptools
0104|Downloading setuptools-68.0.0-py3-none-any.whl.metadata (6.4 kB)
0105|Downloading setuptools-68.0.0-py3-none-any.whl (804 kB)
0106|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 804.0/804.0 kB 8.0 MB/s eta 0:00:00
0107|WARNING: Error parsing requirements for yarl: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/yarl-1.4.2.dist-info/METADATA'
0108|WARNING: Ignoring invalid distribution -arl (/usr/local/lib/python3.7/dist-packages)
0109|Installing collected packages: setuptools
0110|Attempting uninstall: setuptools
0111|Found existing installation: setuptools 68.0.0
0112|Uninstalling setuptools-68.0.0:
0113|Successfully uninstalled setuptools-68.0.0
0114|Successfully installed setuptools-68.0.0
0115|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0116|+ echo 9
0117|+ sudo python3 -m pip install --force-reinstall --upgrade pyudev
0118|WARNING: Ignoring invalid distribution -arl (/usr/local/lib/python3.7/dist-packages)
0119|Collecting pyudev
0120|Downloading pyudev-0.24.3-py3-none-any.whl.metadata (4.6 kB)
0121|Downloading pyudev-0.24.3-py3-none-any.whl (62 kB)
0122|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 kB 2.0 MB/s eta 0:00:00
0123|WARNING: Error parsing requirements for yarl: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/yarl-1.4.2.dist-info/METADATA'
0124|WARNING: Ignoring invalid distribution -arl (/usr/local/lib/python3.7/dist-packages)
0125|Installing collected packages: pyudev
0126|Attempting uninstall: pyudev
0127|Found existing installation: pyudev 0.24.3
0128|Uninstalling pyudev-0.24.3:
0129|Successfully uninstalled pyudev-0.24.3
0130|Successfully installed pyudev-0.24.3
0131|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0132|+ echo 10
0133|+ sudo python3 -m pip install --force-reinstall --upgrade pyserial
0134|WARNING: Ignoring invalid distribution -arl (/usr/local/lib/python3.7/dist-packages)
0135|Collecting pyserial
0136|Downloading pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB)
0137|Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
0138|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 2.5 MB/s eta 0:00:00
0139|WARNING: Error parsing requirements for yarl: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/yarl-1.4.2.dist-info/METADATA'
0140|WARNING: Ignoring invalid distribution -arl (/usr/local/lib/python3.7/dist-packages)
0141|Installing collected packages: pyserial
0142|Attempting uninstall: pyserial
0143|Found existing installation: pyserial 3.5
0144|Uninstalling pyserial-3.5:
0145|Successfully uninstalled pyserial-3.5
0146|Successfully installed pyserial-3.5
0147|WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
0148|+ echo 11
0149|+ sudo python3 -m pip install --force-reinstall --upgrade jeedomdaemon
0150|WARNING: Ignoring invalid distribution -arl (/usr/local/lib/python3.7/dist-packages)
0151|Collecting jeedomdaemon
0152|Downloading jeedomdaemon-1.0.0-py3-none-any.whl.metadata (5.0 kB)
0153|Collecting aiohttp (from jeedomdaemon)
0154|Downloading aiohttp-3.8.6-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (7.7 kB)
0155|Collecting attrs>=17.3.0 (from aiohttp->jeedomdaemon)
0156|Downloading attrs-24.2.0-py3-none-any.whl.metadata (11 kB)
0157|Collecting charset-normalizer<4.0,>=2.0 (from aiohttp->jeedomdaemon)
0158|Using cached charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (33 kB)
0159|Collecting multidict<7.0,>=4.5 (from aiohttp->jeedomdaemon)
0160|Downloading multidict-6.0.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (4.2 kB)
0161|Collecting async-timeout<5.0,>=4.0.0a3 (from aiohttp->jeedomdaemon)
0162|Downloading async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
0163|Collecting yarl<2.0,>=1.0 (from aiohttp->jeedomdaemon)
0164|Downloading yarl-1.9.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (31 kB)
0165|Collecting frozenlist>=1.1.1 (from aiohttp->jeedomdaemon)
0166|Downloading frozenlist-1.3.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (4.7 kB)
0167|Collecting aiosignal>=1.1.2 (from aiohttp->jeedomdaemon)
0168|Downloading aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
0169|Collecting asynctest==0.13.0 (from aiohttp->jeedomdaemon)
0170|Downloading asynctest-0.13.0-py3-none-any.whl.metadata (5.4 kB)
0171|Collecting typing-extensions>=3.7.4 (from aiohttp->jeedomdaemon)
0172|Downloading typing_extensions-4.7.1-py3-none-any.whl.metadata (3.1 kB)
0173|Collecting importlib-metadata (from attrs>=17.3.0->aiohttp->jeedomdaemon)
0174|Downloading importlib_metadata-6.7.0-py3-none-any.whl.metadata (4.9 kB)
0175|Collecting idna>=2.0 (from yarl<2.0,>=1.0->aiohttp->jeedomdaemon)
0176|Using cached idna-3.10-py3-none-any.whl.metadata (10 kB)
0177|Collecting zipp>=0.5 (from importlib-metadata->attrs>=17.3.0->aiohttp->jeedomdaemon)
0178|Downloading zipp-3.15.0-py3-none-any.whl.metadata (3.7 kB)
0179|Downloading jeedomdaemon-1.0.0-py3-none-any.whl (12 kB)
0180|Downloading aiohttp-3.8.6-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (990 kB)
0181|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 990.7/990.7 kB 13.2 MB/s eta 0:00:00
0182|Downloading asynctest-0.13.0-py3-none-any.whl (26 kB)
0183|Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
0184|Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
0185|Downloading attrs-24.2.0-py3-none-any.whl (63 kB)
0186|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.0/63.0 kB 6.5 MB/s eta 0:00:00
0187|Using cached charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (133 kB)
0188|Downloading frozenlist-1.3.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (147 kB)
0189|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.3/147.3 kB 13.7 MB/s eta 0:00:00
0190|Downloading multidict-6.0.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (101 kB)
0191|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.2/101.2 kB 9.2 MB/s eta 0:00:00
0192|Downloading typing_extensions-4.7.1-py3-none-any.whl (33 kB)
0193|Downloading yarl-1.9.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (286 kB)
0194|━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 286.1/286.1 kB 17.5 MB/s eta 0:00:00
0195|Using cached idna-3.10-py3-none-any.whl (70 kB)
0196|Downloading importlib_metadata-6.7.0-py3-none-any.whl (22 kB)
0197|Downloading zipp-3.15.0-py3-none-any.whl (6.8 kB)
0198|WARNING: Error parsing requirements for yarl: [Errno 2] No such file or directory: '/usr/local/lib/python3.7/dist-packages/yarl-1.4.2.dist-info/METADATA'
0199|WARNING: Ignoring invalid distribution -arl (/usr/local/lib/python3.7/dist-packages)
0200|Installing collected packages: zipp, typing-extensions, multidict, idna, frozenlist, charset-normalizer, asynctest, yarl, importlib-metadata, async-timeout, aiosignal, attrs, aiohttp, jeedomdaemon
0201|Attempting uninstall: zipp
0202|Found existing installation: zipp 3.15.0
0203|Uninstalling zipp-3.15.0:
0204|Successfully uninstalled zipp-3.15.0
0205|Attempting uninstall: typing-extensions
0206|Found existing installation: typing_extensions 4.7.1
0207|Uninstalling typing_extensions-4.7.1:
0208|Successfully uninstalled typing_extensions-4.7.1
0209|Attempting uninstall: multidict
0210|Found existing installation: multidict 6.0.5
0211|Uninstalling multidict-6.0.5:
0212|Successfully uninstalled multidict-6.0.5
0213|Attempting uninstall: idna
0214|Found existing installation: idna 3.10
0215|Uninstalling idna-3.10:
0216|Successfully uninstalled idna-3.10
0217|Attempting uninstall: frozenlist
0218|Found existing installation: frozenlist 1.3.3
0219|Uninstalling frozenlist-1.3.3:
0220|Successfully uninstalled frozenlist-1.3.3
0221|Attempting uninstall: charset-normalizer
0222|Found existing installation: charset-normalizer 3.3.2
0223|Uninstalling charset-normalizer-3.3.2:
0224|Successfully uninstalled charset-normalizer-3.3.2
0225|Attempting uninstall: asynctest
0226|Found existing installation: asynctest 0.13.0
0227|Uninstalling asynctest-0.13.0:
0228|Successfully uninstalled asynctest-0.13.0
0229|Attempting uninstall: yarl
0230|WARNING: No metadata found in /usr/local/lib/python3.7/dist-packages
0231|Found existing installation: yarl 1.4.2
0232|ERROR: Cannot uninstall yarl 1.4.2, RECORD file not found. You might be able to recover from this via: 'pip install --force-reinstall --no-deps yarl==1.4.2'.
0233|+ echo 12
0234|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end rfxcom
0235|+ echo 13
0236|+ rm /tmp/jeedom_install_in_progress_rfxcom
0237|+ echo '*******************End of package installation******************'
0238|*******************End of package installation*******************

Je ne sais pas si ca peut etre utile

Merci

Vous avez un problème avec une lib (yarl).
Étant donné que vous êtes sous debian 10 qui n’est plus supporté depuis 3 mois, le mieux est d’installer debian 11.
Si vous avez bien une atlas alors cela se fait via la méthode de recovery et ensuite restauration d’un backup.

Il y a un tuto sur community qui explique en détail

Ok, j’essaierai ca.
Et je femerai le sujet si c’est bon.
Merci de votre aide.

Bonjour,

J’ai pris le temps aujourd’hui, de faire le recovery et la restauration du backup (j’ai bien crue que j’avais planté ma box, mais ça a fini par revenir). Mais ça ne corrige pas le problème et je suis toujours sous Debian 10.
Il y a un autre moyen de forcer la maj vers Debian 11 ?

Merci

c’est que vous n’avez pas bien suivi la procédure :wink:
apparemment c’est tricky, il faut bien faire attention à chaque étape

Bonjour,

Je ne sais pas ce que j’ai fait de mal… mais j’ai recommencé, et maintenant j’ai tout planté.
J’ai créer la clef usb avec balena etcher comme décrit dans la doc, puis j’ai éteint la boc atlas, branché la clef rebranché la box, attendu 10 min, puis 15 puis 2h et maintenant j’ai ca…

J’ai verifié le câble réseau mais c’est pas lui
Il y a un moyen de « ravoir » ma box ou elle est morte ?

Merci :crossed_fingers:

Sur votre box internet vs ne la voyez pas ? Tentez par adresse ip de la joindre

Il faut ouvrir un post dédié avec les infos dans La Box JEEDOM ATLAS
Vous aurez plus de chance que des personnes compétentes sur le sujet puissent vous aider car ici le sujet concernait plugin-rfxcom

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