Le contexte est le suivant : on vient de remplacer mes compteurs traditionnels par des compteurs .
J’ai reconnecté mon module cartelectronic deux compteurs sur mes nouveaux compteurs linky.
Depuis je n’arrive plus à faire fonctionner le démon.
Ci joint les informations :
Log demon-conso :
uring handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/teleinfo/ressources/teleinfo_2_cpt.py", line 58, in <module>
import ftdi1 as ftdi
ModuleNotFoundError: No module named 'ftdi1'
Traceback (most recent call last):
File "/var/www/html/plugins/teleinfo/ressources/teleinfo_2_cpt.py", line 55, in <module>
import ftdi
ModuleNotFoundError: No module named 'ftdi'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/teleinfo/ressources/teleinfo_2_cpt.py", line 58, in <module>
import ftdi1 as ftdi
ModuleNotFoundError: No module named 'ftdi1'
Traceback (most recent call last):
File "/var/www/html/plugins/teleinfo/ressources/teleinfo_2_cpt.py", line 55, in <module>
import ftdi
ModuleNotFoundError: No module named 'ftdi'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/teleinfo/ressources/teleinfo_2_cpt.py", line 58, in <module>
import ftdi1 as ftdi
ModuleNotFoundError: No module named 'ftdi1'
Traceback (most recent call last):
File "/var/www/html/plugins/teleinfo/ressources/teleinfo_2_cpt.py", line 55, in <module>
import ftdi
ModuleNotFoundError: No module named 'ftdi'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/teleinfo/ressources/teleinfo_2_cpt.py", line 58, in <module>
import ftdi1 as ftdi
ModuleNotFoundError: No module named 'ftdi1'
log demon-prod :
[2024-08-23 15:32:51] INFO : MODEM------ Shutdown
[2024-08-23 15:32:51] INFO : Removing PID file /tmp/jeedom/teleinfo/teleinfo_prod.pid
[2024-08-23 15:32:51] DEBUG : Exit 0
[2024-08-23 15:32:51] INFO : MODEM------ Shutdown
[2024-08-23 15:32:51] INFO : Removing PID file /tmp/jeedom/teleinfo/teleinfo_prod.pid
[2024-08-23 15:32:51] DEBUG : Exit 0
[2024-08-23 15:32:51] INFO : MODEM------ Shutdown
[2024-08-23 15:32:51] INFO : Removing PID file /tmp/jeedom/teleinfo/teleinfo_prod.pid
[2024-08-23 15:32:51] DEBUG : Exit 0
log tleinfo-package :
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_teleinfo
+ echo 1
+ echo 2
+ sudo killall apt apt-get unattended-upgr
apt: no process found
apt-get: no process found
unattended-upgr: no process found
+ sudo rm /var/lib/apt/lists/lock
+ sudo rm /var/cache/apt/archives/lock
+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
+ sudo sudo dpkg --configure -a --force-confdef
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Fetched 44.1 kB in 0s (136 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
213 packages can be upgraded. Run 'apt list --upgradable' to see them.
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-ftdi1
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python3-ftdi1 is already the newest version (1.5-5+b1).
0 upgraded, 0 newly installed, 0 to remove and 213 not upgraded.
+ echo 4
+ sudo chmod +x /var/www/html/core/class/../../plugins/teleinfo/ressources/post-install.sh
+ sudo /var/www/html/core/class/../../plugins/teleinfo/ressources/post-install.sh
Wed Aug 21 21:51:36 CEST 2024
**********************************
* Installation des dépendances *
**********************************
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages were automatically installed and are no longer required:
libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
linux-image-amd64
The following packages will be upgraded:
apache2 apache2-bin apache2-data apache2-utils base-files bind9-dnsutils
bind9-host bind9-libs bluez bluez-obexd bsdextrautils bsdutils chromium
chromium-common chromium-sandbox curl distro-info-data dns-root-data eject
exim4-base exim4-config exim4-daemon-light fdisk ffmpeg firefox-esr
firefox-esr-l10n-fr fonts-opensymbol galera-4 ghostscript
gir1.2-gdkpixbuf-2.0 gir1.2-gst-plugins-bad-1.0 gir1.2-gst-plugins-base-1.0
gir1.2-javascriptcoregtk-4.0 gir1.2-lokdocview-0.1 gir1.2-webkit2-4.0
gnome-shell gnome-shell-common gnome-shell-extension-prefs gstreamer1.0-gl
gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-x
krb5-locales less libapache2-mod-php7.4 libavcodec58 libavdevice58
libavfilter7 libavformat58 libavresample4 libavutil56 libblkid1
libbluetooth3 libc-bin libc-dev-bin libc-devtools libc-l10n libc6 libc6-dev
libcurl3-gnutls libcurl4 libdav1d4 libde265-0 libfdisk1 libflatpak0
libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgit2-1.1
libglib2.0-0 libglib2.0-bin libglib2.0-data libgnutls-dane0 libgnutls30
libgs9 libgs9-common libgssapi-krb5-2 libgstreamer-gl1.0-0
libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0
libjavascriptcoregtk-4.0-18 libjuh-java libjurt-java libk5crypto3 libkrb5-3
libkrb5support0 liblibreoffice-java liblibreofficekitgtk libmariadb3
libminizip1 libmount1 libndp0 libnftables1 libnghttp2-14 libnss-myhostname
libnss-systemd libpam-systemd libperl5.32 libpostproc55 libqt5core5a
libqt5dbus5 libqt5gui5 libqt5network5 libqt5printsupport5 libqt5widgets5
libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core
libreoffice-draw libreoffice-gnome libreoffice-gtk3 libreoffice-help-common
libreoffice-help-en-us libreoffice-help-fr libreoffice-impress
libreoffice-l10n-fr libreoffice-math libreoffice-style-colibre
libreoffice-style-elementary libreoffice-writer libreofficekit-data
libridl-java libsmartcols1 libsmbclient libssh-gcrypt-4 libssh2-1
libswresample3 libswscale5 libsystemd0 libudev1 libunbound8 libuno-cppu3
libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3
libuno-salhelpergcc3-3 libunoloader-java libuuid1 libuv1 libvpx6
libwbclient0 libwebkit2gtk-4.0-37 libxnvctrl0 libzbar0 libzmq5
linux-libc-dev locales mariadb-client mariadb-client-10.5
mariadb-client-core-10.5 mariadb-common mariadb-server mariadb-server-10.5
mariadb-server-core-10.5 mount nano nftables nodejs openssh-client
openssh-server openssh-sftp-server perl perl-base perl-modules-5.32 php7.4
php7.4-cli php7.4-common php7.4-curl php7.4-dev php7.4-gd php7.4-imap
php7.4-json php7.4-ldap php7.4-mbstring php7.4-mysql php7.4-opcache
php7.4-readline php7.4-snmp php7.4-soap php7.4-xml php7.4-xmlrpc php7.4-zip
python3-distro-info python3-idna python3-reportbug python3-samba python3-uno
qt5-gtk-platformtheme reportbug samba-common samba-common-bin
samba-dsdb-modules samba-libs smbclient systemd systemd-sysv tar tzdata udev
uno-libs-private ure usb.ids util-linux util-linux-locales wpasupplicant
xserver-common xserver-xephyr xserver-xorg-core xserver-xorg-legacy xvfb
xwayland
212 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 446 MB of archives.
After this operation, 4321 kB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
Wed Aug 21 21:51:38 CEST 2024
Reading package lists...
Building dependency tree...
Reading state information...
libxml2-dev is already the newest version (2.9.10+dfsg-6.7+deb11u4).
libxslt1-dev is already the newest version (1.1.34-4+deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 213 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.9.2-3).
0 upgraded, 0 newly installed, 0 to remove and 213 not upgraded.
Wed Aug 21 21:51:38 CEST 2024
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (20.3.4-4+deb11u1).
python3-dev is already the newest version (3.9.2-3).
python3-venv is already the newest version (3.9.2-3).
0 upgraded, 0 newly installed, 0 to remove and 213 not upgraded.
Wed Aug 21 21:51:39 CEST 2024
Wed Aug 21 21:51:40 CEST 2024
WARNING: The directory '/var/www/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Requirement already satisfied: pip in /var/www/html/plugins/teleinfo/ressources/venv/lib/python3.9/site-packages (24.2)
Requirement already satisfied: wheel in /var/www/html/plugins/teleinfo/ressources/venv/lib/python3.9/site-packages (0.44.0)
Requirement already satisfied: pylibftdi in /var/www/html/plugins/teleinfo/ressources/venv/lib/python3.9/site-packages (0.22.0)
Requirement already satisfied: six in /var/www/html/plugins/teleinfo/ressources/venv/lib/python3.9/site-packages (1.16.0)
Requirement already satisfied: pyserial in /var/www/html/plugins/teleinfo/ressources/venv/lib/python3.9/site-packages (3.5)
Requirement already satisfied: setuptools in /var/www/html/plugins/teleinfo/ressources/venv/lib/python3.9/site-packages (44.1.1)
Requirement already satisfied: requests in /var/www/html/plugins/teleinfo/ressources/venv/lib/python3.9/site-packages (2.32.3)
Requirement already satisfied: charset-normalizer<4,>=2 in /var/www/html/plugins/teleinfo/ressources/venv/lib/python3.9/site-packages (from requests) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /var/www/html/plugins/teleinfo/ressources/venv/lib/python3.9/site-packages (from requests) (3.7)
Requirement already satisfied: urllib3<3,>=1.21.1 in /var/www/html/plugins/teleinfo/ressources/venv/lib/python3.9/site-packages (from requests) (2.2.2)
Requirement already satisfied: certifi>=2017.4.17 in /var/www/html/plugins/teleinfo/ressources/venv/lib/python3.9/site-packages (from requests) (2024.7.4)
Requirement already satisfied: pyudev in /var/www/html/plugins/teleinfo/ressources/venv/lib/python3.9/site-packages (0.24.3)
Requirement already satisfied: paho-mqtt==1.6.1 in /var/www/html/plugins/teleinfo/ressources/venv/lib/python3.9/site-packages (1.6.1)
Wed Aug 21 21:51:43 CEST 2024
*************************************
* Installation des dépendancesOK *
*************************************
+ echo 5
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end teleinfo
+ echo 6
+ rm /tmp/jeedom_install_in_progress_teleinfo
+ echo '*******************End of package installation******************'
*******************End of package installation******************
Merci de m’aider à resoudre ce problème
Cordialement
PS : la transmission des infos tic fonctionne, elles sont vues par mon ecocompteur legrand.
Informations Jeedom
Core : 4.4.13 (master)
DNS Jeedom : oui
Plugin : Téléinfo
Version : 2024-05-04 09:06:47 (beta)
Statut Démon : Stoppé - (2024-08-23 07:05:01)
Informations complémentaires
Compteur #1 - Mode : Consommateur - HPHC? : pas de HPHC ancienne formule - Nouveaux index? : pas de new index
Compteur #2 - Mode : Consommateur - HPHC? : pas de HPHC ancienne formule - Nouveaux index? : pas de new index
OS: debian 11 on diy ; PHP: 7.4.33 ; Python: 3.9.2
teleinfo: version 4.8.6a ; cmds: 129