Mon bouton "démarrer" du Démon d'un plugin a disparu

Bonjour à tous,

J’ai le bouton démarrer le plugin qui à disparu…
le plugin est open ALR mais je pense pas que ça vienne du plugin en lui même.
J’ai vider le cache et reboot, désinstaller le plugin et réinstaller, mais ça veux pas

avez vous une idée ?

nota : j’arrivais pas le faire fonctionner correctement, du coup, j’ai tenté plusieurs configurations et réinstallations, et j’ai dû planter le jouet…
si des fois… Merci à vous

je m’auto répond, une restauration de cette nuit n’as pas réussi à réparer le soucis.

snif… j’etais à rien du tout…

Salut,

Désinstaller le plugin la plupart du temps, ça supprime aussi sa config…
Donc en ce moment, la config est pas bonne, je dirais même vide, donc il faut la refaire (y compris l’install des dépendances avant)… Et quand tout sera bon tu auras peut-être une chance de voir ton bouton apparaître

1 « J'aime »

Merci, j’ai essayé… mais ca marche pas ?

une autre idée ?

Oui. Déplacer le sujet dans la section plugin et ajouter le tag openalr

Merci à toi ! :+1:

Comme c’est un plugin payant difficile de tester. Montre ta config, mets le plugin en debug, et récupére les erreurs (lancement et dépendances)… ça sera toujours ça de fait pour la suite

J’ai ca comme erreurs à l’installation déjà…

