Autor Thema: FHEM mit Perl 5.24.1  (Gelesen 715 mal)

Offline PNinBB

  • Jr. Member
  • **
  • Beiträge: 90
FHEM mit Perl 5.24.1
« am: 18 Mai 2017, 09:03:56 »
Mein FHEM läuft seit mehreren Jahren. Am 14.05.2017 habe ich perl5 (revision 5 version 24 subversion 1) über CPAN installiert.
In dieser Zeit lief FHEM normal weiter. Gestern habe ich einen FHEM-Update gemacht und danach FHEM natürlich neu gestartet. Seit diesem Moment startet FHEM nicht mehr.
Im Logfile gab es mehrere Hinweise auf noch fehlende Module in der neuen Installation, die nunmehr in einem neuen Unterverzeichnis liegt.
Bisher:
/usr/share/perl/5.20.2
Nunmehr:
/usr/local/lib/perl5/site_perl/5.24.1
Ich habe diese Module installiert; aber trotzdem lässt sich FHEM nicht starten. '@INC' zeigt auch auf die richtigen Verzeichnisse. Im Logfile gibt es folgendes.
2017.05.18 08:23:09 1: PERL WARNING: Prototype mismatch: sub main::ctime: none vs (;$) at /usr/local/lib/perl5/5.24.1/Exporter.pm line 66.
2017.05.18 08:23:09 1: PERL WARNING: Prototype mismatch: sub main::ctime (;$) vs none at ./FHEM/99_myElektroUtils.pm line 21.
2017.05.18 08:23:09 1: PERL WARNING: Smartmatch is experimental at ./FHEM/99_myFinanzUtils.pm line 113.
2017.05.18 08:23:09 3: setreading du_KopplerTTRL state entkoppelt : Please define du_KopplerTTRL first
2017.05.18 08:23:09 1: PERL WARNING: Subroutine ISDBEintrag redefined at ./FHEM/99_myTemperaturUtils.pm line 43.
2017.05.18 08:23:09.942 1: Including fhem.cfg
2017.05.18 08:23:09.985 1: PERL WARNING: Subroutine myHeizungUtils_Initialize redefined at ./FHEM/99_myHeizungUtils.pm line 42, <$fh> line 7.
2017.05.18 08:23:09.986 1: PERL WARNING: Subroutine LeseTHTemp redefined at ./FHEM/99_myHeizungUtils.pm line 115, <$fh> line 7.
2017.05.18 08:23:09.987 1: PERL WARNING: Subroutine SchreibeTHTemp redefined at ./FHEM/99_myHeizungUtils.pm line 141, <$fh> line 7.
2017.05.18 08:23:09.989 1: PERL WARNING: Subroutine THRestart redefined at ./FHEM/99_myHeizungUtils.pm line 167, <$fh> line 7.
2017.05.18 08:23:09.991 1: PERL WARNING: Subroutine DynModifyHeizung redefined at ./FHEM/99_myHeizungUtils.pm line 223, <$fh> line 7.
2017.05.18 08:23:10.000 1: PERL WARNING: Subroutine myHeizungUtils_HZ_TH_Steuerung redefined at ./FHEM/99_myHeizungUtils.pm line 312, <$fh> line 7.
2017.05.18 08:23:10.002 1: PERL WARNING: Subroutine myHeizungUtils_HZRestart redefined at ./FHEM/99_myHeizungUtils.pm line 630, <$fh> line 7.
2017.05.18 08:23:10.005 1: PERL WARNING: Subroutine myHeizungUtils_THModeSetzen redefined at ./FHEM/99_myHeizungUtils.pm line 659, <$fh> line 7.
2017.05.18 08:23:10.007 1: PERL WARNING: Subroutine myHeizungUtils_SetTemp redefined at ./FHEM/99_myHeizungUtils.pm line 702, <$fh> line 7.
2017.05.18 08:23:10.009 1: PERL WARNING: Subroutine myHeizungUtils_TestTagesBeginn redefined at ./FHEM/99_myHeizungUtils.pm line 777, <$fh> line 7.
2017.05.18 08:23:10.067 3: telnetPort: port 7072 opened
2017.05.18 08:23:10.404 3: WEB: port 8083 opened
2017.05.18 08:23:10.419 3: WEBphone: port 8084 opened
2017.05.18 08:23:10.425 3: WEBtablet: port 8085 opened
2017.05.18 08:23:10.442 3: TabletPortal: new ext defined infix:ftui/: dir:./www/tablet:
2017.05.18 08:23:10.443 3: Registering HTTPSRV TabletPortal for URL /ftui   and assigned link ftui/ ...
Usage: POSIX::strftime(fmt, sec, min, hour, mday, mon, year, wday = -1, yday = -1, isdst = -1) at fhem.pl line 3140, <$fh> line 77.
Ich habe auch versucht, FHEM mit der fhem.cfg.demo zu starten. Es ergeben sich die gleichen Fehlermeldungen im Logfile.
Dazu ein paar Fragen:
  • Es sind doch im Wesentlichen "nur" PERL Warnungen. Das kann es doch wohl nicht die eigentliche Ursache sein !?
  • Die Meldung "... Please define du_KopplerTTRL firs" verstehe ich nicht, da der Dummy definiert ist
  • Was geschieht mit der Variablen $fh, die oft - auch im Zusammenhang mit fhem.pl - erwähnt wird ?
Ich habe auch den Rechner neu gestartet und auch die Systemlogs durchforstet, allerdings nichts Verwertbares gefunden.
Für jeden Tipp bin ich natürlich dankbar !
Peter
Raspberry Pi 3B mit RaZberry2 (Debian Jessie) als FHEM-Server; FritzBox 7490;
AEOTec: Key Fob Gen5: 1x
Danfoss: Living Connect 2.51: 3x;
Fibaro: FGRM222: 3 x; FGMS001: 2x; FGK-101: 3x; FGBS-001: 8x
Philio: In Wall Dual Relay PAN06-1A: 3x.

Offline rudolfkoenig

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 16591
Antw:FHEM mit Perl 5.24.1
« Antwort #1 am: 18 Mai 2017, 11:52:36 »
Manche der WARNINGs (die mit redefined) sind unabhaengig von der Perl Version.

Die letzte Zeile konnte FHEM nicht abfangen, ich vermute sie ist "schuld" an dem Absturz.
Kannst du bitte in fhem.pl die Zeile 3140
  return strftime($f,@t);
durch
  return strftime($f, $t[0], $t[1], $t[2], $t[3], $t[4], $t[6], $t[7], $t[8]);
austauschen, und berichten ob es hilft?

Btw. ich habe mit einem perl 5.24.0 kein Probem.

Offline PNinBB

  • Jr. Member
  • **
  • Beiträge: 90
