FHEM Forum

FHEM - Hausautomations-Systeme => Homematic => Thema gestartet von: derHeimwerker am 05 August 2017, 22:10:55

Titel: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line
Beitrag von: derHeimwerker am 05 August 2017, 22:10:55
Hallo,

diese Warnung erscheint nachdem ich gerade ein komplettes update des raspis und fhem gemacht habe.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line 503, <$fh> line 1688.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at FHEM/lib/HM485/PeeringManager.pm line 121, <$fh> line 1688.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line 503, <$fh> line 1694.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at FHEM/lib/HM485/PeeringManager.pm line 121, <$fh> line 1694.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line 503, <$fh> line 1700.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at FHEM/lib/HM485/PeeringManager.pm line 121, <$fh> line 1700.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line 503, <$fh> line 1706.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at FHEM/lib/HM485/PeeringManager.pm line 121, <$fh> line 1706.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line 503, <$fh> line 1712.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at FHEM/lib/HM485/PeeringManager.pm line 121, <$fh> line 1712.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line 503, <$fh> line 1718.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at FHEM/lib/HM485/PeeringManager.pm line 121, <$fh> line 1718.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line 503, <$fh> line 1724.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at FHEM/lib/HM485/PeeringManager.pm line 121, <$fh> line 1724.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line 503, <$fh> line 1730.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at FHEM/lib/HM485/PeeringManager.pm line 121, <$fh> line 1730.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line 503, <$fh> line 1736.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at FHEM/lib/HM485/PeeringManager.pm line 121, <$fh> line 1736.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line 503, <$fh> line 1742.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at FHEM/lib/HM485/PeeringManager.pm line 121, <$fh> line 1742.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line 503, <$fh> line 1748.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at FHEM/lib/HM485/PeeringManager.pm line 121, <$fh> line 1748.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line 503, <$fh> line 1754.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at FHEM/lib/HM485/PeeringManager.pm line 121, <$fh> line 1754.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line 503, <$fh> line 1760.
2017.08.05 22:01:52 1: PERL WARNING: Use of uninitialized value in string eq at FHEM/lib/HM485/PeeringManager.pm line 121, <$fh> line 1760.



Was bedeutet das ?

Danke
DerHeimwerker
Titel: Antw:PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line
Beitrag von: amenomade am 05 August 2017, 22:26:34
Dass Du ein FHEM/lib/HM485/PeeringManager.pm Modul hast, das nicht richtig funktioniert.

Diese Modul kenne ich nicht. Aber Zeile 503 gibt es etwas, was er nicht mag. Wenn ich auf github das Modul anschaue, gibt es nix in Zeile 503.
Titel: Antw:PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line
Beitrag von: derHeimwerker am 05 August 2017, 22:30:59
bezieht sich die line503 nicht auf auf die Datein 10_HM485 ?
Titel: Antw:PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line
Beitrag von: Thorsten Pferdekaemper am 05 August 2017, 22:34:49
Hi,
ich würde mal vermuten, dass Du vorher eine alte Version von HM485 hattest, die noch kein configStatus kannte. (Das ist das, was in den angemeckerten Zeilen abgefragt wird.) Das Problem müsste sich mit der Zeit von selbst erledigen. Deine ganzen HM-Wired Devices müssten inzwischen ein Reading configStatus haben, welches auf "OK" steht.
Gruß,
   Thorsten
Titel: Antw:PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line
Beitrag von: derHeimwerker am 05 August 2017, 22:43:53
Die readings configStatus werden lt. log etwa 1 Sekunde nach der Perl Warnung angelegt´. Kann es damit zusammen hängen ?
Titel: Antw:PERL WARNING: Use of uninitialized value in string eq at ./FHEM/10_HM485.pm line
Beitrag von: Thorsten Pferdekaemper am 06 August 2017, 11:52:55
Hi,
ja, das hängt zusammen. Beim nächsten Neustart sollte es aber nicht mehr vorkommen. Wenn doch, dann sag' nochmal Bescheid.
Jedenfalls ist der Fehler nicht schlimm. Es werden halt nur unnötige Messages erzeugt.
Gruß,
    Thorsten