FHEM Forum

FHEM => Frontends => FHEMWEB => Thema gestartet von: Depechem am 03 April 2017, 09:06:57

Titel: FHEM täglich 1x down - PERL WARNING: ./FHEM/01_FHEMWEB.pm line 2825
Beitrag von: Depechem am 03 April 2017, 09:06:57
Ich habe seit kurzem Probleme mit FHEM.
fast täglich abends hängt sich fhem komplett für mehrere Minuten auf.
Danach steht folgendes im Log.

2017.04.02 21:49:15.904 1: PERL WARNING: Argument "255\0" isn't numeric in numeric ne (!=) at ./FHEM/36_LaCrosse.pm line 307, <GEN669291> line 1.
2017.04.02 21:49:15.954 1: PERL WARNING: Argument "\031" isn't numeric in sprintf at ./FHEM/36_LaCrosse.pm line 251, <GEN669291> line 1.
2017.04.02 21:50:12.278 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/01_FHEMWEB.pm line 2825, <GEN669642> line 1.
2017.04.02 21:50:12.279 1: PERL WARNING: Use of uninitialized value $type in hash element at ./FHEM/01_FHEMWEB.pm line 3015, <GEN669642> line 1.
2017.04.02 21:50:12.439 1: Error: >GHoma_192.168.2.124_12938< has no TYPE, but following keys: ><
2017.04.02 21:50:13.849 1: Error: >GHoma_192.168.2.100_9868< has no TYPE, but following keys: ><
2017.04.02 21:50:13.860 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/01_FHEMWEB.pm line 2825, <GEN669646> line 1.
2017.04.02 21:50:13.861 1: PERL WARNING: Use of uninitialized value $type in hash element at ./FHEM/01_FHEMWEB.pm line 3015, <GEN669646> line 1.
2017.04.02 21:50:13.966 1: Error: >GHoma_192.168.2.125_9161< has no TYPE, but following keys: ><
2017.04.02 21:50:14.474 1: Error: >GHoma_192.168.2.126_8646< has no TYPE, but following keys: ><
2017.04.02 21:50:14.549 1: Error: >GHoma_192.168.2.124_8868< has no TYPE, but following keys: ><
2017.04.02 21:50:14.674 1: Error: >GHoma_192.168.2.100_11978< has no TYPE, but following keys: ><
2017.04.02 21:50:14.686 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/01_FHEMWEB.pm line 2825, <GEN669650> line 1.
2017.04.02 21:50:14.686 1: PERL WARNING: Use of uninitialized value $type in hash element at ./FHEM/01_FHEMWEB.pm line 3015, <GEN669650> line 1.
2017.04.02 21:50:14.823 1: Error: >GHoma_192.168.2.125_11130< has no TYPE, but following keys: ><
2017.04.02 21:50:14.959 1: Error: >GHoma_192.168.2.126_11696< has no TYPE, but following keys: ><
2017.04.02 21:50:15.057 1: Error: >GHoma_192.168.2.124_11308< has no TYPE, but following keys: ><
2017.04.02 21:50:15.200 1: Error: >GHoma_192.168.2.100_14495< has no TYPE, but following keys: ><
2017.04.02 21:50:24.021 1: Error: >GHoma_192.168.2.125_8506< has no TYPE, but following keys: ><