Antw:FHEM mit Perl 5.24.1
« Antwort #2 am: 18 Mai 2017, 18:28:03 »
Zuerst besten Dank für den Hinweis; es scheint aber noch nicht die Lösung zu sein.
Ich war unterwegs, deshalb die verspätete Reaktion.
Ich habe deinen Hinweis aufgenommen, allerdings nicht
return strftime($f, $t[0], $t[1], $t[2], $t[3], $t[4], $t[6], $t[7], $t[8]);sondern
return strftime($f, $t[0], $t[1], $t[2], $t[3], $t[4], $t[5], $t[6], $t[7], $t[8]);eingesetzt. War das Auslassen des Elements [5] Absicht ?? Ich habe nur mal so probiert. Ohne Element [5] steigt er sofort aus und liefert nicht einmal einen Eintrag in den Logfile.
Mit allen Elementen bleibt der Server aber nur ca. 7 Sekunden "am Leben" und steigt dann wieder aus. Anbei der Logfile-Abschnitt.
2017.05.18 18:01:27 1: PERL WARNING: Prototype mismatch: sub main::ctime: none vs (;$) at /usr/local/lib/perl5/5.24.1/Exporter.pm line 66.
2017.05.18 18:01:27 1: PERL WARNING: Prototype mismatch: sub main::ctime (;$) vs none at ./FHEM/99_myFernBedienungUtils.pm line 19.
2017.05.18 18:01:27 1: PERL WARNING: Smartmatch is experimental at ./FHEM/99_myFinanzUtils.pm line 113.
2017.05.18 18:01:28 3: setreading du_KopplerTTRL state entkoppelt : Please define du_KopplerTTRL first
2017.05.18 18:01:28 1: PERL WARNING: Subroutine ISDBEintrag redefined at ./FHEM/99_myTemperaturUtils.pm line 43.
2017.05.18 18:01:28.310 1: Including fhem.cfg
2017.05.18 18:01:28.353 1: PERL WARNING: Subroutine myHeizungUtils_Initialize redefined at ./FHEM/99_myHeizungUtils.pm line 42, <$fh> line 7.
2017.05.18 18:01:28.354 1: PERL WARNING: Subroutine LeseTHTemp redefined at ./FHEM/99_myHeizungUtils.pm line 115, <$fh> line 7.
2017.05.18 18:01:28.355 1: PERL WARNING: Subroutine SchreibeTHTemp redefined at ./FHEM/99_myHeizungUtils.pm line 141, <$fh> line 7.
2017.05.18 18:01:28.357 1: PERL WARNING: Subroutine THRestart redefined at ./FHEM/99_myHeizungUtils.pm line 167, <$fh> line 7.
2017.05.18 18:01:28.359 1: PERL WARNING: Subroutine DynModifyHeizung redefined at ./FHEM/99_myHeizungUtils.pm line 223, <$fh> line 7.
2017.05.18 18:01:28.367 1: PERL WARNING: Subroutine myHeizungUtils_HZ_TH_Steuerung redefined at ./FHEM/99_myHeizungUtils.pm line 312, <$fh> line 7.
2017.05.18 18:01:28.370 1: PERL WARNING: Subroutine myHeizungUtils_HZRestart redefined at ./FHEM/99_myHeizungUtils.pm line 630, <$fh> line 7.
2017.05.18 18:01:28.372 1: PERL WARNING: Subroutine myHeizungUtils_THModeSetzen redefined at ./FHEM/99_myHeizungUtils.pm line 659, <$fh> line 7.
2017.05.18 18:01:28.374 1: PERL WARNING: Subroutine myHeizungUtils_SetTemp redefined at ./FHEM/99_myHeizungUtils.pm line 702, <$fh> line 7.
2017.05.18 18:01:28.375 1: PERL WARNING: Subroutine myHeizungUtils_TestTagesBeginn redefined at ./FHEM/99_myHeizungUtils.pm line 777, <$fh> line 7.
2017.05.18 18:01:28.437 3: telnetPort: port 7072 opened
2017.05.18 18:01:28.781 3: WEB: port 8083 opened
2017.05.18 18:01:28.795 3: WEBphone: port 8084 opened
2017.05.18 18:01:28.800 3: WEBtablet: port 8085 opened
2017.05.18 18:01:28.859 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 80.
2017.05.18 18:01:29.427 2: eventTypes: loaded 5622 events from ./log/eventTypes.txt
2017.05.18 18:01:29.888 3: ZWave: cannot load Crypt::Rijndael, SECURITY class disabled
2017.05.18 18:01:30.273 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 858.
2017.05.18 18:01:30.366 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 938.
2017.05.18 18:01:30.520 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 959.
2017.05.18 18:01:30.532 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 978.
2017.05.18 18:01:30.543 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 996.
2017.05.18 18:01:30.557 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1018.
2017.05.18 18:01:30.569 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1044.
2017.05.18 18:01:30.579 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1058.
2017.05.18 18:01:30.590 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1072.
2017.05.18 18:01:30.602 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1090.
2017.05.18 18:01:30.613 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1104.
2017.05.18 18:01:30.623 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1118.
2017.05.18 18:01:30.635 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1138.
2017.05.18 18:01:30.648 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1155.
2017.05.18 18:01:30.661 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1180.
2017.05.18 18:01:30.674 1: PERL WARNING: Odd number of elements in hash assignment at ./FHEM/10_ZWave.pm line 4869, <$fh> line 1198.
2017.05.18 18:01:30.675 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1199.
2017.05.18 18:01:30.687 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1216.
2017.05.18 18:01:30.700 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1234.
2017.05.18 18:01:30.710 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1245.
2017.05.18 18:01:30.720 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1257.
2017.05.18 18:01:30.732 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1279.
2017.05.18 18:01:30.744 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1292.
2017.05.18 18:01:30.755 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1304.
2017.05.18 18:01:30.765 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1316.
2017.05.18 18:01:30.777 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1332.
2017.05.18 18:01:30.789 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1345.
2017.05.18 18:01:30.800 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1357.
2017.05.18 18:01:30.811 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1369.
2017.05.18 18:01:30.823 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1384.
2017.05.18 18:01:30.834 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1397.
2017.05.18 18:01:30.846 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1409.
2017.05.18 18:01:30.858 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1421.
2017.05.18 18:01:30.870 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1437.
2017.05.18 18:01:30.882 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1449.
2017.05.18 18:01:30.893 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1460.
2017.05.18 18:01:30.905 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1472.
2017.05.18 18:01:30.917 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1487.
2017.05.18 18:01:30.929 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1499.
2017.05.18 18:01:30.941 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1511.
2017.05.18 18:01:30.953 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1523.
2017.05.18 18:01:30.968 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1543.
2017.05.18 18:01:30.981 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1555.
2017.05.18 18:01:30.993 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1567.
2017.05.18 18:01:31.006 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1581.
2017.05.18 18:01:31.019 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1593.
2017.05.18 18:01:31.032 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1605.
2017.05.18 18:01:31.045 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1617.
2017.05.18 18:01:31.060 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1634.
2017.05.18 18:01:31.073 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1646.
2017.05.18 18:01:31.086 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1658.
2017.05.18 18:01:31.100 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1672.
2017.05.18 18:01:31.114 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1685.
2017.05.18 18:01:31.127 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1697.
2017.05.18 18:01:31.141 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1709.
2017.05.18 18:01:31.157 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1725.
2017.05.18 18:01:31.171 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1737.
2017.05.18 18:01:31.185 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1749.
2017.05.18 18:01:31.216 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1778.
2017.05.18 18:01:31.223 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1792.
2017.05.18 18:01:31.230 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1804.
2017.05.18 18:01:31.237 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 1817.
2017.05.18 18:01:31.545 1: PERL WARNING: Use of uninitialized value in subroutine entry at ./FHEM/90_at.pm line 111, <$fh> line 2353.
2017.05.18 18:01:31.546 1: PERL WARNING: Use of uninitialized value $nt in numeric ge (>=) at ./FHEM/90_at.pm line 112, <$fh> line 2353.
2017.05.18 18:01:31.546 1: PERL WARNING: Use of uninitialized value $t in division (/) at ./FHEM/90_at.pm line 34, <$fh> line 2353.
2017.05.18 18:01:31.546 1: PERL WARNING: Use of uninitialized value $t in addition (+) at ./FHEM/90_at.pm line 38, <$fh> line 2353.
2017.05.18 18:01:31.547 1: PERL WARNING: Use of uninitialized value in subtraction (-) at ./FHEM/90_at.pm line 39, <$fh> line 2353.
2017.05.18 18:01:31.548 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2353.
2017.05.18 18:01:31.556 1: PERL WARNING: Use of uninitialized value in subroutine entry at ./FHEM/90_at.pm line 111, <$fh> line 2358.
2017.05.18 18:01:31.557 1: PERL WARNING: Use of uninitialized value $nt in numeric ge (>=) at ./FHEM/90_at.pm line 112, <$fh> line 2358.
2017.05.18 18:01:31.557 1: PERL WARNING: Use of uninitialized value $t in division (/) at ./FHEM/90_at.pm line 34, <$fh> line 2358.
2017.05.18 18:01:31.557 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2358.
2017.05.18 18:01:31.564 1: PERL WARNING: Use of uninitialized value in subroutine entry at ./FHEM/90_at.pm line 111, <$fh> line 2363.
2017.05.18 18:01:31.565 1: PERL WARNING: Use of uninitialized value $nt in numeric ge (>=) at ./FHEM/90_at.pm line 112, <$fh> line 2363.
2017.05.18 18:01:31.565 1: PERL WARNING: Use of uninitialized value $t in division (/) at ./FHEM/90_at.pm line 34, <$fh> line 2363.
2017.05.18 18:01:31.565 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2363.
2017.05.18 18:01:31.570 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2368.
2017.05.18 18:01:31.573 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2372.
2017.05.18 18:01:31.577 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2376.
2017.05.18 18:01:32.224 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2840.
2017.05.18 18:01:32.246 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2868.
2017.05.18 18:01:32.265 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2891.
2017.05.18 18:01:32.362 3: Opening FritzBox device 192.168.2.1:1012
2017.05.18 18:01:32.366 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 2901.
2017.05.18 18:01:32.410 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 3013.
2017.05.18 18:01:32.720 1: PERL WARNING: Use of uninitialized value $time[2] in multiplication (*) at ./FHEM/59_Twilight.pm line 205, <$fh> line 3047.
2017.05.18 18:01:32.720 1: PERL WARNING: Use of uninitialized value $time[1] in multiplication (*) at ./FHEM/59_Twilight.pm line 205, <$fh> line 3047.
2017.05.18 18:01:33.086 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 3128.
2017.05.18 18:01:33.088 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3132.
2017.05.18 18:01:33.092 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3141.
2017.05.18 18:01:33.094 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3144.
2017.05.18 18:01:33.096 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3147.
2017.05.18 18:01:33.097 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3150.
2017.05.18 18:01:33.099 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3153.
2017.05.18 18:01:33.101 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3167.
2017.05.18 18:01:33.103 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3170.
2017.05.18 18:01:33.105 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3173.
2017.05.18 18:01:33.107 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3176.
2017.05.18 18:01:33.156 1: PERL WARNING: Use of uninitialized value $lt[2] in multiplication (*) at ./FHEM/98_DOIFtools.pm line 971, <$fh> line 3179.
2017.05.18 18:01:33.156 1: PERL WARNING: Use of uninitialized value $lt[1] in multiplication (*) at ./FHEM/98_DOIFtools.pm line 971, <$fh> line 3179.
2017.05.18 18:01:33.159 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 3186.
2017.05.18 18:01:33.170 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 3194.
2017.05.18 18:01:33.181 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 3200.
2017.05.18 18:01:33.200 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 3207.
2017.05.18 18:01:33.220 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 3214.
2017.05.18 18:01:33.240 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 3221.
2017.05.18 18:01:33.260 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 3227.
2017.05.18 18:01:33.280 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 3233.
2017.05.18 18:01:33.283 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3236.
2017.05.18 18:01:33.303 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 3241.
2017.05.18 18:01:33.307 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3244.
2017.05.18 18:01:33.327 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 3249.
2017.05.18 18:01:33.330 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3252.
2017.05.18 18:01:33.351 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3140, <$fh> line 3257.
2017.05.18 18:01:33.353 1: Including ./log/fhem.save
2017.05.18 18:01:33.376 3: WARNING: unsupported character in reading "zwaveGetNodesInRange (not A-Za-z/\d_\.-), notify the ZWave module maintainer.
2017.05.18 18:01:33.981 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 1829.
2017.05.18 18:01:33.985 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 1832.
2017.05.18 18:01:33.995 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 1851.
2017.05.18 18:01:34.073 3: No I/O device found for ZWave_Node_18.2
2017.05.18 18:01:34.073 3: No I/O device found for FL_DB_TV
2017.05.18 18:01:34.073 3: No I/O device found for WZ_HZ_T1
2017.05.18 18:01:34.074 3: No I/O device found for WZ_GZ_FS
2017.05.18 18:01:34.074 3: No I/O device found for ZWave_Node_6.1
2017.05.18 18:01:34.074 3: No I/O device found for SZ_GZ_FS
2017.05.18 18:01:34.074 3: No I/O device found for AZ_SK_D1
2017.05.18 18:01:34.074 3: No I/O device found for WZ_FG_TT
2017.05.18 18:01:34.075 3: No I/O device found for AZ_GZ_FV
2017.05.18 18:01:34.075 3: No I/O device found for WZ_RL_FS
2017.05.18 18:01:34.075 3: No I/O device found for WZ_SK_D2
2017.05.18 18:01:34.075 3: No I/O device found for GA_AB_TA
2017.05.18 18:01:34.075 3: No I/O device found for AZ_HZ_T1
2017.05.18 18:01:34.075 3: No I/O device found for FL_DS_S2
2017.05.18 18:01:34.076 3: No I/O device found for AZ_TE_FV
2017.05.18 18:01:34.076 3: No I/O device found for WZ_TE_TT
2017.05.18 18:01:34.076 3: No I/O device found for WZ_DB_TT
2017.05.18 18:01:34.076 3: No I/O device found for BD_HZ_T1
2017.05.18 18:01:34.076 3: No I/O device found for WZ_FG_FS
2017.05.18 18:01:34.077 3: No I/O device found for KL_TE_TK
2017.05.18 18:01:34.077 3: No I/O device found for BD_GZ_FV
2017.05.18 18:01:34.077 3: No I/O device found for FL_TE_TV
2017.05.18 18:01:34.077 3: No I/O device found for KU_GZ_FS
2017.05.18 18:01:34.077 3: No I/O device found for KU_TE_FS
2017.05.18 18:01:34.078 3: No I/O device found for WZ_GZ_TT
2017.05.18 18:01:34.078 3: No I/O device found for ZWave_Node_58.7
2017.05.18 18:01:34.078 3: No I/O device found for ZWave_Node_59.67
2017.05.18 18:01:34.078 3: No I/O device found for GA_GZ_TO
2017.05.18 18:01:34.078 3: No I/O device found for GA_K2_TO
2017.05.18 18:01:34.079 3: No I/O device found for FL_SK_D2
2017.05.18 18:01:34.079 3: No I/O device found for WZ_RL_TT
2017.05.18 18:01:34.079 3: No I/O device found for GA_TE_TO
2017.05.18 18:01:34.079 3: No I/O device found for WZ_DS_SM
2017.05.18 18:01:34.079 3: No I/O device found for SZ_TE_FS
2017.05.18 18:01:34.079 3: No I/O device found for FL_SK_D1
2017.05.18 18:01:34.080 3: No I/O device found for KU_FG_FS
2017.05.18 18:01:34.080 3: No I/O device found for AZ_FG_FV
2017.05.18 18:01:34.080 3: No I/O device found for BD_DB_FV
2017.05.18 18:01:34.080 3: No I/O device found for FL_GZ_TV
2017.05.18 18:01:34.080 3: No I/O device found for ZWave_Node_11.3
2017.05.18 18:01:34.081 3: No I/O device found for FL_FG_TV
2017.05.18 18:01:34.081 3: No I/O device found for GA_SK_TA
2017.05.18 18:01:34.081 3: No I/O device found for SZ_FG_FS
2017.05.18 18:01:34.081 3: No I/O device found for AZ_AB_WV
2017.05.18 18:01:34.081 3: No I/O device found for WZ_SK_D1
2017.05.18 18:01:34.082 3: No I/O device found for ZWave_Node_73.3
2017.05.18 18:01:34.082 3: No I/O device found for TR_SK_D1
2017.05.18 18:01:34.082 3: No I/O device found for ZWave_Node_73.34
2017.05.18 18:01:34.082 3: No I/O device found for ZWave_Node_18.3
2017.05.18 18:01:34.082 3: No I/O device found for FL_AB_RM
2017.05.18 18:01:34.083 3: No I/O device found for FL_DS_SM
2017.05.18 18:01:34.083 3: No I/O device found for KL_GZ_TK
2017.05.18 18:01:34.083 3: No I/O device found for ZWave_Node_19.3
2017.05.18 18:01:34.083 3: No I/O device found for AZ_DB_FV
2017.05.18 18:01:34.083 3: No I/O device found for MO_FB_P1
2017.05.18 18:01:34.083 3: No I/O device found for KU_DB_FS
2017.05.18 18:01:34.084 3: No I/O device found for ZWave_Node_73.65
2017.05.18 18:01:34.084 3: No I/O device found for SZ_DB_FS
2017.05.18 18:01:34.084 3: No I/O device found for AZ_KZ_SF
2017.05.18 18:01:34.084 3: No I/O device found for WZ_AB_TV
2017.05.18 18:01:34.084 3: No I/O device found for WZ_TE_FS
2017.05.18 18:01:34.085 3: No I/O device found for AZ_SK_D2
2017.05.18 18:01:34.085 3: No I/O device found for GA_DB_TO
2017.05.18 18:01:34.085 3: No I/O device found for BD_FG_FV
2017.05.18 18:01:34.085 3: No I/O device found for WZ_RL_FT
2017.05.18 18:01:34.085 3: No I/O device found for BD_TE_FV
2017.05.18 18:01:34.086 3: No I/O device found for KL_K2_TK
2017.05.18 18:01:34.086 3: No I/O device found for GA_SK_D1
2017.05.18 18:01:34.327 1: PERL WARNING: Use of uninitialized value $hour in multiplication (*) at ./FHEM/98_DOIF.pm line 1980.
2017.05.18 18:01:34.328 1: PERL WARNING: Use of uninitialized value $min in multiplication (*) at ./FHEM/98_DOIF.pm line 1980.
2017.05.18 18:01:34.328 1: PERL WARNING: Use of uninitialized value $isdst in numeric ne (!=) at ./FHEM/98_DOIF.pm line 1991.
2017.05.18 18:01:34.329 1: PERL WARNING: Use of uninitialized value $isdst_now in numeric ne (!=) at ./FHEM/98_DOIF.pm line 1991.
Usage: POSIX::strftime(fmt, sec, min, hour, mday, mon, year, wday = -1, yday = -1, isdst = -1) at ./FHEM/98_DOIF.pm line 2000.
Die Schlusszeile ist also die selbe. Es passiert also schon etwas mehr !
Bei mir hatte allerdings die betreffende 'return'-Zeile die Nr. 3138. Die fhem.pl Datei, die ich habe, hat die ID:
# $Id: fhem.pl 14284 2017-05-14 17:05:43Z rudolfkoenig $
Hast du noch einen Tipp ?
Besten Dank.
Peter
Raspberry Pi 3B mit RaZberry2 (Debian Jessie) als FHEM-Server; FritzBox 7490;
AEOTec: Key Fob Gen5: 1x
Danfoss: Living Connect 2.51: 3x;
Fibaro: FGRM222: 3 x; FGMS001: 2x; FGK-101: 3x; FGBS-001: 8x
Philio: In Wall Dual Relay PAN06-1A: 3x.

