Hallo zusammen,
ich habe im Log folgende Fehlermeldungen:
2015.02.21 13:28:44.437 1: PERL WARNING: Use of uninitialized value $cmd in substitution (s///) at fhem.pl line 879.
2015.02.21 13:28:44.444 1: PERL WARNING: Use of uninitialized value $cmd in eval "string" at fhem.pl line 912.
2015.02.21 13:28:48.446 1: PERL WARNING: Use of uninitialized value $link in substitution (s///) at ./FHEM/55_InfoPanel.pm line 745.
2015.02.21 13:28:48.447 1: PERL WARNING: Use of uninitialized value $link in substitution (s///) at ./FHEM/55_InfoPanel.pm line 746.
2015.02.21 13:28:49.002 1: PERL WARNING: Argument "\x{33}\x{33}..." isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 484.
2015.02.21 13:28:49.003 1: PERL WARNING: Argument "\x{36}\x{34}..." isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 485.
2015.02.21 13:29:02.558 1: PERL WARNING: Subroutine HandleTimeout redefined at ./FHEM/98_apptime.pm line 24.
2015.02.21 13:29:02.563 1: PERL WARNING: Subroutine CallFn redefined at ./FHEM/98_apptime.pm line 58.
Liegt das an meiner cfg oder an den Modulen selbst?
Grüße
Michael
Das liegt an Deiner Layoutdefinition. Halte Dich an die vorgeschriebene Syntax der verwendeten Layoutelemente und die Fehler werden verschwinden.
Hallo zusammen.
Ich habe fast die Gleichen Warnungen.
Logfile
2015.02.25 18:59:49 1: PERL WARNING: Use of uninitialized value $cmd in substitution (s///) at fhem.pl line 879.
2015.02.25 18:59:49 1: PERL WARNING: Use of uninitialized value $cmd in eval "string" at fhem.pl line 912.
Diese Warnmeldungen tauchen auf, nach dem ich eine leeres InfoPanel Layout aufrufe. Layoutdatei HTC.layout ist vorhanden
Fhem.cfg
define HTC InfoPanel ./FHEM/HTC.layout
attr HTC room Info
Wenn ich ein Layout aufrufe welches mit einem SVG_Plot bestückt ist tauchen diese Warnmeldungen zusätzlich noch auf.
Nehme ich den Plot raus tauchen nur die oberen Warnungen auf.
Logfile
2015.02.25 19:05:36 1: PERL WARNING: Argument "\x{38}\x{30}..." isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 485.
2015.02.25 19:05:36 1: PERL WARNING: Argument "\x{31}\x{36}..." isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 486.
InfoPanel layout
####### Informationen am Unterem Bildschirmrand ##########
# Ein farbiges Rechteck hinter den Plot legen:
#
rgb "7F7F7FFF" # grau
rect - 0 440 800 600 0 0 1 0 ""
plot - 0 440 1 1 "SVG_Wetter"
#
Fhem.cfg
define SVG_Wetter SVG Wetterlog:SVG_owolog_1:CURRENT
attr SVG_Wetter label "min:$data{min1}°C max:$data{max1}°C akt:$data{currval1}°C"
attr SVG_Wetter room Info
define Panel InfoPanel ./FHEM/demo.layout
attr Panel room Info
Ich habe noch nicht raus wann diese Warnungen auftauchen.
Das war allerdings vor dem heutigen Update.
Logfile
2015.02.25 09:35:02 1: PERL WARNING: Use of uninitialized value $link in substitution (s///) at ./FHEM/55_InfoPanel.pm line 760.
2015.02.25 09:35:02 1: PERL WARNING: Use of uninitialized value $link in substitution (s///) at ./FHEM/55_InfoPanel.pm line 761.
Es wird alles richtig angezeigt. Ich finde keinen Fehler
Hallo zusammen.
Auch wenn ich jetzt mecker bekomme hole ich das Thema noch mal nach vorne, weil ich einfach nicht weiter komme.
Ich habe die commandref jetzt mehrfach durchsucht und verglichen, das Forum mit der Suchfunktion bombardiert, aber ich finde keinen Fehler.
Entweder bin ich zu blöd oder ich kapiere da was nicht.
Mit freundlichen Grüßen
Ingo
Vielen dank für eure Zahlreiche Unterstützung.
Ich kann auch mit den Warnungen leben.
Nach dem heutigen Update kam halt noch eine dazu
PERL WARNING: Use of uninitialized value $texts[0] in join or string at ./FHEM/57_Calendar.pm line 1072.
Diese taucht auf wenn ich den Floorplan aufrufe
PERL WARNING: Use of uninitialized value $cmd in substitution (s///) at fhem.pl line 923.
Teste mal mit der heute per update ausgelieferten Modulversion des Infopanel.
Immer noch die selben Warnungen.
Ich habe nach dem Update noch ein Update force durchgeführt das Ergebnis ist das selbe geblieben.
Wie kann ich überprüfen ob ich alle benötigten Perlmodule installiert habe??
moment
Aufruf InfoPanel
2015.03.02 12:01:41 1: PERL WARNING: Use of uninitialized value $cmd in substitution (s///) at fhem.pl line 881.
2015.03.02 12:01:41 1: PERL WARNING: Use of uninitialized value $cmd in eval "string" at fhem.pl line 914.
2015.03.02 12:01:47 1: PERL WARNING: Argument "\x{38}\x{30}..." isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 487.
2015.03.02 12:01:47 1: PERL WARNING: Argument "\x{31}\x{36}..." isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 488.
Aufruf Floorplan
2015.03.02 12:04:25 1: PERL WARNING: Use of uninitialized value $cmd in substitution (s///) at fhem.pl line 925.
Gleich nach restart
2015.03.02 11:54:55 1: PERL WARNING: Use of uninitialized value $texts[0] in join or string at ./FHEM/57_Calendar.pm line 1072.
Danke
Zitat von: jungeradleresw am 02 März 2015, 11:59:28
Wie kann ich überprüfen ob ich alle benötigten Perlmodule installiert habe??
Das brauchst Du nicht überprüfen. Wenn was fehlt, startet fhem entweder überhaupt nicht oder Du findest eine Fehlermeldung im Logfile.
Die Warnungen, die Du oben beschrieben hast, habe ich gestern alle gefixt. Bist Du sicher, dass Du nach dem update Dein fhem neu gestartet hast?
Ich bin mir eigentlich ziemlich sicher.
Nach update force
einen shutdown restart
2015.03.02 12:09:44 0: Server shutdown
2015.03.02 12:09:49 1: Including fhem.cfg
2015.03.02 12:09:49 3: telnetPort: port 7072 opened
2015.03.02 12:09:52 3: WEB: port 8083 opened
2015.03.02 12:09:52 3: WEBphone: port 8084 opened
2015.03.02 12:09:52 3: WEBtablet: port 8085 opened
2015.03.02 12:09:53 2: eventTypes: loaded 3637 events from ./log/eventTypes.txt
2015.03.02 12:10:01 1: Including ./log/fhem.save
2015.03.02 12:10:02 1: usb create starting
2015.03.02 12:10:03 3: Probing CUL device /dev/ttyAMA0
2015.03.02 12:10:03 1: Can't locate Device/SerialPort.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . ./FHEM) at ./FHEM/DevIo.pm line 265.
2015.03.02 12:10:03 1: usb create end
2015.03.02 12:10:03 2: SecurityCheck: telnetPort has no password/globalpassword attribute. Running with root privileges. Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2015.03.02 12:10:03 0: Server started with 150 defined entities (version $Id: fhem.pl 8115 2015-03-01 12:53:35Z rudolfkoenig $, os linux, user root, pid 8248)
Mach mal bitte ein "version InfoPanel" und poste die Ausgabe.
Bitte schön
# $Id: 55_InfoPanel.pm 8130 2015-03-01 21:50:33Z betateilchen $
Ausgabe Version
# $Id: fhem.pl 8115 2015-03-01 12:53:35Z rudolfkoenig $
# $Id: 57_CALVIEW.pm 7006 2015-01-13 20:15:00Z chris1284 $
# $Id: 57_Calendar.pm 7701 2015-01-24 20:16:37Z borisneubert $
# $Id: 01_FHEMWEB.pm 8097 2015-02-26 06:47:28Z rudolfkoenig $
# $Id: 95_FLOORPLAN.pm 8062 2015-02-22 08:18:15Z ulimaass $
# $Id: 92_FileLog.pm 7854 2015-02-03 19:23:22Z rudolfkoenig $
# $Id: 49_IPCAM.pm 2626 2013-02-01 19:19:15Z mfr69bs $
# $Id: 55_InfoPanel.pm 8130 2015-03-01 21:50:33Z betateilchen $
# $Id: 51_RPI_GPIO.pm 7059 2014-11-24 20:35:23Z klauswitt $
# $Id: 02_RSS.pm 7991 2015-02-15 11:50:48Z borisneubert $
# $Id: 99_SUNRISE_EL.pm 6765 2014-10-14 18:24:29Z rudolfkoenig $
# $Id: 98_SVG.pm 8125 2015-03-01 16:54:09Z rudolfkoenig $
# $Id: 99_Utils.pm 7914 2015-02-08 11:14:10Z rudolfkoenig $
# $Id: 59_Weather.pm 6705 2014-10-07 17:41:42Z borisneubert $
# $Id: 90_at.pm 8098 2015-02-26 10:12:24Z rudolfkoenig $
# $Id: 98_autocreate.pm 6505 2014-09-06 12:24:48Z rudolfkoenig $
# $Id: 98_dummy.pm 4934 2014-02-15 08:23:12Z rudolfkoenig $
# $Id: 91_eventTypes.pm 7221 2014-12-15 10:02:49Z rudolfkoenig $
# $Id: 91_notify.pm 8098 2015-02-26 10:12:24Z rudolfkoenig $
# $Id: 98_telnet.pm 8017 2015-02-17 11:10:16Z rudolfkoenig $
./FHEM/95_webViewControl.pm: No such file or directory
# $Id: 98_weblink.pm 5608 2014-04-23 10:57:16Z rudolfkoenig $
Ich danke Dir
attr global stacktrace 1
Danach das InfoPanel einmal aufrufen und die Logausgabe hier posten.
Danach wieder abschalten:
attr global stacktrace 0
2015.03.02 20:57:17 1: PERL WARNING: Use of uninitialized value $cmd in substitution (s///) at fhem.pl line 881, <FH> line 41610.
2015.03.02 20:57:17 3: stacktrace:
2015.03.02 20:57:17 3: main::__ANON__ called by fhem.pl (881)
2015.03.02 20:57:17 3: main::AnalyzePerlCommand called by ./FHEM/55_InfoPanel.pm (818)
2015.03.02 20:57:17 3: (eval) called by ./FHEM/55_InfoPanel.pm (806)
2015.03.02 20:57:17 3: main::btIP_returnSVG called by ./FHEM/55_InfoPanel.pm (1356)
2015.03.02 20:57:17 3: main::btIP_returnHTML called by ./FHEM/55_InfoPanel.pm (1315)
2015.03.02 20:57:17 3: main::btIP_CGI called by ./FHEM/01_FHEMWEB.pm (645)
2015.03.02 20:57:17 3: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (424)
2015.03.02 20:57:17 3: main::FW_Read called by fhem.pl (2955)
2015.03.02 20:57:17 3: main::CallFn called by fhem.pl (606)
2015.03.02 20:57:17 1: PERL WARNING: Use of uninitialized value $cmd in eval "string" at fhem.pl line 914, <FH> line 41610.
2015.03.02 20:57:17 3: stacktrace:
2015.03.02 20:57:17 3: main::__ANON__ called by fhem.pl (914)
2015.03.02 20:57:17 3: main::AnalyzePerlCommand called by ./FHEM/55_InfoPanel.pm (818)
2015.03.02 20:57:17 3: (eval) called by ./FHEM/55_InfoPanel.pm (806)
2015.03.02 20:57:17 3: main::btIP_returnSVG called by ./FHEM/55_InfoPanel.pm (1356)
2015.03.02 20:57:17 3: main::btIP_returnHTML called by ./FHEM/55_InfoPanel.pm (1315)
2015.03.02 20:57:17 3: main::btIP_CGI called by ./FHEM/01_FHEMWEB.pm (645)
2015.03.02 20:57:17 3: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (424)
2015.03.02 20:57:17 3: main::FW_Read called by fhem.pl (2955)
2015.03.02 20:57:17 3: main::CallFn called by fhem.pl (606)
2015.03.02 20:57:26 1: PERL WARNING: Argument "\x{38}\x{30}..." isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 487.
2015.03.02 20:57:26 3: stacktrace:
2015.03.02 20:57:26 3: main::__ANON__ called by ./FHEM/55_InfoPanel.pm (487)
2015.03.02 20:57:26 3: main::_btIP_imgRescale called by ./FHEM/55_InfoPanel.pm (470)
2015.03.02 20:57:26 3: main::_btIP_imgData called by ./FHEM/55_InfoPanel.pm (553)
2015.03.02 20:57:26 3: main::btIP_itemPlot called by ./FHEM/55_InfoPanel.pm (1124)
2015.03.02 20:57:26 3: (eval) called by ./FHEM/55_InfoPanel.pm (957)
2015.03.02 20:57:26 3: main::btIP_evalLayout called by ./FHEM/55_InfoPanel.pm (862)
2015.03.02 20:57:26 3: (eval) called by ./FHEM/55_InfoPanel.pm (806)
2015.03.02 20:57:26 3: main::btIP_returnSVG called by ./FHEM/55_InfoPanel.pm (1356)
2015.03.02 20:57:26 3: main::btIP_returnHTML called by ./FHEM/55_InfoPanel.pm (1315)
2015.03.02 20:57:26 3: main::btIP_CGI called by ./FHEM/01_FHEMWEB.pm (645)
2015.03.02 20:57:26 3: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (424)
2015.03.02 20:57:26 3: main::FW_Read called by fhem.pl (2955)
2015.03.02 20:57:26 3: main::CallFn called by fhem.pl (606)
2015.03.02 20:57:26 1: PERL WARNING: Argument "\x{31}\x{36}..." isn't numeric in multiplication (*) at ./FHEM/55_InfoPanel.pm line 488.
2015.03.02 20:57:26 3: stacktrace:
2015.03.02 20:57:26 3: main::__ANON__ called by ./FHEM/55_InfoPanel.pm (488)
2015.03.02 20:57:26 3: main::_btIP_imgRescale called by ./FHEM/55_InfoPanel.pm (470)
2015.03.02 20:57:26 3: main::_btIP_imgData called by ./FHEM/55_InfoPanel.pm (553)
2015.03.02 20:57:26 3: main::btIP_itemPlot called by ./FHEM/55_InfoPanel.pm (1124)
2015.03.02 20:57:26 3: (eval) called by ./FHEM/55_InfoPanel.pm (957)
2015.03.02 20:57:26 3: main::btIP_evalLayout called by ./FHEM/55_InfoPanel.pm (862)
2015.03.02 20:57:26 3: (eval) called by ./FHEM/55_InfoPanel.pm (806)
2015.03.02 20:57:26 3: main::btIP_returnSVG called by ./FHEM/55_InfoPanel.pm (1356)
2015.03.02 20:57:26 3: main::btIP_returnHTML called by ./FHEM/55_InfoPanel.pm (1315)
2015.03.02 20:57:26 3: main::btIP_CGI called by ./FHEM/01_FHEMWEB.pm (645)
2015.03.02 20:57:26 3: main::FW_answerCall called by ./FHEM/01_FHEMWEB.pm (424)
2015.03.02 20:57:26 3: main::FW_Read called by fhem.pl (2955)
2015.03.02 20:57:26 3: main::CallFn called by fhem.pl (606)
Nur zur Info: Ich nutze einen Raspberry B+, Raspbian Wheezy, Linux 3.18.7+
ok, Du hast gewonnen 8)
War wohl gestern abend schon spät, ich hab tatsächlich vergessen, die letzten Änderungen einzuchecken.
Kommt morgen früh per update, alternativ kannst Du das aktuelle Modul auch aus SVN oder git runterladen.
https://git.fhem.de/gitweb/?p=fhem.git;a=blob_plain;f=fhem/FHEM/55_InfoPanel.pm
Kann passieren.
Nach dem ersten Post von dir
Zitat
Das liegt an Deiner Layoutdefinition. Halte Dich an die vorgeschriebene Syntax der verwendeten Layoutelemente und die Fehler werden verschwinden.
War ich ein wenig irritiert.
Ich habe dann mein ganzes Layout nach und nach wieder aufgebaut.
Habe sie mir doch runter geladen.
Warnungen tauchen keine mehr auf
Vielen Dank für deine Bemühungen.
Guts nächtle.
Hallo Zusammen,
ich habe ebenfalls
ZitatPERL WARNING: Use of uninitialized value $texts[0] in join or string at ./FHEM/57_Calendar.pm line 1072.
wie habt Ihr das gelöst / gefixt ? oder einfach ignoriert ?
kvo1
hmm, hab' gestern wg. libc-dns-bug mein Linux aktualisiert, seitdem loggt FHEM bei jedem Start:
---
2016.02.22 20:01:19 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE $/ at ./FHEM/33_readingsGroup.pm line 975.
2016.02.22 20:01:19 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE $/ at ./FHEM/33_readingsGroup.pm line 980.
2016.02.22 20:01:21 1: PERL WARNING: Use of uninitialized value $plot in substitution (s///) at ./FHEM/98_SVG.pm line 818.
2016.02.22 20:01:21 1: PERL WARNING: Use of uninitialized value $plot in substitution (s///) at ./FHEM/98_SVG.pm line 823.
2016.02.22 20:01:21 1: PERL WARNING: Use of uninitialized value $pTemp in substitution (s///) at ./FHEM/98_SVG.pm line 1214.
2016.02.22 20:01:21 1: PERL WARNING: Use of uninitialized value $pTemp in substitution (s///) at ./FHEM/98_SVG.pm line 1216.
2016.02.22 20:01:21 1: PERL WARNING: Use of uninitialized value $pTemp in substitution (s///) at ./FHEM/98_SVG.pm line 1217.
2016.02.22 20:01:21 1: PERL WARNING: Use of uninitialized value $pTemp in substitution (s///) at ./FHEM/98_SVG.pm line 1218.
2016.02.22 20:01:21 1: PERL WARNING: Use of uninitialized value $pTemp in substitution (s///) at ./FHEM/98_SVG.pm line 1219.
2016.02.22 20:01:21 1: PERL WARNING: Use of uninitialized value $conf{"terminal"} in pattern match (m//) at ./FHEM/98_SVG.pm line 1315.
2016.02.22 20:01:28 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE $/ at ./FHEM/33_readingsGroup.pm line 1241.
---
Heute habe ich dann auch FHEM aktualisiert, da hat sich ne Menge getan - aber die Log-Meldungen sind geblieben...
Ist das neue Perl zu mäkelig?
---
$ perl --version
This is perl 5, version 20, subversion 2 (v5.20.2) built for arm-linux-gnueabihf-thread-multi-64int
---