Page 27 sur 28

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 26 juin 2019, 08:46
par dough29
Parfait 8-)

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 08 sept. 2019, 23:32
par furious
Bonjour,

Je sollicite votre aide car je ne comprend pas mon BUG, j'ai un Jeedom DIY j'ai installé le plugin il y as 4 mois et tout fonctionné parfaitement.

J'ai refait mon jeedom aujourd'hui et en réinjectant ma sauvegarde le plug-in ne fonctionne plus. Je l'installe bien mais les dépendances de s'installe pas ni le DEMON.

Merci de vos réponses.

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 09 sept. 2019, 09:58
par cadavor
Merci de poster les logs si vous souhaitez recevoir de l'aide...
Jusqu'à preuve du contraire, nous ne sommes pas devin.

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 09 sept. 2019, 17:47
par furious
Je me doute que vous êtes pas devin mais un possible
MAJ pourrait causer ce problème sans avoir à poser des logs.

Je les posterai ce soir.

Merci

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 10 sept. 2019, 16:15
par cadavor
furious a écrit :
09 sept. 2019, 17:47
Je me doute que vous êtes pas devin mais un possible
MAJ pourrait causer ce problème sans avoir à poser des logs.

Je les posterai ce soir.

Merci
En plus des logs il faudrait fournir les détails du hardware (raspberry?, version?) et de l'OS (version?)

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 10 sept. 2019, 18:04
par furious
Début de l'installation
--2019-09-10 18:00:01-- https://raw.githubusercontent.com/lunar ... /nodejs.sh
Résolution de raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.120.133
Connexion à raw.githubusercontent.com (raw.githubusercontent.com)|151.101.120.133|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 1491 (1,5K) [text/plain]
Sauvegarde en : « dependencies.sh »
0K . 100% 54,2M=0s
2019-09-10 18:00:02 (54,2 MB/s) — « dependencies.sh » sauvegardé [1491/1491]
dependencies.sh: 3: [: onkyo: unexpected operator
Version actuelle : 4
Ign:1 http://deb.debian.org/debian strech InRelease
Atteint:2 http://security.debian.org/debian-security stretch/updates InRelease
Ign:3 http://deb.debian.org/debian strech Release
Ign:4 http://deb.debian.org/debian strech/main amd64 Packages
Ign:5 http://deb.debian.org/debian strech/main all Packages
Ign:6 http://deb.debian.org/debian strech/main Translation-en
Ign:7 http://deb.debian.org/debian strech/main Translation-fr_FR
Ign:8 http://deb.debian.org/debian strech/main Translation-fr
Ign:4 http://deb.debian.org/debian strech/main amd64 Packages
Ign:5 http://deb.debian.org/debian strech/main all Packages
Ign:6 http://deb.debian.org/debian strech/main Translation-en
Ign:7 http://deb.debian.org/debian strech/main Translation-fr_FR
Ign:8 http://deb.debian.org/debian strech/main Translation-fr
Ign:4 http://deb.debian.org/debian strech/main amd64 Packages
Ign:5 http://deb.debian.org/debian strech/main all Packages
Ign:6 http://deb.debian.org/debian strech/main Translation-en
Ign:9 http://ftp.fr.debian.org/debian stretch InRelease
Atteint:10 http://ftp.fr.debian.org/debian stretch-updates InRelease
Atteint:11 http://ftp.fr.debian.org/debian stretch Release
Ign:7 http://deb.debian.org/debian strech/main Translation-fr_FR
Ign:8 http://deb.debian.org/debian strech/main Translation-fr
Ign:4 http://deb.debian.org/debian strech/main amd64 Packages
Ign:5 http://deb.debian.org/debian strech/main all Packages
Ign:6 http://deb.debian.org/debian strech/main Translation-en
Ign:7 http://deb.debian.org/debian strech/main Translation-fr_FR
Ign:8 http://deb.debian.org/debian strech/main Translation-fr
Ign:4 http://deb.debian.org/debian strech/main amd64 Packages
Ign:5 http://deb.debian.org/debian strech/main all Packages
Ign:6 http://deb.debian.org/debian strech/main Translation-en
Ign:7 http://deb.debian.org/debian strech/main Translation-fr_FR
Ign:8 http://deb.debian.org/debian strech/main Translation-fr
Err:4 http://deb.debian.org/debian strech/main amd64 Packages
404 Not Found [IP : 2a04:4e42:1d::204 80]
Ign:5 http://deb.debian.org/debian strech/main all Packages
Ign:6 http://deb.debian.org/debian strech/main Translation-en
Ign:7 http://deb.debian.org/debian strech/main Translation-fr_FR
Ign:8 http://deb.debian.org/debian strech/main Translation-fr
Lecture des listes de paquets…
W: The repository 'http://deb.debian.org/debian strech Release' does not have a Release file.
E: Impossible de récupérer http://deb.debian.org/debian/dists/stre ... 4/Packages 404 Not Found [IP : 2a04:4e42:1d::204 80]
E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
lsb-release is already the newest version (9.20161125).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
E: Impossible de trouver le paquet npm
dependencies.sh: 37: [: x86_64: unexpected operator
Utilisation du dépot officiel
## Installing the NodeSource Node.js 12.x repo...
## Populating apt-get cache...
+ apt-get update
Atteint:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://deb.debian.org/debian strech InRelease
Ign:3 http://deb.debian.org/debian strech Release
Ign:4 http://ftp.fr.debian.org/debian stretch InRelease
Ign:5 http://deb.debian.org/debian strech/main amd64 Packages
Atteint:6 http://ftp.fr.debian.org/debian stretch-updates InRelease
Ign:7 http://deb.debian.org/debian strech/main all Packages
Atteint:8 http://ftp.fr.debian.org/debian stretch Release
Ign:9 http://deb.debian.org/debian strech/main Translation-en
Ign:10 http://deb.debian.org/debian strech/main Translation-fr
Ign:12 http://deb.debian.org/debian strech/main Translation-fr_FR
Ign:5 http://deb.debian.org/debian strech/main amd64 Packages
Ign:7 http://deb.debian.org/debian strech/main all Packages
Ign:9 http://deb.debian.org/debian strech/main Translation-en
Ign:10 http://deb.debian.org/debian strech/main Translation-fr
Ign:12 http://deb.debian.org/debian strech/main Translation-fr_FR
Ign:5 http://deb.debian.org/debian strech/main amd64 Packages
Ign:7 http://deb.debian.org/debian strech/main all Packages
Ign:9 http://deb.debian.org/debian strech/main Translation-en
Ign:10 http://deb.debian.org/debian strech/main Translation-fr
Ign:12 http://deb.debian.org/debian strech/main Translation-fr_FR
Ign:5 http://deb.debian.org/debian strech/main amd64 Packages
Ign:7 http://deb.debian.org/debian strech/main all Packages
Ign:9 http://deb.debian.org/debian strech/main Translation-en
Ign:10 http://deb.debian.org/debian strech/main Translation-fr
Ign:12 http://deb.debian.org/debian strech/main Translation-fr_FR
Ign:5 http://deb.debian.org/debian strech/main amd64 Packages
Ign:7 http://deb.debian.org/debian strech/main all Packages
Ign:9 http://deb.debian.org/debian strech/main Translation-en
Ign:10 http://deb.debian.org/debian strech/main Translation-fr
Ign:12 http://deb.debian.org/debian strech/main Translation-fr_FR
Err:5 http://deb.debian.org/debian strech/main amd64 Packages
404 Not Found [IP : 2a04:4e42:1d::204 80]
Ign:7 http://deb.debian.org/debian strech/main all Packages
Ign:9 http://deb.debian.org/debian strech/main Translation-en
Ign:10 http://deb.debian.org/debian strech/main Translation-fr
Ign:12 http://deb.debian.org/debian strech/main Translation-fr_FR
Lecture des listes de paquets…
W: The repository 'http://deb.debian.org/debian strech Release' does not have a Release file.
E: Impossible de récupérer http://deb.debian.org/debian/dists/stre ... 4/Packages 404 Not Found [IP : 2a04:4e42:1d::204 80]
E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
Error executing command, exiting
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Lecture des informations d'état…
nodejs is already the newest version (4.8.2~dfsg-1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Version actuelle : v4.8.2
dependencies.sh: 59: dependencies.sh: npm: not found
chown: impossible d'accéder à 'node_modules': Aucun fichier ou dossier de ce type
Fin de l'installation


Ma conf: Jeedom en dernière version sur un serveur donc une image ESXI avec un xeon et 4 go de ram

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 11 sept. 2019, 10:45
par dough29
Il y a un problème dans tes fichiers "source" de APT : on lit "strech" au lieu de "stretch" 8-)

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 11 sept. 2019, 13:39
par furious
Merci pour votre aide, j'ai modifier le fichier "sources.list" et tout est rentre dans l'ordre.

Merci beaucoup pour votre participation,
cordialement

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 22 sept. 2019, 17:07
par Mika77
Bonsoir a tous, impossible d’utiliser le plugin, alors que sa fait plusieurs mois que je l’utilise sans probleme.
Je relance les dépendances et a chaque fois a la fin sa passe sur status nok.
Voici log.

Début de l'installation
converted 'https://raw.githubusercontent.com/lunar ... /nodejs.sh' (ANSI_X3.4-1968) -> 'https://raw.githubusercontent.com/lunar ... /nodejs.sh' (UTF-8)
--2019-09-22 15:00:55-- https://raw.githubusercontent.com/lunar ... /nodejs.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.120.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.120.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1491 (1.5K) [text/plain]
Saving to: 'dependencies.sh'
0K . 100% 12.7M=0s
2019-09-22 15:00:56 (12.7 MB/s) - 'dependencies.sh' saved [1491/1491]
dependencies.sh: 3: [: onkyo: unexpected operator
Nodejs non installé
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit https://deb.nodesource.com jessie InRelease
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit https://deb.nodesource.com jessie/main Sources
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit https://deb.nodesource.com jessie/main armhf Packages
Get:1 https://deb.nodesource.com jessie/main Translation-en [162 B]
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Get:2 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Get:3 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:4 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 210 not upgraded.
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
Package 'npm' is not installed, so not removed
Package 'nodejs' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 210 not upgraded.
dependencies.sh: 37: [: armv7l: unexpected operator
Utilisation du dépot officiel
## Installing the NodeSource Node.js 12.x repo...
## Populating apt-get cache...
+ apt-get update
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit https://deb.nodesource.com jessie InRelease
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit https://deb.nodesource.com jessie/main Sources
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit https://deb.nodesource.com jessie/main armhf Packages
Get:1 https://deb.nodesource.com jessie/main Translation-en [162 B]
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Get:2 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:3 https://deb.nodesource.com jessie/main Translation-en [162 B]
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Get:4 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists...
## You seem to be using Devuan version jessie.
## This maps to Debian "jessie"... Adjusting for you...
## Confirming "jessie" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/di ... ie/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK
## Creating apt sources list file for the NodeSource Node.js 12.x repo...
+ echo 'deb https://deb.nodesource.com/node_12.x jessie main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_12.x jessie main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit https://deb.nodesource.com jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit https://deb.nodesource.com jessie/main Sources
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit https://deb.nodesource.com jessie/main armhf Packages
Get:1 https://deb.nodesource.com jessie/main Translation-en [162 B]
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Get:2 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:3 https://deb.nodesource.com jessie/main Translation-en [162 B]
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Get:4 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists...
## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
## You may also need development tools to build native addons:
sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nodejs : Depends: libstdc++6 (>= 5.2) but 4.9.2-10 is to be installed
E: Unable to correct problems, you have held broken packages.
dependencies.sh: 1: dependencies.sh: nodejs: not found
Version actuelle :
dependencies.sh: 59: dependencies.sh: npm: not found
chown: cannot access 'node_modules': No such file or directory
Fin de l'installation

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 23 sept. 2019, 10:45
par cadavor
Mika77 a écrit :
22 sept. 2019, 17:07
Bonsoir a tous, impossible d’utiliser le plugin, alors que sa fait plusieurs mois que je l’utilise sans probleme.
Je relance les dépendances et a chaque fois a la fin sa passe sur status nok.
Voici log.

Code : Tout sélectionner

Début de l'installation
converted 'https://raw.githubusercontent.com/lunarok/jeedom_nodejs/master/nodejs.sh' (ANSI_X3.4-1968) -> 'https://raw.githubusercontent.com/lunarok/jeedom_nodejs/master/nodejs.sh' (UTF-8)
--2019-09-22 15:00:55--  https://raw.githubusercontent.com/lunarok/jeedom_nodejs/master/nodejs.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.120.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.120.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1491 (1.5K) [text/plain]
Saving to: 'dependencies.sh'
0K .                                                     100% 12.7M=0s
2019-09-22 15:00:56 (12.7 MB/s) - 'dependencies.sh' saved [1491/1491]
dependencies.sh: 3: [: onkyo: unexpected operator
Nodejs non installé
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit https://deb.nodesource.com jessie InRelease
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit https://deb.nodesource.com jessie/main Sources
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit https://deb.nodesource.com jessie/main armhf Packages
Get:1 https://deb.nodesource.com jessie/main Translation-en [162 B]
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Get:2 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Get:3 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:4 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 210 not upgraded.
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
Package 'npm' is not installed, so not removed
Package 'nodejs' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 210 not upgraded.
dependencies.sh: 37: [: armv7l: unexpected operator
Utilisation du dépot officiel
## Installing the NodeSource Node.js 12.x repo...
## Populating apt-get cache...
+ apt-get update
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit https://deb.nodesource.com jessie InRelease
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit https://deb.nodesource.com jessie/main Sources
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit https://deb.nodesource.com jessie/main armhf Packages
Get:1 https://deb.nodesource.com jessie/main Translation-en [162 B]
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Get:2 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:3 https://deb.nodesource.com jessie/main Translation-en [162 B]
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Get:4 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists...
## You seem to be using Devuan version jessie.
## This maps to Debian "jessie"... Adjusting for you...
## Confirming "jessie" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/jessie/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK
## Creating apt sources list file for the NodeSource Node.js 12.x repo...
+ echo 'deb https://deb.nodesource.com/node_12.x jessie main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_12.x jessie main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit https://deb.nodesource.com jessie InRelease
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit https://deb.nodesource.com jessie/main Sources
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit https://deb.nodesource.com jessie/main armhf Packages
Get:1 https://deb.nodesource.com jessie/main Translation-en [162 B]
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Get:2 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:3 https://deb.nodesource.com jessie/main Translation-en [162 B]
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Get:4 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists...
## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
## You may also need development tools to build native addons:
sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nodejs : Depends: libstdc++6 (>= 5.2) but 4.9.2-10 is to be installed
E: Unable to correct problems, you have held broken packages.
dependencies.sh: 1: dependencies.sh: nodejs: not found
Version actuelle :
dependencies.sh: 59: dependencies.sh: npm: not found
chown: cannot access 'node_modules': No such file or directory
Fin de l'installation
Votre plateforme est sous la version Jessie (8) de Debian qui n'est plus supporté car de nombreux paquets ne sont plus disponibles.
Il faut d'abord passer Debian sous la version Stretch (9).
Je conseille de repartir sur une installation complète plutôt que de tenter un upgrade de l'OS mais cela n'engage que moi.
Plusieurs sujet sur le forum traitent de ce point en fonction du matériel utilisé.

Sachez que ce probleme se posera pour tous les plugins important de Jeedom (Z-wave, BLEA, RFXCOM, etc...).

PS. : Merci de mettre les log entre des balises code pour faciliter la lecture du fil.

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 13 oct. 2019, 10:30
par kristobal
Bonjour,
J'utilise le plugin depuis un moment et pour faire mes scénarios, je n'arrive pas à utiliser le nom de la commande native.
Par exemple la commande BDDVD commande native = SLI10 (ce qu'il faudrait utiliser pour le scénario).
si je met ça --> #[Salon][Ampli onkyo][Input Selector]# == "SLI10" mon scénario ne fonctionne pas !
et si je met ça --> #[Salon][Ampli onkyo][Input Selector]# matches "/10/" ça fonctionne !
Pouvez vous me dire ce que j'ai pas compris pour utiliser le retour de la commande de l'ampli
Merci

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 15 oct. 2019, 12:25
par cadavor
kristobal a écrit :
13 oct. 2019, 10:30
Bonjour,
J'utilise le plugin depuis un moment et pour faire mes scénarios, je n'arrive pas à utiliser le nom de la commande native.
Par exemple la commande BDDVD commande native = SLI10 (ce qu'il faudrait utiliser pour le scénario).
si je met ça --> #[Salon][Ampli onkyo][Input Selector]# == "SLI10" mon scénario ne fonctionne pas !
et si je met ça --> #[Salon][Ampli onkyo][Input Selector]# matches "/10/" ça fonctionne !
Pouvez vous me dire ce que j'ai pas compris pour utiliser le retour de la commande de l'ampli
Merci
Pour savoir comment tester une commande il suffit de lire sa valeur.
Dans le testeur d'expression, sélectionne (ou écrit) la commande et clique sur "Exécuter".
Tu auras en résultat la valeur actuelle de la commande.

Pour la commande que tu cites, le résultat est effectivement que le numéro de l'Input sélectionné donc pas besoin de "matches", testes directement la valeur avec "=="
Donc : #[Salon][Ampli onkyo][Input Selector]# == 10 pour tester si la source est BDDVD, 12 pour TV, etc...

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 17 oct. 2019, 11:54
par kristobal
Merci je teste ça ainsi que le testeur d’expression ça sera l’occasion.

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 28 oct. 2019, 11:48
par kristobal
Bonjour est ce que le plugin est compatible avec la jeedom v4 svp ?

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 25 nov. 2019, 09:55
par diroid
Bonjour,

J'ai un soucis avec l'installation des dépendances sous Debian 9. Elles ont tournées la dernière fois en Avril 2018 et j'ai remarqué depuis un certain temps que les actions et les infos ne fonctionnaient pas et effectivement il y a des erreurs "erreur lors de la création du node" dans le log.

Code : Tout sélectionner

Début de l'installation
--2019-11-25 09:23:29--  https://raw.githubusercontent.com/lunarok/jeedom_nodejs/master/nodejs.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.120.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.120.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1491 (1.5K) [text/plain]
Saving to: 'dependencies.sh'
0K .                                                     100% 4.49M=0s
2019-11-25 09:23:30 (4.49 MB/s) - 'dependencies.sh' saved [1491/1491]
dependencies.sh: 3: [: onkyo: unexpected operator
Version actuelle : 12
Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Get:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch Release
Hit:5 https://deb.nodesource.com/node_12.x stretch InRelease
Fetched 185 kB in 11s (16.2 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (9.20161125).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Ok, version suffisante
JeedomOnkyo@1.0.1 /var/www/jeedom/plugins/onkyo/resources
+-- async@3.1.0
+-- events@3.0.0
+-- net@1.0.2
`-- request@2.88.0
+-- aws-sign2@0.7.0
+-- aws4@1.8.0
+-- caseless@0.12.0
+-- combined-stream@1.0.8
| `-- delayed-stream@1.0.0
+-- extend@3.0.2
+-- forever-agent@0.6.1
+-- form-data@2.3.3
| `-- asynckit@0.4.0
+-- har-validator@5.1.3
| +-- ajv@6.10.2
| | +-- fast-deep-equal@2.0.1
| | +-- fast-json-stable-stringify@2.0.0
| | +-- json-schema-traverse@0.4.1
| | `-- uri-js@4.2.2
| |   `-- punycode@2.1.1
| `-- har-schema@2.0.0
+-- http-signature@1.2.0
| +-- assert-plus@1.0.0
| +-- jsprim@1.4.1
| | +-- extsprintf@1.3.0
| | +-- json-schema@0.2.3
| | `-- verror@1.10.0
| |   `-- core-util-is@1.0.2
| `-- sshpk@1.16.1
|   +-- asn1@0.2.4
|   +-- bcrypt-pbkdf@1.0.2
|   +-- dashdash@1.14.1
|   +-- ecc-jsbn@0.1.2
|   +-- getpass@0.1.7
|   +-- jsbn@0.1.1
|   +-- safer-buffer@2.1.2
|   `-- tweetnacl@0.14.5
+-- is-typedarray@1.0.0
+-- isstream@0.1.2
+-- json-stringify-safe@5.0.1
+-- mime-types@2.1.25
| `-- mime-db@1.42.0
+-- oauth-sign@0.9.0
+-- performance-now@2.1.0
+-- qs@6.5.2
+-- safe-buffer@5.2.0
+-- tough-cookie@2.4.3
| +-- psl@1.4.0
| `-- punycode@1.4.1
+-- tunnel-agent@0.6.0
`-- uuid@3.3.3
rm: cannot remove '/tmp/onkyo_dep': No such file or directory
Fin de l'installation
On pourra remarquer la ligne "dependencies.sh: 3: [: onkyo: unexpected operator", elle est aussi présente dans les messages récents d'autres utilisateurs de ce fil.

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 25 nov. 2019, 10:10
par dough29
La plugin se base sur le gestionnaire de dépendance de Lunarok : https://github.com/lunarok/jeedom_nodejs

Peut-être qu'il a changé le comportement de ce dernier :?

Apparemment il y a aussi des problèmes sur la v4 (elle est officielle ?).

Je manque de temps pour maintenir les plugins mais j'essaie de jeter un oil à l'occasion.

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 25 nov. 2019, 10:11
par diroid
Je voudrais ajouter ceci qui semble pertinent :

Code : Tout sélectionner

-rw-r--r-- 1 www-data www-data 3 nov.  25 09:25 /tmp/${2}_dep

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 25 nov. 2019, 10:16
par diroid
Elle est sûrement en bêta pour que les dèv s'adapte avant sa release. Pour ma part, je préfère éviter les problèmes pour l'instant :)

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 25 nov. 2019, 10:20
par dough29
@diroid peux-tu lire le contenu du fichier "<Jeedom>/plugins/onkyo/resources/dependencies.sh" (si il est toujours présent) ?

Sinon, depuis un shell (SSH) sur le Jeedom : Pour info sur un Jeedom v3 et Debian 9 je viens de faire une clean install sans soucis...

Re: [Plugin Tiers][Sujet Principal] Plugin Onkyo - Release V2 !

Publié : 25 nov. 2019, 10:22
par kristobal
Quand je suis passé en v4 je pense que c’est le plugin qui m’a fait crasher mon jeedom.
J’ai dû tout resinstaller et donc je suis direct en v4. Par contre le plugin s’installe bien. Mais au moment d’ajouter l’objet c’est là où ça deconne!! Écran blanc. J’en ai parlé à dough29 déjà.
Par contre une personne sur Facebook m’a bien confirmé que le plugin fonctionne sur la v4.
Pour info une fois la v4 installée elle apparaît en stable.
Si je peux vous aider comme testeur en donnant mes log ou autres.