Zunächst komme ich immer wieder ins straucheln, ob dieser Unterbereich der richtige für vermeintliche Codingprobleme ist, oder ob es ein besseren dafür gibt...
Nun zu meinem Anliegen. Nach einem Update heute bekomme ich folgende Meldungen im Log:
2019.01.06 20:03:52 1: PERL WARNING: Use of uninitialized value $val in substitution (s///) at fhem.pl line 1604.
2019.01.06 20:03:52 1: PERL WARNING: Use of uninitialized value $val in substitution (s///) at fhem.pl line 1605.
2019.01.06 20:03:52 1: PERL WARNING: Use of uninitialized value $val in concatenation (.) or string at fhem.pl line 1606.
Wie kann ich herausfinden, wer genau der Auslöser ist?
diesen Eintrag habe ich auch noch gefunden:
2019.01.06 20:05:52 1: PERL WARNING: Argument "" isn't numeric in numeric ge (>=) at FHEM/TimeSeries.pm line 265.
Hallo,
da bist du nicht alleine, auch ich habe diese Meldung
2019.01.06 10:27:16 1 : PERL WARNING: Use of uninitialized value $val in substitution (s///) at fhem.pl line 1604.
2019.01.06 10:27:16 1 : PERL WARNING: Use of uninitialized value $val in substitution (s///) at fhem.pl line 1605.
2019.01.06 10:27:16 1 : PERL WARNING: Use of uninitialized value $val in concatenation (.) or string at fhem.pl line 1606.
gruß Werner
Hi,
Wenn Fehler in einem Modul bestehen kannst du über https://www.fhem.de/MAINTAINER.txt herausfinden, wer der Maintainer ist und in welchem Board es maintained wird. In diesem Fall vermute ich aber eher ein fehlerhaftes Atribut oä. Ich schau gleich mal ins Coding...
Kurz, weil mobil
Ich stecke nicht tief drin im Coding, aber es sieht so aus, als ob es bei euch Attribute gäbe, die keinen Wert haben (wie auch immer das passieren kann). Bitte mal global stacktrace auf 1 setzen und die Ausgabe posten (wenn die Meldung wieder kommt)
nachdems mir auch grade auffällt - folgendes kommt als "bulk" bei mir - ich weiß nur no ned wann genau.
(nachtrag: zumindest ists kein fehler der auftritt, wenn man einfach nur was aufruft oder schlaltet - sowohl in der web-anzeige (everything), als auch beim einfachen aufruf meiner floorpläne kommt der fehler nicht)
(nachtrag2: das warning tritt zumindest mal beim neu anlegen und beim ändern von einstellungen vorhandener devices auf. )
2019.01.08 09:19:58 1: main::__ANON__ called by fhem.pl (1604)
2019.01.08 09:19:58 1: main::GetDefAndAttr called by fhem.pl (1688)
2019.01.08 09:19:58 1: main::CommandSave called by fhem.pl (1218)
2019.01.08 09:19:58 1: main::AnalyzeCommand called by fhem.pl (1064)
2019.01.08 09:19:58 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2602)
2019.01.08 09:19:58 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (877)
2019.01.08 09:19:58 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (548)
2019.01.08 09:19:58 1: main::FW_Read called by fhem.pl (3610)
2019.01.08 09:19:58 1: main::CallFn called by fhem.pl (727)
2019.01.08 09:19:58 1: PERL WARNING: Use of uninitialized value $val in substitution (s///) at fhem.pl line 1605.
2019.01.08 09:19:58 1: stacktrace:
2019.01.08 09:19:58 1: main::__ANON__ called by fhem.pl (1605)
2019.01.08 09:19:58 1: main::GetDefAndAttr called by fhem.pl (1688)
2019.01.08 09:19:58 1: main::CommandSave called by fhem.pl (1218)
2019.01.08 09:19:58 1: main::AnalyzeCommand called by fhem.pl (1064)
2019.01.08 09:19:58 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2602)
2019.01.08 09:19:58 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (877)
2019.01.08 09:19:58 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (548)
2019.01.08 09:19:58 1: main::FW_Read called by fhem.pl (3610)
2019.01.08 09:19:58 1: main::CallFn called by fhem.pl (727)
2019.01.08 09:19:58 1: PERL WARNING: Use of uninitialized value $val in concatenation (.) or string at fhem.pl line 1606.
2019.01.08 09:19:58 1: stacktrace:
2019.01.08 09:19:58 1: main::__ANON__ called by fhem.pl (1606)
2019.01.08 09:19:58 1: main::GetDefAndAttr called by fhem.pl (1688)
2019.01.08 09:19:58 1: main::CommandSave called by fhem.pl (1218)
2019.01.08 09:19:58 1: main::AnalyzeCommand called by fhem.pl (1064)
2019.01.08 09:19:58 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2602)
2019.01.08 09:19:58 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (877)
2019.01.08 09:19:58 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (548)
2019.01.08 09:19:58 1: main::FW_Read called by fhem.pl (3610)
2019.01.08 09:19:58 1: main::CallFn called by fhem.pl (727)
2019.01.08 09:22:55 1: PERL WARNING: Use of uninitialized value $val in substitution (s///) at fhem.pl line 1604.
2019.01.08 09:22:55 1: stacktrace:
2019.01.08 09:22:55 1: main::__ANON__ called by fhem.pl (1604)
2019.01.08 09:22:55 1: main::GetDefAndAttr called by fhem.pl (1688)
2019.01.08 09:22:55 1: main::CommandSave called by fhem.pl (1218)
2019.01.08 09:22:55 1: main::AnalyzeCommand called by fhem.pl (1064)
2019.01.08 09:22:55 1: main::AnalyzeCommandChain called by ./FHEM/01_FHEMWEB.pm (2602)
2019.01.08 09:22:55 1: main::FW_fC called by ./FHEM/01_FHEMWEB.pm (877)
2019.01.08 09:22:55 1: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (548)
2019.01.08 09:22:55 1: main::FW_Read called by fhem.pl (3610)
2019.01.08 09:22:55 1: main::CallFn called by fhem.pl (727)
so sieht der list zum einzigen web-device aus:
Internals:
CONNECTS 2918
DEF 8083 global
FD 5
NAME WEB
NR 3
NTFY_ORDER 50-WEB
PORT 8083
STATE Initialized
TYPE FHEMWEB
READINGS:
2019-01-08 09:12:34 state Initialized
Attributes:
CORS 1
Css svg.rc_dot { height:14px;; width:14px;; fill:#01A9DB;; vertical-align:middle;; margin:0 0;; }
#readingsGroup-rg_schalten_homObot {max-width: 300px;}
JavaScripts codemirror/fhem_codemirror.js
allowfrom .*
codemirrorParam {"autoRefresh":true,"lineWrapping":true,"theme":"eclipse","autocomplete":false,"height":"auto","autoCloseBrackets":false}
column start:start1|start2
csrfToken none
defaultRoom start
editConfig 1
hiddenroom ProfileRoom
icon it_i-net
iconPath fhemSVG:openautomation:default:fp:weather:icomoon
longpoll 1
longpollSVG 1
menuEntries => <font color="green">updateprüfung</font>,cmd=update+check,
==> <font color="orange">updaten</font>,cmd=update,
===> <font color="#bb0000">neu starten</font>,cmd=shutdown+restart,
< <font color="green">backup</font>,/fhem?cmd=backup,
O <font color="orange">config neu lesen</font>,cmd=rereadcfg fhem.cfg,
X <font color="orange">logfile löschen</font>,cmd=dellog,
readingsgroups,cmd=list TYPE=readingsGroup,
weblinks,cmd=list TYPE=weblink,
plots,cmd=list TYPE=SVG
plotEmbed 1
plotfork 1
room frontends
showUsedFiles 1
sortRooms start frontends fhem fritzbox computer homematic hue infrarot kalender umwelt multimedia logik.und.schalten
stylesheetPrefix ratbright
title { if($FW_room) { "the ratOhaus: $FW_room" } elsif($FW_detail) { "the ratOhaus: $FW_detail" } else { "the ratOhaus" } }
viewport width=device-width, initial-scale=1.0
webCmd rereadicons
widgetOverride wait:textFieldNL-long devStateIcon:textFieldNL-long menuEntries:textFieldNL-long
Bei mir auch, scheint das Xiaomi MQTT Modul bei mir zu sein:
2019.01.08 12:44:44 1: stacktrace:
2019.01.08 12:44:44 1: main::__ANON__ called by fhem.pl (1604)
2019.01.08 12:44:44 1: main::GetDefAndAttr called by fhem.pl (1688)
2019.01.08 12:44:44 1: main::CommandSave called by ./FHEM/72_XiaomiMQTTDevice.pm (285)
2019.01.08 12:44:44 1: XiaomiMQTT::DEVICE::onmessage called by fhem.pl (3610)
2019.01.08 12:44:44 1: main::CallFn called by ./FHEM/00_MQTT.pm (535)
2019.01.08 12:44:44 1: MQTT::__ANON__ called by FHEM/GPUtils.pm (48)
2019.01.08 12:44:44 1: GPUtils::GP_ForallClients called by ./FHEM/00_MQTT.pm (545)
2019.01.08 12:44:44 1: MQTT::Read called by fhem.pl (3610)
2019.01.08 12:44:44 1: main::CallFn called by fhem.pl (727)
2019.01.08 12:44:44 1: PERL WARNING: Use of uninitialized value $val in substitution (s///) at fhem.pl line 1605.
sagts: spinn ich jetzt, oder gehts jetzt wieder nach dem heutigen update?
zumindest devices verändern und "save config" funzt bei mir heute wieder ohne warnings ...
Bei mir sind die Hick-Ups seit gestern wieder weg.