[gelöst] PERL WARNING: Use of uninitialized value ...

Begonnen von marcus42, 06 September 2015, 15:33:04

Vorheriges Thema - Nächstes Thema

marcus42

Hallo,

in regelmäßigen Abständen finde ich in meinem Logfile Einträge vor, die wie folgt aussehen:


PERL WARNING: Use of uninitialized value in string eq at (eval 141433) line 11.
PERL WARNING: Use of uninitialized value in string eq at (eval 158677) line 11.


Wie kann ich dem "Übeltäter" auf die Schliche kommen?
Worauf bezieht sich 'eval 141433'?

Vielleicht hat ja jemand einen Tipp für mich?

Danke vorab!
Marcus

franky08

stacktrace auf 1 setzen, dann sollten Meldungen über das Modul auftauchen, welches die Warnung produziert.

VG
Frank
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

marcus42

Hallo Frank,

Danke für Deine Rückmeldung.

Bei mir stand "attr global stacktrace" bereits auf 1.
Leider scheint dieser Eintrag trotzdem keinen Stacktrace zu erzeugen.

Ist sonst noch etwas dafür einzustellen?
Der Loglevel steht aktuell auf 1.

Marcus

franky08

Loglevel global verbose auf 3 setzen, dann sollte im Log was auftauchen.

VG
Frank
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

marcus42

Ok, werde ich machen. Danke.

Kann jetzt aber etwas dauern bis ich Ergebnisse habe, da ich (zum Glück) davon nur ca. 5 Einträge pro Tag bekomme.
Ich werde berichten ...

VG
Marcus

franky08

#5
Die eval 141433 line 11 bezeichnen die Codezeile welche die Warnung generiert.
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

marcus42

Da bin ich schon wieder :-)

Es lag an einem notify, in dem auf ein nicht mehr vorhandenes Device 'xbmc' abgefragt wurde.

Danke für die Unterstützung.

VG
Marcus

franky08

Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1