FHEM Forum

FHEM => Frontends => TabletUI => Thema gestartet von: roelleke am 21 November 2019, 16:20:37

Titel: FUIP - PERL WARNING: Use of uninitialized value in lc at fh
Beitrag von: roelleke am 21 November 2019, 16:20:37
Hallo,

ich habe seit einiger Zeit beim Systemstart folgendes Warning im LOG:

2019.11.21 16:06:03 1: PERL WARNING: Use of uninitialized value in lc at fhem.pl line 5348.

Mit Verbose 5 in Global sieht dass dann folgendermaßen aus:

2019.11.21 16:06:03 4: FUIP: Loading view: ./FHEM/lib/FUIP/View/ViewTemplInstance.pm
2019.11.21 16:06:03 4: FUIP: Loading view: ./FHEM/lib/FUIP/View/ViewTemplate.pm
2019.11.21 16:06:03 4: FUIP: Loading view: ./FHEM/lib/FUIP/View/WeatherDetail.pm
2019.11.21 16:06:03 4: FUIP: Loading view: ./FHEM/lib/FUIP/View/WeatherOverview.pm
2019.11.21 16:06:03 4: FUIP: Loading view: ./FHEM/lib/FUIP/View/WebLink.pm
2019.11.21 16:06:03 4: FUIP: Loading view: ./FHEM/lib/FUIP/View/WeekdayTimer.pm
2019.11.21 16:06:03 4: FUIP: Loading view: ./FHEM/lib/FUIP/View/Window.pm
2019.11.21 16:06:03 3: FUIP: Registering fuip for URL /fuip
2019.11.21 16:06:03 1: PERL WARNING: Use of uninitialized value in lc at fhem.pl line 5348.
2019.11.21 16:06:03 5: Cmd: >setuuid fuip 5c85264f-f33f-f06c-143b-e726c5ce8dbd29ef<
2019.11.21 16:06:03 5: Cmd: >attr fuip baseHeight 108<
2019.11.21 16:06:03 5: Cmd: >attr fuip baseWidth 142<
2019.11.21 16:06:03 5: Cmd: >attr fuip cellMargin 2<
2019.11.21 16:06:03 5: Cmd: >attr fuip gridlines hide<
2019.11.21 16:06:03 5: Cmd: >attr fuip layout gridster<
2019.11.21 16:06:03 5: Cmd: >attr fuip locked 0<
2019.11.21 16:06:03 5: Cmd: >attr fuip room System<
2019.11.21 16:06:03 5: Cmd: >attr fuip snapTo halfGrid<
2019.11.21 16:06:03 5: Cmd: >attr fuip styleSchema bright-mint<
2019.11.21 16:06:03 5: Cmd: >attr fuip toastMessages errors<
2019.11.21 16:06:03 5: Cmd: >attr fuip verbose 5<
2019.11.21 16:06:03 5: Cmd: >attr fuip viewportInitialScale 1<
2019.11.21 16:06:03 5: Cmd: >attr fuip viewportUserScalable yes<
2019.11.21 16:06:03 5: Cmd: >define Logfile FileLog ./log/fhem-%Y-%m.log fakelog<

Ich frage mich daher ob dieses Warning etwas mit FUIP zu tun haben könnte.
Hat vielleicht noch jemand dieses Problem?

Viele Grüße
Dieter
Titel: Antw:FUIP - PERL WARNING: Use of uninitialized value in lc at fh
Beitrag von: Thorsten Pferdekaemper am 21 November 2019, 16:49:52
Hi,
ich habe mir das mal angesehen und ich denke auch, dass das was mit FUIP zu tun hat. FileRead (in fhem.pl) mag es anscheinend nicht, wenn man einen Hash als Parameter mitgibt, in dem forceType nicht definiert ist.
Das dürfte nur ein Schönheitsfehler sein, den ich aber trotzdem demnächst beheben werde.
Gruß,
   Thorsten