Installation des dépendances Nok après 40%

Bonjour,

Je tente l’installation du plugin WEB OS TV pour une smart TV LG 55E9OLED sur une Box Jeedom Atlas zigbee.

Après que la barre de progression ait atteint 40% le statut des dépendances indique NOK.

Les logs debug me disent pourtant :

********************************************************
*             Installation des dépendances             *
********************************************************
10
***** Commande: sudo apt-get update **********
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://deb.debian.org/debian buster InRelease
Hit:4 http://deb.debian.org/debian buster-updates InRelease
Hit:5 https://deb.nodesource.com/node_14.x buster InRelease
Hit:6 http://deb.debian.org/debian buster-backports InRelease
Hit:1 https://armbian.site-meganet.com/apt buster InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
net-tools is already the newest version (1.60+git20180626.aebd88e-1).
0 upgraded, 0 newly installed, 0 to remove and 114 not upgraded.
/var/www/html/plugins/webosTv/3rdparty/LGWebOSRemote/setup.py found.
running install
running bdist_egg
running egg_info
writing requirements to LGTV.egg-info/requires.txt
writing LGTV.egg-info/PKG-INFO
writing top-level names to LGTV.egg-info/top_level.txt
writing dependency_links to LGTV.egg-info/dependency_links.txt
reading manifest file 'LGTV.egg-info/SOURCES.txt'
writing manifest file 'LGTV.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-aarch64/egg
running install_lib
running build_py
creating build/bdist.linux-aarch64/egg
creating build/bdist.linux-aarch64/egg/LGTV
copying build/lib.linux-aarch64-2.7/LGTV/__init__.py -> build/bdist.linux-aarch64/egg/LGTV
byte-compiling build/bdist.linux-aarch64/egg/LGTV/__init__.py to __init__.pyc
creating build/bdist.linux-aarch64/egg/EGG-INFO
copying LGTV.egg-info/PKG-INFO -> build/bdist.linux-aarch64/egg/EGG-INFO
copying LGTV.egg-info/SOURCES.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying LGTV.egg-info/dependency_links.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying LGTV.egg-info/requires.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying LGTV.egg-info/top_level.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
LGTV.__init__: module references __file__
creating 'dist/LGTV-0.1.2-py2.7.egg' and adding 'build/bdist.linux-aarch64/egg' to it
removing 'build/bdist.linux-aarch64/egg' (and everything under it)
Processing LGTV-0.1.2-py2.7.egg
removing '/usr/local/lib/python2.7/dist-packages/LGTV-0.1.2-py2.7.egg' (and everything under it)
creating /usr/local/lib/python2.7/dist-packages/LGTV-0.1.2-py2.7.egg
Extracting LGTV-0.1.2-py2.7.egg to /usr/local/lib/python2.7/dist-packages
LGTV 0.1.2 is already the active version in easy-install.pth
Installed /usr/local/lib/python2.7/dist-packages/LGTV-0.1.2-py2.7.egg
Processing dependencies for LGTV==0.1.2
Searching for wakeonlan==0.2.2
Best match: wakeonlan 0.2.2
Processing wakeonlan-0.2.2-py2.7.egg
wakeonlan 0.2.2 is already the active version in easy-install.pth
Installing wol script to /usr/local/bin
Using /usr/local/lib/python2.7/dist-packages/wakeonlan-0.2.2-py2.7.egg
Searching for ws4py==0.5.1
Best match: ws4py 0.5.1
Processing ws4py-0.5.1-py2.7.egg
ws4py 0.5.1 is already the active version in easy-install.pth
Using /usr/local/lib/python2.7/dist-packages/ws4py-0.5.1-py2.7.egg
Finished processing dependencies for LGTV==0.1.2
Collecting wakeonlan==0.2.2
Using cached wakeonlan-0.2.2-py3-none-any.whl
Installing collected packages: wakeonlan
Attempting uninstall: wakeonlan
Found existing installation: wakeonlan 0.2.2
Uninstalling wakeonlan-0.2.2:
Successfully uninstalled wakeonlan-0.2.2
Successfully installed wakeonlan-0.2.2
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
********************************************************
*                 Installation terminée                *
********************************************************

Le deamon reste déspérément NOK.
Les dépendances de WEBOS TV tentent régulièrement de s’installer.
Le centre de message dit en boucle : webosTv Attention : installation des dépendances lancée

Au final, ça ne s’installe pas.

Selon vous cela peut venir d’où ?

Hello
Cela ne vas pas t’aider, mais à priori, même problème chez moi

Merci,

J’avais vu que tu avais le même problème. Ceci dit le plugin semble fonctionner quand même.
Mais il inonde de messages d’erreur, mes logs :roll_eyes:

Chez moi, il ne fonctionne pas :slightly_frowning_face:

Si @ZygOm4t1k passe par là :blush:

Bonjour @ je me suis retapé une DIY juste-pour-voir :slight_smile:
Voici la solution que je recommande :

1/ Je lance l’installation du plugin

Tout se passe bien du point de vue de l’installation … et pourtant je suis interpellé.
:grin:

Vue que vous êtes tous entrain de râler et de bramer je regarde dans les logs du plugins qui me montrent ça:

Et là, je réalise deux trucs … le premier c’est de régler le problème du pip en root … et le deuxième c’est le packet « ws4py » qui dérape:

2/ J’ouvre une session en SSH sur la bête et je vérifie mes versions de python parce que j’ai vue plein de gens intelligents faire ça!

Dans ma fenêtre SSH:

python --version

et je reçois
Python 2.7.16

ensuite
python3 --version

et je reçois
Python 3.7.3

Ce sont les bonnes versions qui sont installées … si vous n’avez pas ce résultat c’est plus compliqué et il vous faudra ouvrir un autre post pour que je vous règle ce problème là aussi :grin:

La suite : pris de frénésie je tape ça (vous c’est du copier collé)

sudo apt update
sudo apt install python-pip
sudo pip install --upgrade pip

puis
sudo apt update
sudo apt install python3-venv python3-pip
sudo -H pip3 install --upgrade pip

C’est pour blinder les deux versions de python installées et pour passer dans une version de python virtualisée … puis enchainer avec une installation de pip …

3/ Dans le monde du PIPo:

Et là, on ne vérifie pas la version de python mais bien de PIP:

pip3 --version

et je reçois
pip 22.1 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)

Ca commence à sentir plutôt bon … Je résume … on a créer un environnent de python virtuel dans lequel on a installé PIP. Et c’est DANS PIP que l’on va installer le dernire paquet manquant avec :

pip install ws4py

Une fois cette bonne action accomplie on relancer l’installation du plugin WebOS TV à partir du market, j’ai choisi la version beta … et …

Voilà … je n’accepte aucune autre forme de paiement que ma statue en bronze ou mon buste en taillé dans la masse d’un 304L.

Cordialement,

:wink:

2 « J'aime »

Double post:Installation des dépendances qui foirent - #15 par Pet1Cable