Offline rudolfkoenig

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 16591
Antw:FHEM mit Perl 5.24.1
« Antwort #3 am: 18 Mai 2017, 18:35:52 »
Ja, perl < 5.24.1 installieren :)
Das Auslassen von Element #5 war eine Absicht.
FHEM/98_DOIF.pm scheint das gleiche Problem zu haben, in Zeile 2000. Ich bin der Ansicht, dass diese Deklaration in 5.24.1 kaputt ist.
10_ZWave.pm scheint auch ein Problem zu haben, sehe im Moment aber nicht, was.

Offline SabineT

  • Full Member
  • ***
  • Beiträge: 127
Antw:FHEM mit Perl 5.24.1
« Antwort #4 am: 18 Mai 2017, 18:51:30 »
Bei mir lauft FHEM auf der ZBox unter ubuntu 17.04 und perl 5.24.1 ohne Probleme.

Offline PNinBB

  • Jr. Member
  • **
  • Beiträge: 90
Antw:FHEM mit Perl 5.24.1
« Antwort #5 am: 18 Mai 2017, 20:37:01 »
Ich bin wieder ein Stück weiter, aber noch nicht durch !
Es gab zwischendurch ein paar "kuriose" Logfiles mit dem Datum "fhem-1904-05.log", in dem ich aber einiges noch entdecken konnte, was noch nachzuladennde Module betraf; u.a. XML::Simple, Device::SerialPort, Nmap::Parser, JSON.
Mir scheint, ich bin dann immer einen Schritt weiter gekommen. Im Logfile sah es am Ende wie folgt aus.
2017.05.18 20:29:45 1: PERL WARNING: Prototype mismatch: sub main::ctime: none vs (;$) at /usr/local/lib/perl5/5.24.1/Exporter.pm line 66.
2017.05.18 20:29:45 1: PERL WARNING: Prototype mismatch: sub main::ctime (;$) vs none at ./FHEM/99_myFernBedienungUtils.pm line 19.
2017.05.18 20:29:45 1: PERL WARNING: Smartmatch is experimental at ./FHEM/99_myFinanzUtils.pm line 113.
2017.05.18 20:29:46 3: setreading du_KopplerTTRL state entkoppelt : Please define du_KopplerTTRL first
2017.05.18 20:29:46 1: PERL WARNING: Subroutine ISDBEintrag redefined at ./FHEM/99_myTemperaturUtils.pm line 43.
2017.05.18 20:29:46.227 1: Including fhem.cfg
2017.05.18 20:29:46.270 1: PERL WARNING: Subroutine myHeizungUtils_Initialize redefined at ./FHEM/99_myHeizungUtils.pm line 42, <$fh> line 7.
2017.05.18 20:29:46.271 1: PERL WARNING: Subroutine LeseTHTemp redefined at ./FHEM/99_myHeizungUtils.pm line 115, <$fh> line 7.
2017.05.18 20:29:46.272 1: PERL WARNING: Subroutine SchreibeTHTemp redefined at ./FHEM/99_myHeizungUtils.pm line 141, <$fh> line 7.
2017.05.18 20:29:46.274 1: PERL WARNING: Subroutine THRestart redefined at ./FHEM/99_myHeizungUtils.pm line 167, <$fh> line 7.
2017.05.18 20:29:46.276 1: PERL WARNING: Subroutine DynModifyHeizung redefined at ./FHEM/99_myHeizungUtils.pm line 223, <$fh> line 7.
2017.05.18 20:29:46.285 1: PERL WARNING: Subroutine myHeizungUtils_HZ_TH_Steuerung redefined at ./FHEM/99_myHeizungUtils.pm line 312, <$fh> line 7.
2017.05.18 20:29:46.287 1: PERL WARNING: Subroutine myHeizungUtils_HZRestart redefined at ./FHEM/99_myHeizungUtils.pm line 630, <$fh> line 7.
2017.05.18 20:29:46.289 1: PERL WARNING: Subroutine myHeizungUtils_THModeSetzen redefined at ./FHEM/99_myHeizungUtils.pm line 659, <$fh> line 7.
2017.05.18 20:29:46.292 1: PERL WARNING: Subroutine myHeizungUtils_SetTemp redefined at ./FHEM/99_myHeizungUtils.pm line 702, <$fh> line 7.
2017.05.18 20:29:46.293 1: PERL WARNING: Subroutine myHeizungUtils_TestTagesBeginn redefined at ./FHEM/99_myHeizungUtils.pm line 777, <$fh> line 7.
2017.05.18 20:29:46.346 3: telnetPort: port 7072 opened
2017.05.18 20:29:46.686 3: WEB: port 8083 opened
2017.05.18 20:29:46.700 3: WEBphone: port 8084 opened
2017.05.18 20:29:46.706 3: WEBtablet: port 8085 opened
2017.05.18 20:29:46.730 3: TabletPortal: new ext defined infix:ftui/: dir:./www/tablet:
2017.05.18 20:29:46.730 3: Registering HTTPSRV TabletPortal for URL /ftui   and assigned link ftui/ ...
2017.05.18 20:29:46.792 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 80.
2017.05.18 20:29:47.479 2: eventTypes: loaded 5622 events from ./log/eventTypes.txt
2017.05.18 20:29:47.565 3: Opening ZWAVE device /dev/ttyAMA0
2017.05.18 20:29:47.646 3: Setting ZWAVE serial parameters to 115200,8,N,1
2017.05.18 20:29:49.043 3: ZWAVE device opened
2017.05.18 20:29:49.895 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 858.
2017.05.18 20:29:49.998 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 938.
2017.05.18 20:29:50.159 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 959.
2017.05.18 20:29:50.171 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 978.
2017.05.18 20:29:50.183 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 996.
2017.05.18 20:29:50.197 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1018.
2017.05.18 20:29:50.209 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1044.
2017.05.18 20:29:50.219 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1058.
2017.05.18 20:29:50.229 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1072.
2017.05.18 20:29:50.242 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1090.
2017.05.18 20:29:50.252 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1104.
2017.05.18 20:29:50.263 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1118.
2017.05.18 20:29:50.275 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1138.
2017.05.18 20:29:50.287 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1155.
2017.05.18 20:29:50.301 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1180.
2017.05.18 20:29:50.313 1: PERL WARNING: Odd number of elements in hash assignment at ./FHEM/10_ZWave.pm line 4869, <$fh> line 1198.
2017.05.18 20:29:50.314 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1199.
2017.05.18 20:29:50.327 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1216.
2017.05.18 20:29:50.340 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1234.
2017.05.18 20:29:50.350 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1245.
2017.05.18 20:29:50.360 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1257.
2017.05.18 20:29:50.372 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1279.
2017.05.18 20:29:50.383 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1292.
2017.05.18 20:29:50.394 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1304.
2017.05.18 20:29:50.405 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1316.
2017.05.18 20:29:50.416 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1332.
2017.05.18 20:29:50.428 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1345.
2017.05.18 20:29:50.439 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1357.
2017.05.18 20:29:50.450 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1369.
2017.05.18 20:29:50.462 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1384.
2017.05.18 20:29:50.474 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1397.
2017.05.18 20:29:50.485 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1409.
2017.05.18 20:29:50.497 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1421.
2017.05.18 20:29:50.510 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1437.
2017.05.18 20:29:50.521 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1449.
2017.05.18 20:29:50.533 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1460.
2017.05.18 20:29:50.544 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1472.
2017.05.18 20:29:50.557 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1487.
2017.05.18 20:29:50.569 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1499.
2017.05.18 20:29:50.581 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1511.
2017.05.18 20:29:50.587 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1523.
2017.05.18 20:29:50.595 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1543.
2017.05.18 20:29:50.601 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1555.
2017.05.18 20:29:50.608 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1567.
2017.05.18 20:29:50.615 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1581.
2017.05.18 20:29:50.621 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1593.
2017.05.18 20:29:50.628 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1605.
2017.05.18 20:29:50.634 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1617.
2017.05.18 20:29:50.643 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1634.
2017.05.18 20:29:50.650 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1646.
2017.05.18 20:29:50.661 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1658.
2017.05.18 20:29:50.668 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1672.
2017.05.18 20:29:50.675 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1685.
2017.05.18 20:29:50.682 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1697.
2017.05.18 20:29:50.689 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1709.
2017.05.18 20:29:50.697 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1725.
2017.05.18 20:29:50.705 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1737.
2017.05.18 20:29:50.712 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1749.
2017.05.18 20:29:50.723 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1778.
2017.05.18 20:29:50.726 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1792.
2017.05.18 20:29:50.730 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1804.
2017.05.18 20:29:50.734 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 1817.
2017.05.18 20:29:50.894 1: PERL WARNING: Use of uninitialized value in subroutine entry at ./FHEM/90_at.pm line 111, <$fh> line 2353.
2017.05.18 20:29:50.894 1: PERL WARNING: Use of uninitialized value $nt in numeric ge (>=) at ./FHEM/90_at.pm line 112, <$fh> line 2353.
2017.05.18 20:29:50.895 1: PERL WARNING: Use of uninitialized value $t in division (/) at ./FHEM/90_at.pm line 34, <$fh> line 2353.
2017.05.18 20:29:50.895 1: PERL WARNING: Use of uninitialized value $t in addition (+) at ./FHEM/90_at.pm line 38, <$fh> line 2353.
2017.05.18 20:29:50.895 1: PERL WARNING: Use of uninitialized value in subtraction (-) at ./FHEM/90_at.pm line 39, <$fh> line 2353.
2017.05.18 20:29:50.895 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2353.
2017.05.18 20:29:50.900 1: PERL WARNING: Use of uninitialized value in subroutine entry at ./FHEM/90_at.pm line 111, <$fh> line 2358.
2017.05.18 20:29:50.900 1: PERL WARNING: Use of uninitialized value $nt in numeric ge (>=) at ./FHEM/90_at.pm line 112, <$fh> line 2358.
2017.05.18 20:29:50.901 1: PERL WARNING: Use of uninitialized value $t in division (/) at ./FHEM/90_at.pm line 34, <$fh> line 2358.
2017.05.18 20:29:50.901 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2358.
2017.05.18 20:29:50.904 1: PERL WARNING: Use of uninitialized value in subroutine entry at ./FHEM/90_at.pm line 111, <$fh> line 2363.
2017.05.18 20:29:50.905 1: PERL WARNING: Use of uninitialized value $nt in numeric ge (>=) at ./FHEM/90_at.pm line 112, <$fh> line 2363.
2017.05.18 20:29:50.905 1: PERL WARNING: Use of uninitialized value $t in division (/) at ./FHEM/90_at.pm line 34, <$fh> line 2363.
2017.05.18 20:29:50.905 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2363.
2017.05.18 20:29:50.907 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2368.
2017.05.18 20:29:50.910 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2372.
2017.05.18 20:29:50.912 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2376.
2017.05.18 20:29:51.389 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2840.
2017.05.18 20:29:51.412 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2868.
2017.05.18 20:29:51.431 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 2891.
2017.05.18 20:29:51.540 3: Opening FritzBox device 192.168.2.1:1012
2017.05.18 20:29:51.544 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 2901.
2017.05.18 20:29:52.244 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 3020.
2017.05.18 20:29:52.563 1: PERL WARNING: Use of uninitialized value $time[2] in multiplication (*) at ./FHEM/59_Twilight.pm line 205, <$fh> line 3054.
2017.05.18 20:29:52.564 1: PERL WARNING: Use of uninitialized value $time[1] in multiplication (*) at ./FHEM/59_Twilight.pm line 205, <$fh> line 3054.
2017.05.18 20:29:53.243 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 3135.
2017.05.18 20:29:53.248 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3139.
2017.05.18 20:29:53.258 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3148.
2017.05.18 20:29:53.262 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3151.
2017.05.18 20:29:53.266 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3154.
2017.05.18 20:29:53.271 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3157.
2017.05.18 20:29:53.275 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3160.
2017.05.18 20:29:53.280 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3174.
2017.05.18 20:29:53.284 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3177.
2017.05.18 20:29:53.288 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3180.
2017.05.18 20:29:53.292 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3183.
2017.05.18 20:29:53.393 1: PERL WARNING: Use of uninitialized value $lt[2] in multiplication (*) at ./FHEM/98_DOIFtools.pm line 971, <$fh> line 3186.
2017.05.18 20:29:53.393 1: PERL WARNING: Use of uninitialized value $lt[1] in multiplication (*) at ./FHEM/98_DOIFtools.pm line 971, <$fh> line 3186.
2017.05.18 20:29:53.399 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 3193.
2017.05.18 20:29:53.419 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 3201.
2017.05.18 20:29:53.439 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 3207.
2017.05.18 20:29:53.459 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 3214.
2017.05.18 20:29:53.479 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 3221.
2017.05.18 20:29:53.499 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 3228.
2017.05.18 20:29:53.519 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 3234.
2017.05.18 20:29:53.539 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 3240.
2017.05.18 20:29:53.542 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3243.
2017.05.18 20:29:53.563 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 3248.
2017.05.18 20:29:53.566 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3251.
2017.05.18 20:29:53.587 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 3256.
2017.05.18 20:29:53.590 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 3259.
2017.05.18 20:29:53.611 1: PERL WARNING: Use of uninitialized value in subroutine entry at fhem.pl line 3139, <$fh> line 3264.
2017.05.18 20:29:53.613 1: Including ./log/fhem.save
2017.05.18 20:29:53.636 3: WARNING: unsupported character in reading "zwaveGetNodesInRange (not A-Za-z/\d_\.-), notify the ZWave module maintainer.
2017.05.18 20:29:54.245 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 1810.
2017.05.18 20:29:54.249 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 1813.
2017.05.18 20:29:54.259 1: PERL WARNING: Use of uninitialized value in sprintf at ./FHEM/90_at.pm line 117, <$fh> line 1832.
2017.05.18 20:29:54.533 1: PERL WARNING: Use of uninitialized value $hour in multiplication (*) at ./FHEM/98_DOIF.pm line 1980.
2017.05.18 20:29:54.533 1: PERL WARNING: Use of uninitialized value $min in multiplication (*) at ./FHEM/98_DOIF.pm line 1980.
2017.05.18 20:29:54.533 1: PERL WARNING: Use of uninitialized value $isdst in numeric ne (!=) at ./FHEM/98_DOIF.pm line 1991.
2017.05.18 20:29:54.534 1: PERL WARNING: Use of uninitialized value $isdst_now in numeric ne (!=) at ./FHEM/98_DOIF.pm line 1991.
Usage: POSIX::strftime(fmt, sec, min, hour, mday, mon, year, wday = -1, yday = -1, isdst = -1) at ./FHEM/98_DOIF.pm line 2000.
Wie es scheint, gibt es noch ein paar Probleme in '90_at.pm', 98_DOIF.pm und fhem.pl. Was ich noch nicht herausbekommen habe, ist, was denn nun neu/anders in dieser Perl-Version ist.
Morgen werde ich weiter arbeiten, vielleicht mit noch ein paar giten Hinweisen !?
Schönen Abend.
Peter