[ 32%] Building CXX object openalpr/CMakeFiles/openalpr.dir/utility.cpp.o
/usr/local/src/openalpr/openalpr/src/openalpr/utility.cpp: In function 'cv::Mat alpr::addLabel(cv::Mat, std::__cxx11::string)':
/usr/local/src/openalpr/openalpr/src/openalpr/utility.cpp:89:73: error: 'FILLED' was not declared in this scope
rectangle(newImage, Point(0,0), Point(input.cols, extraHeight), bg, FILLED);
^~~~~~
/usr/local/src/openalpr/openalpr/src/openalpr/utility.cpp: In function 'float alpr::getContourAreaPercentInsideMask(cv::Mat, std::vector<std::vector<cv::Point_<int> > >, std::vector<cv::Vec<int, 4> >, int)':
/usr/local/src/openalpr/openalpr/src/openalpr/utility.cpp:568:18: error: 'FILLED' was not declared in this scope
FILLED,
^~~~~~
openalpr/CMakeFiles/openalpr.dir/build.make:374: recipe for target 'openalpr/CMakeFiles/openalpr.dir/utility.cpp.o' failed
make[2]: *** [openalpr/CMakeFiles/openalpr.dir/utility.cpp.o] Error 1
CMakeFiles/Makefile2:623: recipe for target 'openalpr/CMakeFiles/openalpr.dir/all' failed
make[1]: *** [openalpr/CMakeFiles/openalpr.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
[ 21%] Built target support
[ 23%] Built target video
[ 23%] Building CXX object openalpr/CMakeFiles/openalpr.dir/utility.cpp.o
/usr/local/src/openalpr/openalpr/src/openalpr/utility.cpp: In function 'cv::Mat alpr::addLabel(cv::Mat, std::__cxx11::string)':
/usr/local/src/openalpr/openalpr/src/openalpr/utility.cpp:89:73: error: 'FILLED' was not declared in this scope
rectangle(newImage, Point(0,0), Point(input.cols, extraHeight), bg, FILLED);
^~~~~~
/usr/local/src/openalpr/openalpr/src/openalpr/utility.cpp: In function 'float alpr::getContourAreaPercentInsideMask(cv::Mat, std::vector<std::vector<cv::Point_<int> > >, std::vector<cv::Vec<int, 4> >, int)':
/usr/local/src/openalpr/openalpr/src/openalpr/utility.cpp:568:18: error: 'FILLED' was not declared in this scope
FILLED,
^~~~~~
openalpr/CMakeFiles/openalpr.dir/build.make:374: recipe for target 'openalpr/CMakeFiles/openalpr.dir/utility.cpp.o' failed
make[2]: *** [openalpr/CMakeFiles/openalpr.dir/utility.cpp.o] Error 1
CMakeFiles/Makefile2:623: recipe for target 'openalpr/CMakeFiles/openalpr.dir/all' failed
make[1]: *** [openalpr/CMakeFiles/openalpr.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
[2020-04-30 22:07:54][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=openalpr function=remove callInstallFunction=1
[2020-04-30 22:07:57][INFO] : Début d'activation du plugin
[2020-04-30 22:07:58][INFO] : Info sur le démon : Array (     [launchable_message] =>      [launchable] => nok     [state] => nok     [log] => nok     [auto] => 0 )
[2020-04-30 22:07:58][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=openalpr function=install callInstallFunction=1


quel dommage… je me sens pas de tout réinstaller…

ça c’est un bout des dépendances, j’ai l’impression… Tu peux pas fournir tout le fichier ? A mon avis, c’est pas la seule erreur…

Donc forcement, ton plugin est pas installé => pas de bouton.

*****************************************************************************************************
*                                Installing additional libraries                                    *
*****************************************************************************************************
Reading package lists...
Building dependency tree...
Reading state information...
autoconf is already the newest version (2.69-10).
automake is already the newest version (1:1.15-6).
libtool is already the newest version (2.4.6-2).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
pkg-config is already the newest version (0.29-4+b1).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Package libpng12-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libpng12-dev' has no installation candidate
Reading package lists...
Building dependency tree...
Reading state information...
libjpeg62-turbo-dev is already the newest version (1:1.5.1-2).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Package libtiff4-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libtiff5-dev

E: Package 'libtiff4-dev' has no installation candidate
Reading package lists...
Building dependency tree...
Reading state information...
zlib1g-dev is already the newest version (1:1.2.8.dfsg-5).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.11.0-3+deb9u7).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
git-core is already the newest version (1:2.11.0-3+deb9u7).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
cmake is already the newest version (3.7.2-1).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
liblog4cplus-dev is already the newest version (1.1.2-3.2).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libcurl4-openssl-dev is already the newest version (7.52.1-5+deb9u10).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
uuid-dev is already the newest version (2.29.2-1+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.3).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Package libjpeg8-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libjpeg62-turbo-dev

E: Package 'libjpeg8-dev' has no installation candidate
E: Unable to locate package libjasper-dev
Reading package lists...
Building dependency tree...
Reading state information...
libgtk2.0-dev is already the newest version (2.24.31-2).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libavcodec-dev is already the newest version (7:3.2.14-1~deb9u1).
libavformat-dev is already the newest version (7:3.2.14-1~deb9u1).
libswscale-dev is already the newest version (7:3.2.14-1~deb9u1).
libv4l-dev is already the newest version (1.12.3-1).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libatlas-base-dev is already the newest version (3.10.3-1+b1).
gfortran is already the newest version (4:6.3.0-4).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
python2.7-dev is already the newest version (2.7.13-2+deb9u3).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libopencv-dev is already the newest version (2.4.9.1+dfsg1-2).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libtesseract-dev is already the newest version (3.04.01-5).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
libleptonica-dev is already the newest version (1.74.1-1).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
beanstalkd is already the newest version (1.10-4).
0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
*****************************************************************************************************
*                                            Compile openalpr:                                      *
*****************************************************************************************************
Cloning into 'openalpr'...
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Tesseract 
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.52.1") 
-- Found log4cplus 
-- Could NOT find JNI (missing:  JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) 
JAVA JNI library not found, skipping openalprjni compilation
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/openalpr/openalpr/src/build
Scanning dependencies of target support
[  1%] Building CXX object openalpr/support/CMakeFiles/support.dir/filesystem.cpp.o
[  1%] Building CXX object openalpr/support/CMakeFiles/support.dir/timing.cpp.o
[  2%] Building CXX object openalpr/support/CMakeFiles/support.dir/tinythread.cpp.o
[  2%] Building CXX object openalpr/support/CMakeFiles/support.dir/platform.cpp.o
[  3%] Building CXX object openalpr/support/CMakeFiles/support.dir/utf8.cpp.o
[  4%] Building CXX object openalpr/support/CMakeFiles/support.dir/version.cpp.o
[  4%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/bitstate.cc.o
[  5%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/compile.cc.o
[  6%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/dfa.cc.o
[  6%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/filtered_re2.cc.o
[  7%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/mimics_pcre.cc.o
[  8%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/nfa.cc.o
[  8%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/onepass.cc.o
[  9%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/parse.cc.o
[ 10%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/perl_groups.cc.o
[ 10%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/prefilter.cc.o
[ 11%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/prefilter_tree.cc.o
[ 12%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/prog.cc.o
[ 12%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/re2.cc.o
[ 13%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/regexp.cc.o
[ 14%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/set.cc.o
[ 14%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/simplify.cc.o
[ 15%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/stringpiece.cc.o
[ 16%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/tostring.cc.o
[ 16%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/unicode_casefold.cc.o
[ 17%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/unicode_groups.cc.o
[ 18%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/util/hash.cc.o
[ 18%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/util/stringprintf.cc.o
[ 19%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/util/rune.cc.o
[ 20%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/util/strutil.cc.o
[ 20%] Building CXX object openalpr/support/CMakeFiles/support.dir/re2/util/valgrind.cc.o
[ 21%] Linking CXX static library libsupport.a
[ 21%] Built target support
Scanning dependencies of target video
[ 22%] Building CXX object video/CMakeFiles/video.dir/videobuffer.cpp.o
[ 23%] Linking CXX static library libvideo.a
[ 23%] Built target video
Scanning dependencies of target openalpr
[ 24%] Building CXX object openalpr/CMakeFiles/openalpr.dir/alpr.cpp.o
[ 24%] Building CXX object openalpr/CMakeFiles/openalpr.dir/alpr_impl.cpp.o
[ 25%] Building CXX object openalpr/CMakeFiles/openalpr.dir/alpr_c.cpp.o
[ 26%] Building CXX object openalpr/CMakeFiles/openalpr.dir/config.cpp.o
[ 26%] Building CXX object openalpr/CMakeFiles/openalpr.dir/config_helper.cpp.o
[ 27%] Building CXX object openalpr/CMakeFiles/openalpr.dir/detection/detector.cpp.o
[ 28%] Building CXX object openalpr/CMakeFiles/openalpr.dir/detection/detectorcpu.cpp.o
[ 28%] Building CXX object openalpr/CMakeFiles/openalpr.dir/detection/detectorcuda.cpp.o
[ 29%] Building CXX object openalpr/CMakeFiles/openalpr.dir/detection/detectorocl.cpp.o
[ 30%] Building CXX object openalpr/CMakeFiles/openalpr.dir/detection/detectorfactory.cpp.o
[ 30%] Building CXX object openalpr/CMakeFiles/openalpr.dir/detection/detectormorph.cpp.o
[ 31%] Building CXX object openalpr/CMakeFiles/openalpr.dir/detection/detectormask.cpp.o
[ 32%] Building CXX object openalpr/CMakeFiles/openalpr.dir/licenseplatecandidate.cpp.o
[ 32%] Building CXX object openalpr/CMakeFiles/openalpr.dir/utility.cpp.o
/usr/local/src/openalpr/openalpr/src/openalpr/utility.cpp: In function 'cv::Mat alpr::addLabel(cv::Mat, std::__cxx11::string)':
/usr/local/src/openalpr/openalpr/src/openalpr/utility.cpp:89:73: error: 'FILLED' was not declared in this scope
     rectangle(newImage, Point(0,0), Point(input.cols, extraHeight), bg, FILLED);
                                                                         ^~~~~~
/usr/local/src/openalpr/openalpr/src/openalpr/utility.cpp: In function 'float alpr::getContourAreaPercentInsideMask(cv::Mat, std::vector<std::vector<cv::Point_<int> > >, std::vector<cv::Vec<int, 4> >, int)':
/usr/local/src/openalpr/openalpr/src/openalpr/utility.cpp:568:18: error: 'FILLED' was not declared in this scope
                  FILLED,
                  ^~~~~~
openalpr/CMakeFiles/openalpr.dir/build.make:374: recipe for target 'openalpr/CMakeFiles/openalpr.dir/utility.cpp.o' failed
make[2]: *** [openalpr/CMakeFiles/openalpr.dir/utility.cpp.o] Error 1
CMakeFiles/Makefile2:623: recipe for target 'openalpr/CMakeFiles/openalpr.dir/all' failed
make[1]: *** [openalpr/CMakeFiles/openalpr.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
[ 21%] Built target support
[ 23%] Built target video
[ 23%] Building CXX object openalpr/CMakeFiles/openalpr.dir/utility.cpp.o
/usr/local/src/openalpr/openalpr/src/openalpr/utility.cpp: In function 'cv::Mat alpr::addLabel(cv::Mat, std::__cxx11::string)':
/usr/local/src/openalpr/openalpr/src/openalpr/utility.cpp:89:73: error: 'FILLED' was not declared in this scope
     rectangle(newImage, Point(0,0), Point(input.cols, extraHeight), bg, FILLED);
                                                                         ^~~~~~
/usr/local/src/openalpr/openalpr/src/openalpr/utility.cpp: In function 'float alpr::getContourAreaPercentInsideMask(cv::Mat, std::vector<std::vector<cv::Point_<int> > >, std::vector<cv::Vec<int, 4> >, int)':
/usr/local/src/openalpr/openalpr/src/openalpr/utility.cpp:568:18: error: 'FILLED' was not declared in this scope
                  FILLED,
                  ^~~~~~
openalpr/CMakeFiles/openalpr.dir/build.make:374: recipe for target 'openalpr/CMakeFiles/openalpr.dir/utility.cpp.o' failed
make[2]: *** [openalpr/CMakeFiles/openalpr.dir/utility.cpp.o] Error 1
CMakeFiles/Makefile2:623: recipe for target 'openalpr/CMakeFiles/openalpr.dir/all' failed
make[1]: *** [openalpr/CMakeFiles/openalpr.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
*****************************************************************************************************
*                                            Fin de l'installation                                      *
*****************************************************************************************************

ca donne ca…
Merci encore de tes réponses… !

C’est ça l’erreur à la base…

Et toutes les suivantes…

Bref, tu es sur un OS qui a pas l’air d’être supporté correctement

ah…

bon, je crois avoir mis le doigt sur le Bug…
c’est que ca marchais avant… !..

ca sent la reinstall quoi… surtout que même pas sur que ca corrige vu que je vais reinstaller la sauvegarde… je me vois mal reprogramme entièrement jeedom…
peut etre passer en V4 ?

bon, ca pue… :grimacing:

LE bug… non. Si ça marchait à un moment donné : c’est pas un bug… il faut que tu fasse le lien avec l’élément exterieur qui a tout cassé…
C’est toi qui a les détails (ma boule cristal indique 0% de batterie et j’accroche pas bien la 4g dans le coin)… Personnellement, je doute que ça ai marché un jour car pour compiler, tu as besoins des packages qui sont manquants… Et ils ne peuvent pas disparaître pas comme ça et ils sont inconnus pour ton OS…

100% certain que ça n’aidera pas effectivement, c’est au niveau du système qu’il manque des trucs.

C’est l’avantage des sauvegardes, ça évite ce travail long et fastidieux. Regarde comment ça fonctionne dans la doc…

J’oserai bien l’analogie avec « changer de voiture quand on a pas le permis »… Pas la peine d’essayer ça marchera pas non plus

Merci beaucoup…;
je vais réfléchir à tout ca.
Mais ca fonctionnait… j’ai désinstaller et reinstaller le plugin et terminé…
je pense que je peux essayer une reinstall avec récupération de la sauvegarde… c’est pas trop risqué ca. nous verrons bien.

bon, on va quand meme y réflechir un peu.

Encore merci pour tes conseils !. Tu est super !

Bonjour,
@naboleo à raison: si le statut est en NOK le bouton démarrer du démon sera masqué.

Je le répète souvent: dans plus de 99% des cas, supprimer un plug-in ne sert à rien et ne va faire qu’empirer la situation.

Si le statut est en NOK c’est soit :

  • la config du plug-in qui n’est pas faite
  • les dépendances qui ne sont pas installée.

Tu n’as pas montré la page de config au complet donc on ne sait pas voir ni l’un ni l’autre.
Je suis sur téléphone donc j’ai lu en diagonal le log, je ne sais pas plus pour l’instant.
Ça serait bien aussi que tu montres la page santé de jeedom qu’on se fasse une idée global.

Est-ce que tu as installé récemment un autre plugins.
Je pense notamment #plugin-facerecognition qui n’utilise pas la me version de opencv.

et bonjour à tous.

si c’est ce que vous voulez, voici…

si ca peu aider…
C’est monté sur un nuc

et non, j’ai pas encore installer face reconition. Je vais finir de me battre avec le portail déjà

Je vais essayer de l’installer sur ma dev voir si j’ai un problème

Bonjour
Avec une connexion sur le compte de @Rantanplan j’ai trouvé son probleme
Le fichier de configuration de alprd.conf etait absent et surveiller par le demon
Se fichier est régénéré au démarrage du demon mais etait surveiller avant la configuration du plugin

J’ai du coup corrige se problemet et poussé une mise a jours

1 « J'aime »

bon, à priori le demon est OK.

j’ai pas résolu ma non-detection des plaques mais il est OK.
Je vais faire un nouveau post…
Merci à vous !