FHEM Forum

FHEM => Frontends => FHEMWEB => Thema gestartet von: der-Lolo am 03 März 2020, 13:21:17

Titel: [gelöst] value $a in concatenation (.) or string at ./FHEM/01_FHEMWEB.pm
Beitrag von: der-Lolo am 03 März 2020, 13:21:17
Hallo Comunity,
ich habe gerade einen Raspi4 mit Docker und dem Container von Loredo aufgesetzt.
Heute morgen habe ich den Codemirror und die nötigen Dateien für FTUI und FUIP hinzugefügt.

Ein Update habe ich auch gemacht...

Nun fällt mir im ansonsten noch nicht konfiguriertem FHEM im Logfile folgendes auf

2020.03.03 10:56:15.803 1: PERL WARNING: Use of uninitialized value $a in concatenation (.) or string at ./FHEM/01_FHEMWEB.pm line 3470.

Entsprechendes Logfile:

2020.03.03 10:30:30.146 3: From the FHEM_GLOBALATTR environment: attr global logfile ./log/fhem-%Y-%m-%d.log
2020.03.03 10:30:30.147 3: From the FHEM_GLOBALATTR environment: attr global updateInBackground 1
2020.03.03 10:30:30.147 3: From the FHEM_GLOBALATTR environment: attr global pidfilename ./log/fhem.pid
2020.03.03 10:30:30.147 3: From the FHEM_GLOBALATTR environment: attr global nofork 0
2020.03.03 10:30:30.153 1: Including fhem.cfg
2020.03.03 10:30:30.354 3: WEB: port 8083 opened
2020.03.03 10:30:30.390 2: eventTypes: loaded 38 events from ./log/eventTypes.txt
2020.03.03 10:30:30.680 3: AptToDate (fhemServerApt) - defined
2020.03.03 10:30:31.336 3: telnetPort: port 7072 opened
2020.03.03 10:30:31.337 1: Including ./log/fhem.save
2020.03.03 10:30:31.344 3: From the FHEM_GLOBALATTR environment: attr global logfile ./log/fhem-%Y-%m-%d.log
2020.03.03 10:30:31.344 3: From the FHEM_GLOBALATTR environment: attr global updateInBackground 1
2020.03.03 10:30:31.344 3: From the FHEM_GLOBALATTR environment: attr global pidfilename ./log/fhem.pid
2020.03.03 10:30:31.345 3: From the FHEM_GLOBALATTR environment: attr global nofork 0
2020.03.03 10:30:32.794 1: usb create starting
2020.03.03 10:30:32.871 3: Probing CUL device /dev/ttyAMA0
2020.03.03 10:30:33.102 3: Probing TCM_ESP3 device /dev/ttyAMA0
2020.03.03 10:30:33.205 3: Probing ZWDongle device /dev/ttyAMA0
2020.03.03 10:30:33.307 3: Probing SIGNALDuino device /dev/ttyAMA0
2020.03.03 10:30:33.511 3: Probing MYSENSORS device /dev/ttyAMA0
2020.03.03 10:30:33.715 3: Probing ArduCounter device /dev/ttyAMA0
2020.03.03 10:30:33.920 3: Probing ElsnerWS device /dev/ttyAMA0
2020.03.03 10:30:34.924 3: Probing FRM device /dev/ttyAMA0
2020.03.03 10:30:40.068 1: usb create end
2020.03.03 10:30:40.069 0: Featurelevel: 6
2020.03.03 10:30:40.069 0: Server started with 11 defined entities (fhem.pl:21337/2020-03-02 perl:5.028001 os:linux user:fhem pid:16029)
2020.03.03 10:56:15.803 1: PERL WARNING: Use of uninitialized value $a in concatenation (.) or string at ./FHEM/01_FHEMWEB.pm line 3470.


Das System war 26min Idle bevor es zu dieser Meldung kam...

Hat jemand eine Idee was das sein könnte? Ich wollte frisch & neu ein System für meine Wärmepumpe aufsetzen und habe schon Warnungen im Log :(
Titel: Antw:uninitialized value $a in concatenation (.) or string at ./FHEM/01_FHEMWEB.pm
Beitrag von: rudolfkoenig am 03 März 2020, 14:01:15
Ein widgetOverride Attribut ist kaputt, nach dem : steht nichts.
Titel: Antw:uninitialized value $a in concatenation (.) or string at ./FHEM/01_FHEMWEB.pm
Beitrag von: der-Lolo am 03 März 2020, 14:48:17
Wenn ich fhem.cfg nach widgetOverride durchsuche habe ich einen treffer in global userattr... Und einen in DockerImageInfo...

attr global userattr cmdIcon devStateIcon:textField-long devStateStyle icon sortby webCmd webCmdLabel:textField-long widgetOverride
attr DockerImageInfo widgetOverride 1


Keine Ahnung wo das herkommt - ich schätze es ist bei der Auslieferung des Docker Images schon vorhanden. Ich habe widgetOverride nun aus dem global userattr gelöscht.

Mal schauen ob noch meldungen kommen... Sollte ich Loredo informieren?
Titel: Antw:uninitialized value $a in concatenation (.) or string at ./FHEM/01_FHEMWEB.pm
Beitrag von: rudolfkoenig am 03 März 2020, 14:54:01
Die erste Zeile mit userattr geht in Ordnung, sie ermoeglicht, dass man ueberall widgetOverride setzt.
Die zweite Zeile dagegen ist Unfug.
Titel: Antw:uninitialized value $a in concatenation (.) or string at ./FHEM/01_FHEMWEB.pm
Beitrag von: der-Lolo am 03 März 2020, 16:03:03
Tausend Dank!