Raspberry Pi 3B mit RaZberry2 (Debian Jessie) als FHEM-Server; FritzBox 7490;
AEOTec: Key Fob Gen5: 1x
Danfoss: Living Connect 2.51: 3x;
Fibaro: FGRM222: 3 x; FGMS001: 2x; FGK-101: 3x; FGBS-001: 8x
Philio: In Wall Dual Relay PAN06-1A: 3x.

Offline rudolfkoenig

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 16591
Antw:FHEM mit Perl 5.24.1
« Antwort #6 am: 19 Mai 2017, 09:14:46 »
Zitat
Morgen werde ich weiter arbeiten, vielleicht mit noch ein paar giten Hinweisen !?
Es reicht meinen letzten Hinweis zu lesen.

Ich habe gerade die Quellen von 5.24.1 heruntergeladen, uebersetzt, und FHEM damit gestartet: ich habe keine Probleme beim Start, und damit haetten wir schon zwei solche Beobachtungen. Ich gehe davon aus, dass die von dir gemeldeten Probleme entweder nicht mit perl 5.24.1 zusammenhaengen, oder nur auf einem ungewoehnlich konfigurierten System auftreten.

Wie installiert man perl ueber CPAN? Ich dachte mit CPAN kann man nur Perl-Module herunterladen.

