Bonjour,
Suite aux problèmes rencontrés dans ce post https://community.jeedom.com/t/rfxcom-dependances-ne-sinstallent-plus-changement-de-box/63842, j’ai finalement du changer ma carte eMMC.
J’ai maintenant la config suivante :
- jeedom smart avec eMMC neuve
- V4 installée
- ma config restaurée
Pour autant le démon du plugin RFXcom ne démarre toujours pas. J’ai aussi mis à jour le module RFXcom.
Ci après copie de la page santé :
Ci après copie du log RFXcom.update
********************************************************
* Installation des dépendances *
********************************************************
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 http://www.deb-multimedia.org buster InRelease
Hit:4 http://ftp.uk.debian.org/debian buster InRelease
Hit:5 http://ftp.uk.debian.org/debian buster-updates InRelease
Hit:6 https://oph.mdrjr.net/meveric all InRelease
Hit:7 https://oph.mdrjr.net/meveric buster InRelease
Err:2 https://repo.jeedom.com/odroid stable InRelease
502 Bad Gateway [IP: 51.178.69.128 443]
Reading package lists...
W: Failed to fetch http://repo.jeedom.com/odroid/dists/stable/InRelease 502 Bad Gateway [IP: 51.178.69.128 443]
W: Some index files failed to download. They have been ignored, or old ones used instead.
Traceback (most recent call last):
File "/usr/bin/pip3", line 9, in <module>
from pip._internal import main
File "/usr/lib/python3/dist-packages/pip/_internal/__init__.py", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/usr/lib/python3/dist-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/usr/lib/python3/dist-packages/pip/_internal/cli/main_parser.py", line 12, in <module>
from pip._internal.commands import (
File "/usr/lib/python3/dist-packages/pip/_internal/commands/__init__.py", line 6, in <module>
from pip._internal.commands.completion import CompletionCommand
File "/usr/lib/python3/dist-packages/pip/_internal/commands/completion.py", line 6, in <module>
from pip._internal.cli.base_command import Command
File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 23, in <module>
from pip._internal.index import PackageFinder
File "/usr/lib/python3/dist-packages/pip/_internal/index.py", line 31, in <module>
from pip._internal.models.link import Link
File "/usr/lib/python3/dist-packages/pip/_internal/models/link.py", line 9, in <module>
from pip._internal.wheel import wheel_ext
File "/usr/lib/python3/dist-packages/pip/_internal/wheel.py", line 7, in <module>
import compileall
File "/usr/lib/python3.7/compileall.py", line 16, in <module>
import py_compile
ModuleNotFoundError: No module named 'py_compile'
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'python3-serial' is not installed, so not removed
The following packages were automatically installed and are no longer required:
libgd3 php7.3-gd
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 149 not upgraded.
8 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python3-pkg-resources (40.8.0-1) ...
/usr/bin/python3.7: No module named py_compile
dpkg: error processing package python3-pkg-resources (--configure):
installed python3-pkg-resources package post-installation script subprocess returned error exit status 1
Setting up python3-six (1.12.0-1) ...
/usr/bin/python3.7: No module named py_compile
dpkg: error processing package python3-six (--configure):
installed python3-six package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of python3-chardet:
python3-chardet depends on python3-pkg-resources; however:
Package python3-pkg-resources is not configured yet.
dpkg: error processing package python3-chardet (--configure):
dependency problems - leaving unconfigured
Setting up python3-certifi (2018.8.24-1) ...
/usr/bin/python3.7: No module named py_compile
dpkg: error processing package python3-certifi (--configure):
installed python3-certifi package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of python3-requests:
python3-requests depends on python3-certifi; however:
Package python3-certifi is not configured yet.
python3-requests depends on python3-chardet (<< 3.1.0); however:
Package python3-chardet is not configured yet.
python3-requests depends on python3-chardet (>= 3.0.2); however:
Package python3-chardet is not configured yet.
dpkg: error processing package python3-requests (--configure):
dependency problems - leaving unconfigured
Setting up python3-idna (2.6-1) ...
/usr/bin/python3.7: No module named py_compile
dpkg: error processing package python3-idna (--configure):
installed python3-idna package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of python3-urllib3:
python3-urllib3 depends on python3-six; however:
Package python3-six is not configured yet.
dpkg: error processing package python3-urllib3 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-pyudev:
python3-pyudev depends on python3-six; however:
Package python3-six is not configured yet.
dpkg: error processing package python3-pyudev (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python3-pkg-resources
python3-six
python3-chardet
python3-certifi
python3-requests
python3-idna
python3-urllib3
python3-pyudev
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (18.1-5).
python3 is already the newest version (3.7.3-1).
python3-pyudev is already the newest version (0.21.0-1).
python3-requests is already the newest version (2.21.0-1).
The following packages were automatically installed and are no longer required:
libgd3 php7.3-gd
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 149 not upgraded.
8 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python3-pkg-resources (40.8.0-1) ...
/usr/bin/python3.7: No module named py_compile
dpkg: error processing package python3-pkg-resources (--configure):
installed python3-pkg-resources package post-installation script subprocess returned error exit status 1
Setting up python3-six (1.12.0-1) ...
/usr/bin/python3.7: No module named py_compile
dpkg: error processing package python3-six (--configure):
installed python3-six package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of python3-chardet:
python3-chardet depends on python3-pkg-resources; however:
Package python3-pkg-resources is not configured yet.
dpkg: error processing package python3-chardet (--configure):
dependency problems - leaving unconfigured
Setting up python3-certifi (2018.8.24-1) ...
/usr/bin/python3.7: No module named py_compile
dpkg: error processing package python3-certifi (--configure):
installed python3-certifi package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of python3-requests:
python3-requests depends on python3-certifi; however:
Package python3-certifi is not configured yet.
python3-requests depends on python3-chardet (<< 3.1.0); however:
Package python3-chardet is not configured yet.
python3-requests depends on python3-chardet (>= 3.0.2); however:
Package python3-chardet is not configured yet.
dpkg: error processing package python3-requests (--configure):
dependency problems - leaving unconfigured
Setting up python3-idna (2.6-1) ...
/usr/bin/python3.7: No module named py_compile
dpkg: error processing package python3-idna (--configure):
installed python3-idna package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of python3-urllib3:
python3-urllib3 depends on python3-six; however:
Package python3-six is not configured yet.
dpkg: error processing package python3-urllib3 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-pyudev:
python3-pyudev depends on python3-six; however:
Package python3-six is not configured yet.
dpkg: error processing package python3-pyudev (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python3-pkg-resources
python3-six
python3-chardet
python3-certifi
python3-requests
python3-idna
python3-urllib3
python3-pyudev
E: Sub-process /usr/bin/dpkg returned an error code (1)
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/lib/python3/dist-packages/pip/__main__.py", line 16, in <module>
from pip._internal import main as _main # isort:skip # noqa
File "/usr/lib/python3/dist-packages/pip/_internal/__init__.py", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/usr/lib/python3/dist-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/usr/lib/python3/dist-packages/pip/_internal/cli/main_parser.py", line 12, in <module>
from pip._internal.commands import (
File "/usr/lib/python3/dist-packages/pip/_internal/commands/__init__.py", line 6, in <module>
from pip._internal.commands.completion import CompletionCommand
File "/usr/lib/python3/dist-packages/pip/_internal/commands/completion.py", line 6, in <module>
from pip._internal.cli.base_command import Command
File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 23, in <module>
from pip._internal.index import PackageFinder
File "/usr/lib/python3/dist-packages/pip/_internal/index.py", line 31, in <module>
from pip._internal.models.link import Link
File "/usr/lib/python3/dist-packages/pip/_internal/models/link.py", line 9, in <module>
from pip._internal.wheel import wheel_ext
File "/usr/lib/python3/dist-packages/pip/_internal/wheel.py", line 7, in <module>
import compileall
File "/usr/lib/python3.7/compileall.py", line 16, in <module>
import py_compile
ModuleNotFoundError: No module named 'py_compile'
********************************************************
* Installation terminée *
********************************************************
Je vois bien des choses qui paraissent pas bonnes mais je ne comprends rien.
Voici aussi le log RFXcom :
[2021-07-08 16:30:03][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2021-07-08 16:30:05][INFO] : Lancement démon rfxcomd : /usr/bin/python3 /var/www/html/plugins/rfxcom/resources/rfxcomd/rfxcomd.py --device /dev/ttyUSB0 --loglevel debug --socketport 55000 --serialrate 38400 --protocol 12,13,18,20,21,22,23 --callback http://127.0.0.1:80/plugins/rfxcom/core/php/jeeRfxcom.php --apikey mnxbFpApjvGHeUAQfEJxLb8EbmTWQM5e --cycle 0.3 --pid /tmp/jeedom/rfxcom/deamon.pid
Error: importing module jeedom.jeedom
[2021-07-08 16:30:36][ERROR] : Impossible de lancer le démon RFXcom, vérifiez le log rfxcmd
avec « Error: importing module jeedom.jeedom » que j’ai trouvé dans plein de sujets, mais qui ne m’ont pas permis de trouver la solution.
Le log rfxcmd n’est pas dans la liste des logs.
A votre disposition pour donner d’autres renseignements qui vous permettraient de m’aider.
Merci d’avance
Osdur