2017.04.01 04:46:22.116 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/01_FHEMWEB.pm line 2825, <GEN331653> line 1.
2017.04.01 04:46:22.117 1: PERL WARNING: Use of uninitialized value $type in hash element at ./FHEM/01_FHEMWEB.pm line 3015, <GEN331653> line 1.
2017.04.01 04:46:22.258 1: Error: >GHoma_192.168.2.124_10511< has no TYPE, but following keys: ><
2017.04.01 04:46:23.453 1: Error: >GHoma_192.168.2.100_16028< has no TYPE, but following keys: ><
2017.04.01 04:46:23.464 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/01_FHEMWEB.pm line 2825, <GEN331658> line 1.
2017.04.01 04:46:23.464 1: PERL WARNING: Use of uninitialized value $type in hash element at ./FHEM/01_FHEMWEB.pm line 3015, <GEN331658> line 1.
2017.04.01 04:46:23.808 1: Error: >GHoma_192.168.2.125_12125< has no TYPE, but following keys: ><
2017.04.01 04:46:24.019 1: Error: >GHoma_192.168.2.126_8483< has no TYPE, but following keys: ><
2017.04.01 04:46:24.104 1: Error: >GHoma_192.168.2.124_12703< has no TYPE, but following keys: ><
2017.04.01 04:46:24.498 1: Error: >GHoma_192.168.2.100_8934< has no TYPE, but following keys: ><
2017.04.01 04:46:24.840 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/01_FHEMWEB.pm line 2825, <GEN331659> line 1.
2017.04.01 04:46:24.841 1: PERL WARNING: Use of uninitialized value $type in hash element at ./FHEM/01_FHEMWEB.pm line 3015, <GEN331659> line 1.
2017.04.01 04:46:25.202 1: Error: >GHoma_192.168.2.125_16141< has no TYPE, but following keys: ><
2017.04.01 04:46:25.841 1: Error: >GHoma_192.168.2.126_15617< has no TYPE, but following keys: ><
2017.04.01 04:46:25.851 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/01_FHEMWEB.pm line 2825, <GEN331660> line 1.
2017.04.01 04:46:25.852 1: PERL WARNING: Use of uninitialized value $type in hash element at ./FHEM/01_FHEMWEB.pm line 3015, <GEN331660> line 1.
2017.04.01 04:46:26.316 1: Error: >GHoma_192.168.2.124_11830< has no TYPE, but following keys: ><
2017.04.01 04:46:26.388 1: Error: >GHoma_192.168.2.100_16169< has no TYPE, but following keys: ><
2017.04.01 04:46:26.399 1: PERL WARNING: Use of uninitialized value in hash element at ./FHEM/01_FHEMWEB.pm line 2825, <GEN331662> line 1.
2017.04.01 04:46:26.399 1: PERL WARNING: Use of uninitialized value $type in hash element at ./FHEM/01_FHEMWEB.pm line 3015, <GEN331662> line 1.
2017.04.01 04:47:09.246 1: Error: >GHoma_192.168.2.125_16255< has no TYPE, but following keys: ><


ich weis leider nicht woran dies liegt, noch wie ich den Fehler finden kann.
Gruß Thomas
Titel: Antw:FHEM täglich 1x down - PERL WARNING: ./FHEM/01_FHEMWEB.pm line 2825
Beitrag von: rudolfkoenig am 03 April 2017, 10:10:52
ZitatPERL WARNING: Use of uninitialized value in hash element at ./FHEM/01_FHEMWEB.pm line 2825
Du hast einen $defs Eintrag ohne TYPE eingefangen. Das passiert durch fehlerhafte Perl-Programme, entweder in
komplexen Perl-Ausdruecken in notify/at/etc oder in einem der verwendeten Module. Um es zu lokalisieren empfehle
ich fhemdebug (https://fhem.de/commandref.html#fhemdebug) zu verwenden.

Titel: Antw:FHEM täglich 1x down - PERL WARNING: ./FHEM/01_FHEMWEB.pm line 2825
Beitrag von: Depechem am 03 April 2017, 12:28:24
Zitat von: rudolfkoenig am 03 April 2017, 10:10:52
Du hast einen $defs Eintrag ohne TYPE eingefangen. Das passiert durch fehlerhafte Perl-Programme, entweder in
komplexen Perl-Ausdruecken in notify/at/etc oder in einem der verwendeten Module. Um es zu lokalisieren empfehle
ich fhemdebug (https://fhem.de/commandref.html#fhemdebug) zu verwenden.



Ok danke schonmal,
leider findet man bei dem "fhemdebug" leider noch nicht viele Infos.
Ich aktiviere es mit "fhemdebug enable" und wenn wieder der Fehler kommt(der fhem zum aufhängen bringt) wird mir das Modul dazu evtl. ein paar Infos in den Logfile schreiben!? oder wie funktioniert das ganze?
Titel: Antw:FHEM täglich 1x down - PERL WARNING: ./FHEM/01_FHEMWEB.pm line 2825
Beitrag von: rudolfkoenig am 03 April 2017, 12:56:41
ZitatIch aktiviere es mit "fhemdebug enable" und wenn wieder der Fehler kommt(der fhem zum aufhängen bringt) wird mir das Modul dazu evtl. ein paar Infos in den Logfile schreiben!?

Genau. Ob allerdings dieser Fehler FHEM zum aufhaengen bringt, das weiss ich nicht.
Titel: Antw:FHEM täglich 1x down - PERL WARNING: ./FHEM/01_FHEMWEB.pm line 2825
Beitrag von: Dietmar63 am 03 April 2017, 16:02:27
Aber dass es mit der Steckdose von ghoma zu tun hat, ist dir klar
Vielleicht hat das Modul noch einen Fehler.


Ich hatte vor kurzem auch ein Problem damit - Programmierfehler - schwer die Ursache zu finden
Titel: Antw:FHEM täglich 1x down - PERL WARNING: ./FHEM/01_FHEMWEB.pm line 2825
Beitrag von: Dietmar63 am 03 April 2017, 20:18:05
vielleicht hilf dies weiter:
https://forum.fhem.de/index.php/topic,27546.msg540025.html#msg540025 (https://forum.fhem.de/index.php/topic,27546.msg540025.html#msg540025)