Offline PNinBB

  • Jr. Member
  • **
  • Beiträge: 90
Antw:FHEM mit Perl 5.24.1
« Antwort #7 am: 20 Mai 2017, 18:12:55 »
Zuerst die gite Nachricht: FHEM läuft wieder !
Was habe ich gemacht:
  • Alle Perl-Versionen (System und Lokale) deinstalliert bzw. gelöscht.
  • Die mit Debian bereit gestellte wieder aktualisiert.
  • Perl 5.24.1 als Lokale installert.
  • Ein Start von FHEM lieferte wieder den gleichen Fehler !
  • Nach diversen Versuchen habe ich einen meiner '99_my....pm', den ich als letzten bearbeitet habe, als Ursache ermittelt und herausgenommen und siehe da: FHEM lief.
  • In diesem Modul hatte ich vorübergehend einen Aufruf: 'use Time::localtime' eingebaut. Dies lief unter der vorherigen Perl-Version. Ich habe die Funktion später nicht genutzt, den Aufruf aber nicht entfernt. Unter Perl 5.24.1 führt das zu der oben schon angezeigten Fehlermeldung ! Eine tiefergehende Untersuchung habe ich noch nicht gemacht.
Usage: POSIX::strftime(fmt, sec, min, hour, mday, mon, year, wday = -1, yday = -1, isdst = -1) at ./FHEM/98_DOIF.pm line 2000.Diese scheint dann fhem.pl zu stoppen. Das ist reproduzierbar.
Besten Dank für die Hinweise und vor allem an Rudi für die Mühe, 'mich wieder in die Spur zu bringen'.
Peter
Raspberry Pi 3B mit RaZberry2 (Debian Jessie) als FHEM-Server; FritzBox 7490;
AEOTec: Key Fob Gen5: 1x
Danfoss: Living Connect 2.51: 3x;
Fibaro: FGRM222: 3 x; FGMS001: 2x; FGK-101: 3x; FGBS-001: 8x
Philio: In Wall Dual Relay PAN06-1A: 3x.

Offline rudolfkoenig

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 16591
Antw:FHEM mit Perl 5.24.1
« Antwort #8 am: 21 Mai 2017, 12:40:32 »
Fuer mich ist das Problem aber ungeloest: die erwaehnten Aenderungen habe ich nicht eingecheckt, d.h. ein update / Neuinstallation von FHEM wird bei Dir das gleiche Problem zeigen. Und ich habe nicht vor mit Aenderungen evtl. neue Baustellen aufzureissen, solange ich der Ansicht bin, dass dein System ein Spezialfall ist.

Offline PNinBB

  • Jr. Member
  • **
  • Beiträge: 90
Antw:FHEM mit Perl 5.24.1
« Antwort #9 am: 21 Mai 2017, 18:10:03 »
@rudolfkoenig:
So gesehen für mich natürlich auch noch nicht !
Nach den Arbeiten, die ich im letzten Beitrag beschrieben habe, funktioniert mein System wieder in allen Funktionen (soweit ich es bis dato getestet habe!).
Ein - eher harmloses - Problem ist, dass bei den Geräteanzeigen das rechte ZWAVE-Gerätebild nicht mehr erscheint. Der entsprechende IMAGE-Eintrag in den Internals ist leer. Im entsprechenden Verzeichnis sind die Bilder aber alle noch da ! Ich weiss allerdings nicht, wie ich diesen Pfad in den Internals setzen kann. Aber das ist momentan wenig bedeutsam.
Wie gesagt: mein FHEM läuft; auch habe ich gerade ein 'update' und 'restart' gemacht; alles ohne Probleme !
Wenn ich allerdings eine Datei '99_myUsinnUtils_test.pm'
###############################################################

package main;

 use strict;
 use warnings;
 use POSIX;
 use Time::localtime;
#
sub myUnsinnUtils_Initialize($$)
 {
  my ($hash) = @_;
 }
#
sub myUnsinnUtils_Test ()
 {
  return 0;
 }
#
1;
in das Verzeichnis '.../FHEM' kopiere und im FHEM Webportal 'restart' ausführe, stürzt es ab mit der nachfolgenden Fehlermeldung im Logfile.
2017.05.21 17:39:26.574 0: Server shutdown
2017.05.21 17:39:29 1: PERL WARNING: Smartmatch is experimental at ./FHEM/99_myFinanzUtils.pm line 113.
2017.05.21 17:39:30 3: setreading du_KopplerTTRL state entkoppelt : Please define du_KopplerTTRL first
2017.05.21 17:39:30 1: PERL WARNING: Subroutine ISDBEintrag redefined at ./FHEM/99_myTemperaturUtils.pm line 43.
2017.05.21 17:39:30 1: PERL WARNING: Prototype mismatch: sub main::ctime: none vs (;$) at /usr/local/lib/perl5/5.24.1/Exporter.pm line 66.
2017.05.21 17:39:30 1: PERL WARNING: Subroutine myUnsinnUtils_Test redefined at ./FHEM/99_myUnsinnUtils_Test.pm line 15.
2017.05.21 17:39:30 1: PERL WARNING: Prototype mismatch: sub main::ctime (;$) vs none at ./FHEM/99_myUtils.pm line 25.
2017.05.21 17:39:30.256 1: Including fhem.cfg
2017.05.21 17:39:30.302 1: PERL WARNING: Subroutine myHeizungUtils_Initialize redefined at ./FHEM/99_myHeizungUtils.pm line 42, <$fh> line 7.
2017.05.21 17:39:30.303 1: PERL WARNING: Subroutine LeseTHTemp redefined at ./FHEM/99_myHeizungUtils.pm line 115, <$fh> line 7.
2017.05.21 17:39:30.304 1: PERL WARNING: Subroutine SchreibeTHTemp redefined at ./FHEM/99_myHeizungUtils.pm line 141, <$fh> line 7.
2017.05.21 17:39:30.306 1: PERL WARNING: Subroutine THRestart redefined at ./FHEM/99_myHeizungUtils.pm line 167, <$fh> line 7.
2017.05.21 17:39:30.308 1: PERL WARNING: Subroutine DynModifyHeizung redefined at ./FHEM/99_myHeizungUtils.pm line 223, <$fh> line 7.
2017.05.21 17:39:30.317 1: PERL WARNING: Subroutine myHeizungUtils_HZ_TH_Steuerung redefined at ./FHEM/99_myHeizungUtils.pm line 312, <$fh> line 7.
2017.05.21 17:39:30.319 1: PERL WARNING: Subroutine myHeizungUtils_HZRestart redefined at ./FHEM/99_myHeizungUtils.pm line 630, <$fh> line 7.
2017.05.21 17:39:30.321 1: PERL WARNING: Subroutine myHeizungUtils_THModeSetzen redefined at ./FHEM/99_myHeizungUtils.pm line 659, <$fh> line 7.
2017.05.21 17:39:30.323 1: PERL WARNING: Subroutine myHeizungUtils_SetTemp redefined at ./FHEM/99_myHeizungUtils.pm line 702, <$fh> line 7.
2017.05.21 17:39:30.325 1: PERL WARNING: Subroutine myHeizungUtils_TestTagesBeginn redefined at ./FHEM/99_myHeizungUtils.pm line 777, <$fh> line 7.
2017.05.21 17:39:30.335 1: PERL WARNING: Use of uninitialized value $_[0] in division (/) at ./FHEM/99_myUtils.pm line 86, <$fh> line 7.
2017.05.21 17:39:30.335 1: PERL WARNING: Use of uninitialized value $_[0] in subtraction (-) at ./FHEM/99_myUtils.pm line 87, <$fh> line 7.
2017.05.21 17:39:30.337 1: PERL WARNING: Prototype mismatch: sub main::ctime: none vs (;$) at /usr/local/lib/perl5/5.24.1/Exporter.pm line 66, <$fh> line 7.
2017.05.21 17:39:30.338 1: PERL WARNING: Subroutine myUnsinnUtils_Test redefined at ./FHEM/99_myUnsinnUtils_Test.pm line 10, <$fh> line 7.
2017.05.21 17:39:30.338 1: PERL WARNING: Subroutine myUnsinnUtils_Test redefined at ./FHEM/99_myUnsinnUtils_Test.pm line 15, <$fh> line 7.
2017.05.21 17:39:30.391 3: telnetPort: port 7072 opened
2017.05.21 17:39:30.735 3: WEB: port 8083 opened
2017.05.21 17:39:30.749 3: WEBphone: port 8084 opened
2017.05.21 17:39:30.755 3: WEBtablet: port 8085 opened
2017.05.21 17:39:30.773 3: TabletPortal: new ext defined infix:ftui/: dir:./www/tablet:
2017.05.21 17:39:30.774 3: Registering HTTPSRV TabletPortal for URL /ftui   and assigned link ftui/ ...
Usage: POSIX::strftime(fmt, sec, min, hour, mday, mon, year, wday = -1, yday = -1, isdst = -1) at fhem.pl line 3149, <$fh> line 80.
Prüfe ich in 'cpan' den Modul 'Time::localtime', so meldet 'cpan':
Time::localtime is up to date (1.02).
Kommentiere ich die 'use ...'-Zeile aus, dann läuft FHEM wie es muss !
Ich habe momentan keine Erklärung dafür. Wenn ich etwas noch testen kann/soll, so mache ich es natürlich gern !
Peter

Raspberry Pi 3B mit RaZberry2 (Debian Jessie) als FHEM-Server; FritzBox 7490;
AEOTec: Key Fob Gen5: 1x
Danfoss: Living Connect 2.51: 3x;
Fibaro: FGRM222: 3 x; FGMS001: 2x; FGK-101: 3x; FGBS-001: 8x
Philio: In Wall Dual Relay PAN06-1A: 3x.

Offline SabineT

  • Full Member
  • ***
  • Beiträge: 127
Antw:FHEM mit Perl 5.24.1
« Antwort #10 am: 21 Mai 2017, 19:05:32 »
Mit "use TIME::localtime" wird das standardmäßig im Perl vorhandene localtime überschrieben und liefert statt einem Array ein Objekt zurück (sh. http://perldoc.perl.org/Time/localtime.html). Daher kommt dann auch die Fehlermeldung beim POSIX::strftime

Offline rudolfkoenig

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 16591
Antw:FHEM mit Perl 5.24.1
« Antwort #11 am: 21 Mai 2017, 19:28:00 »
@SabineT: Danke!

Offline justme1968

  • Developer
  • Hero Member
  • ****
  • Beiträge: 16516
Antw:FHEM mit Perl 5.24.1
« Antwort #12 am: 21 Mai 2017, 20:08:57 »
hab gerade mal hier im forum nach problemen mit TIME::localtime und POSIX::strftime gesucht und direkt ein paar threads gefunden und ein ähnliches problem hatten wir beim sortieren der log files schon mal. da war es stat das überschrieben wurde.

hat vielleicht jemand eine idee wie man das verhindern oder zumindest bemerken kann?
FHEM5.4,DS1512+,2xCULv3,DS9490R,HMLAN,2xRasPi
CUL_HM:HM-LC-Bl1PBU-FM,HM-LC-Sw1PBU-FM,HM-SEC-MDIR,HM-SEC-RHS
HUEBridge,HUEDevice:LCT001,LLC001,LLC006,LWL001
OWDevice:DS1420,DS18B20,DS2406,DS2423
FS20:fs20as4,fs20bs,fs20di
AKCP:THS01,WS15
CUL_WS:S300TH

Offline SabineT

  • Full Member
  • ***
  • Beiträge: 127
Antw:FHEM mit Perl 5.24.1
« Antwort #13 am: 21 Mai 2017, 21:10:31 »
Verhindern, in dem man solche Funktionen nicht direkt importiert, sondern nur das komplette Modul:
use Time;
my $tm = Time::localtime;
my hour = $tm->hour

Bemerken, halt in Log schaun und vorher mal die Doku der Funktion lesen, z.B. auf http://perldoc.perl.org

Offline justme1968

  • Developer
  • Hero Member
  • ****
  • Beiträge: 16516
Antw:FHEM mit Perl 5.24.1
« Antwort #14 am: 21 Mai 2017, 21:17:26 »
ja klar. aber mit verhindern bzw. bemerken meinte ich eher etwas automatisches. das problem ist ja das sich nicht alle an solche regeln halten.

fhem selber sollte man aber vielleicht nach und nach so umstellen.
FHEM5.4,DS1512+,2xCULv3,DS9490R,HMLAN,2xRasPi
CUL_HM:HM-LC-Bl1PBU-FM,HM-LC-Sw1PBU-FM,HM-SEC-MDIR,HM-SEC-RHS
HUEBridge,HUEDevice:LCT001,LLC001,LLC006,LWL001
OWDevice:DS1420,DS18B20,DS2406,DS2423
FS20:fs20as4,fs20bs,fs20di
AKCP:THS01,WS15
CUL_WS:S300TH