[gelöst] Fehler in 57_CALVIEW nach Upate

Begonnen von kroemmel, 30 Januar 2017, 21:27:38

Vorheriges Thema - Nächstes Thema

kroemmel

Hallo,

ich habe heute ein Update durchgeführt, woraufhin FHEM zwar startet (lt. log) aber beim ersten Zugriff schmeißt 57_Calender nen Fehler und FHEM wird hart beendet. Zuvor hat es funktioniert und das letzte Update war am 27.01 - also noch nicht sonderlich lange her.

2017.01.30 21:09:34 3: CALVIEW iCal_kroemmel_view - CALENDAR:iCal_kroemmel triggered, updating CALVIEW iCal_kroemmel_view ...
2017.01.30 21:09:34 1: PERL WARNING: Use of uninitialized value in numeric lt (<) at ./FHEM/57_Calendar.pm line 2057.
Undefined subroutine &main::timelocal called at ./FHEM/57_CALVIEW.pm line 113.


Einzige Lösung: Manuelles restore des Backups und FHEM frisch starten - funktionierte wieder.

Um auszuschließen, dass nur irgendwelche Files nicht gezogen wurden (o.ä. - weiß der Geier :) ), habe ich gleich noch mal nen Update durchgeführt -> Gleiches Ergebnis.
Das restliche Log vom Starten sieht sauber aus. Ich hab es unten mal eingefügt...

Hat jemand ne Idee für mich, an welcher Stelle ich anfangen kann zu suchen, bzw. wo der Hase im Pfeffer liegt?

Thx!
kroemmel

Komplettes Startup-Log FHEM:
Code (fhem2017-01.log) Auswählen

2017.01.30 21:08:35 1: fheminfo server response: ==> ok
2017.01.30 21:08:36 0: Server shutdown
2017.01.30 21:08:40 1: PERL WARNING: Prototype mismatch: sub main::trim: none vs ($) at ./FHEM/99_Utils.pm line 133.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine trim redefined at ./FHEM/99_Utils.pm line 128.
2017.01.30 21:08:40 1: PERL WARNING: Prototype mismatch: sub main::ltrim: none vs ($) at ./FHEM/99_Utils.pm line 145.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine ltrim redefined at ./FHEM/99_Utils.pm line 141.
2017.01.30 21:08:40 1: PERL WARNING: Prototype mismatch: sub main::rtrim: none vs ($) at ./FHEM/99_Utils.pm line 157.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine rtrim redefined at ./FHEM/99_Utils.pm line 153.
2017.01.30 21:08:40 1: Including fhem.cfg
2017.01.30 21:08:40 1: PERL WARNING: Subroutine myUtils_Initialize redefined at ./FHEM/99_MyUtils.pm line 63, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine lcActivity redefined at ./FHEM/99_MyUtils.pm line 77, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine globalRlaDown redefined at ./FHEM/99_MyUtils.pm line 133, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine sendmail redefined at ./FHEM/99_MyUtils.pm line 157, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine allRT_maxValve redefined at ./FHEM/99_MyUtils.pm line 169, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine Hausstatus redefined at ./FHEM/99_MyUtils.pm line 191, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine deleteHaussatusOldATs redefined at ./FHEM/99_MyUtils.pm line 261, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine setLowReady redefined at ./FHEM/99_MyUtils.pm line 284, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine setHkAll redefined at ./FHEM/99_MyUtils.pm line 317, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetEG_20 redefined at ./FHEM/99_MyUtils.pm line 542, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetOG_20 redefined at ./FHEM/99_MyUtils.pm line 555, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetEG_Temp redefined at ./FHEM/99_MyUtils.pm line 568, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetOG_Temp redefined at ./FHEM/99_MyUtils.pm line 592, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetTempList_ALL redefined at ./FHEM/99_MyUtils.pm line 618, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetTempList_EG_KC_Heizung redefined at ./FHEM/99_MyUtils.pm line 686, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetTempList_EG_WZ_Heizung redefined at ./FHEM/99_MyUtils.pm line 712, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetTempList_EG_KI_Heizung redefined at ./FHEM/99_MyUtils.pm line 738, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetTempList_EG_FL_Heizung redefined at ./FHEM/99_MyUtils.pm line 765, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetTempList_EG_SZ_Heizung redefined at ./FHEM/99_MyUtils.pm line 791, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetTempList_EG_BD_Heizung redefined at ./FHEM/99_MyUtils.pm line 809, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetTempList_EG_SV_Heizung redefined at ./FHEM/99_MyUtils.pm line 827, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetTempList_OG_AZ_Heizung redefined at ./FHEM/99_MyUtils.pm line 846, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetTempList_OG_KA_Heizung redefined at ./FHEM/99_MyUtils.pm line 864, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetTempList_OG_BZ_Heizung redefined at ./FHEM/99_MyUtils.pm line 890, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetTempList_OG_BD_Heizung redefined at ./FHEM/99_MyUtils.pm line 908, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetTempList_OG_GZ_Heizung redefined at ./FHEM/99_MyUtils.pm line 927, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine SetTempList_EG_WG_Heizung redefined at ./FHEM/99_MyUtils.pm line 945, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine Set_ZuHause redefined at ./FHEM/99_MyUtils.pm line 963, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine Set_LeavingHome redefined at ./FHEM/99_MyUtils.pm line 982, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine Set_EarlyUp redefined at ./FHEM/99_MyUtils.pm line 1002, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine Set_Back2Auto redefined at ./FHEM/99_MyUtils.pm line 1015, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine Set_Back2Auto_neu redefined at ./FHEM/99_MyUtils.pm line 1037, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine Set_Urlaub_Weg redefined at ./FHEM/99_MyUtils.pm line 1063, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine Set_Urlaub_Weg_Infinite redefined at ./FHEM/99_MyUtils.pm line 1121, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine Set_Urlaub_At_Home_Day redefined at ./FHEM/99_MyUtils.pm line 1150, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine Set_Urlaub_At_Home_Night redefined at ./FHEM/99_MyUtils.pm line 1201, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine Set_Elternzeit_At_Home_Day redefined at ./FHEM/99_MyUtils.pm line 1245, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine Set_Elternzeit_At_Home_Day_Early redefined at ./FHEM/99_MyUtils.pm line 1297, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine Set_Elternzeit_At_Home_Night redefined at ./FHEM/99_MyUtils.pm line 1346, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine Set_Urlaub_At_Home_Today redefined at ./FHEM/99_MyUtils.pm line 1400, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine Set_Urlaub_Away_Today redefined at ./FHEM/99_MyUtils.pm line 1439, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine Set_Urlaub_From_To redefined at ./FHEM/99_MyUtils.pm line 1477, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Prototype mismatch: sub main::ltrim ($) vs none at ./FHEM/99_MyUtils.pm line 1502, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine ltrim redefined at ./FHEM/99_MyUtils.pm line 1502, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Prototype mismatch: sub main::rtrim ($) vs none at ./FHEM/99_MyUtils.pm line 1503, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine rtrim redefined at ./FHEM/99_MyUtils.pm line 1503, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Prototype mismatch: sub main::trim ($) vs none at ./FHEM/99_MyUtils.pm line 1504, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine trim redefined at ./FHEM/99_MyUtils.pm line 1504, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine frueherAls redefined at ./FHEM/99_MyUtils.pm line 1508, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine wieSpaet redefined at ./FHEM/99_MyUtils.pm line 1541, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine atDelayCalc redefined at ./FHEM/99_MyUtils.pm line 1551, <$fh> line 7.
2017.01.30 21:08:40 1: PERL WARNING: Subroutine checkFritzMACpresent redefined at ./FHEM/99_MyUtils.pm line 1585, <$fh> line 7.
2017.01.30 21:08:40 3: telnetPort: port 7072 opened
2017.01.30 21:08:41 3: WEB: port 8083 opened
2017.01.30 21:08:41 3: WEBphone: port 8084 opened
2017.01.30 21:08:41 3: WEBtablet: port 8085 opened
2017.01.30 21:08:41 1: HMLAN_Parse: HMLAN1 new condition disconnected
2017.01.30 21:08:41 3: Opening HMLAN1 device *.*.*.*:1000
2017.01.30 21:08:41 1: HMLAN_Parse: HMLAN1 new condition init
2017.01.30 21:08:41 3: HMLAN1 device opened
2017.01.30 21:08:45 2: eventTypes: loaded 3525 events from log/eventTypes.txt
2017.01.30 21:08:45 3: TABLETUI: new ext defined infix:ftui/: dir:./www/tablet:
2017.01.30 21:08:45 3: Registering HTTPSRV TABLETUI for URL /ftui   and assigned link ftui/ ...
2017.01.30 21:08:48 3: define LedLightTest02: can't reach (IO::Socket::INET: connect: timeout)
2017.01.30 21:08:49 3: PWM Define pwm_dStreet
2017.01.30 21:08:49 2: called PWM_Attr(set,pwm_dStreet,group,<Fußbodenheizung,FuBoDummyTest>)
2017.01.30 21:08:49 2: called PWM_Attr(set,pwm_dStreet,overallHeatingSwitchRef,<pulseAvg>)
2017.01.30 21:08:49 2: called PWM_Attr(set,pwm_dStreet,room,<01-Wintergarten,z_SystemInformationen>)
2017.01.30 21:08:49 2: called PWM_Attr(set,pwm_dStreet,valveProtectIdlePeriod,<7>)
2017.01.30 21:08:49 2: called PWM_Attr(set,pwm_dStreet,verbose,<0>)
2017.01.30 21:08:50 3: Opening FritzCallMonitor device *.*.*.*:1012
2017.01.30 21:08:50 3: TUI2: new ext defined infix:tui2/: dir:./www/tablet2:
2017.01.30 21:08:50 3: Registering HTTPSRV TUI2 for URL /tui2   and assigned link tui2/ ...
2017.01.30 21:08:51 1: Including ./log/fhem.save
2017.01.30 21:08:52 3: No I/O device found for whg_HausStatus1
2017.01.30 21:08:52 3: No I/O device found for whg_HausStatus3
2017.01.30 21:08:52 3: No I/O device found for whg_HausStatus5
2017.01.30 21:08:52 3: No I/O device found for whg_HausStatus2
2017.01.30 21:08:52 3: No I/O device found for whg_HausStatus6
2017.01.30 21:08:52 3: No I/O device found for whg_HausStatus4
2017.01.30 21:08:53 3: Device EG_bd_Heizung added to ActionDetector with 000:10 time
2017.01.30 21:08:53 3: Device EG_fl_Heizung1 added to ActionDetector with 000:10 time
2017.01.30 21:08:53 3: Device EG_fl_Heizung2 added to ActionDetector with 000:10 time
2017.01.30 21:08:53 3: Device EG_fl_SD_Rauchmelder1 added to ActionDetector with 099:00 time
2017.01.30 21:08:53 3: Device EG_ki_Heizung1 added to ActionDetector with 000:10 time
2017.01.30 21:08:53 3: Device EG_ki_Heizung_re added to ActionDetector with 000:10 time
2017.01.30 21:08:53 3: Device EG_ki_SD_Rauchmelder4 added to ActionDetector with 099:00 time
2017.01.30 21:08:53 3: Device EG_sv_Heizung added to ActionDetector with 000:10 time
2017.01.30 21:08:53 3: Device EG_sv_SD_Rauchmelder2 added to ActionDetector with 099:00 time
2017.01.30 21:08:53 3: Device EG_sz_Heizung added to ActionDetector with 000:10 time
2017.01.30 21:08:53 3: Device EG_sz_SD_Rauchmelder7 added to ActionDetector with 099:00 time
2017.01.30 21:08:53 3: Device EG_wg_Heizung added to ActionDetector with 000:10 time
2017.01.30 21:08:53 3: Device EG_wg_Thermostat added to ActionDetector with 000:10 time
2017.01.30 21:08:53 3: Device EG_wz_SD_Rauchmelder6 added to ActionDetector with 099:00 time
2017.01.30 21:08:54 3: Device OG_az_Heizung added to ActionDetector with 000:10 time
2017.01.30 21:08:54 3: Device OG_az_SD_Rauchmelder3 added to ActionDetector with 099:00 time
2017.01.30 21:08:54 3: Device OG_bd_Heizung added to ActionDetector with 000:10 time
2017.01.30 21:08:54 3: Device OG_bz_Heizung added to ActionDetector with 000:10 time
2017.01.30 21:08:54 3: Device OG_fl_SD_Rauchmelder5 added to ActionDetector with 099:00 time
2017.01.30 21:08:54 3: Device OG_gz_Heizung added to ActionDetector with 000:10 time
2017.01.30 21:08:54 3: Device OG_ka_Heizung1 added to ActionDetector with 000:10 time
2017.01.30 21:08:54 3: Device OG_ka_Heizung_li added to ActionDetector with 000:10 time
2017.01.30 21:08:54 3: Device kc_Heizung1 added to ActionDetector with 000:10 time
2017.01.30 21:08:54 3: Device kc_Heizung2 added to ActionDetector with 000:10 time
2017.01.30 21:08:54 3: Device wz_Heizung1 added to ActionDetector with 000:10 time
2017.01.30 21:08:54 3: Device wz_Heizung2 added to ActionDetector with 000:10 time
2017.01.30 21:08:54 3: FB_CALLMONITOR (FritzCallMonitor) - found 1 phonebooks
2017.01.30 21:08:54 2: FB_CALLMONITOR (FritzCallMonitor) - read 17 contacts from remote phonebook "Telefonbuch"
2017.01.30 21:08:55 3: LedLightTest02 low level cmd queue send ERROR 3100000000000f40, qlen 1 (reconnect giving up)
2017.01.30 21:08:55 1: usb create starting
2017.01.30 21:08:56 3: Probing CUL device /dev/ttyAMA0
2017.01.30 21:08:56 3: Can't open /dev/ttyAMA0: Permission denied
2017.01.30 21:08:56 1: usb create end
2017.01.30 21:08:56 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE .Rauchmelder(.|_TeamLead)$/ at ./FHEM/33_readingsGroup.pm line 143.
2017.01.30 21:08:56 1: PERL WARNING: ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE .Rauchmelder(.|_TeamLead)$/ at ./FHEM/33_readingsGroup.pm line 149.
2017.01.30 21:08:56 2: SecurityCheck:  WEB,WEBphone,WEBtablet has no associated allowed device with basicAuth.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2017.01.30 21:08:56 0: Featurelevel: 5.7
2017.01.30 21:08:56 0: Server started with 339 defined entities (fhem.pl:13259/2017-01-28 perl:5.020002 os:linux user:fhem pid:1400)
2017.01.30 21:08:57 3: telnetForBlockingFn_1485806936.9993: port 57507 opened
2017.01.30 21:08:57 3: CUL_HM set EG_fl_SD_Rauchmelder1 statusRequest
2017.01.30 21:08:57 3: FritzCallMonitor device opened
2017.01.30 21:08:57 1: HMLAN_Parse: HMLAN1 new condition ok
2017.01.30 21:08:58 3: CUL_HM set EG_ki_Jalousie1 statusRequest
2017.01.30 21:08:59 3: CUL_HM set EG_ki_Jalousie2 statusRequest
2017.01.30 21:09:34 3: CALVIEW iCal_kroemmel_view - CALENDAR:iCal_kroemmel triggered, updating CALVIEW iCal_kroemmel_view ...
2017.01.30 21:09:34 1: PERL WARNING: Use of uninitialized value in numeric lt (<) at ./FHEM/57_Calendar.pm line 2057.
Undefined subroutine &main::timelocal called at ./FHEM/57_CALVIEW.pm line 113.

() FHEM als Ubuntu-VM
() VCCU mit 1 HMLAN, 2 UARTs und div. Sensoren/Aktoren (primär HM), HUE,
() Integration Fritz!Box, Googlekalender, Unifi, Viessmann Heizung, Umweltbedingungen, Sonnenstand, PWM, Jalousiesteuerung, Anwesenheitserkennung, Raumklimaüberwachung, Telegram

betateilchen

Kann es sein, dass Du hier gerade im völlig falschen Unterforum unterwegs bist?


Und darum würde ich mich an Deiner Stelle auch mal kümmern:


2017.01.30 21:08:56 1: PERL WARNING: ^* matches null string many times in regex;
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

betateilchen

Undefined subroutine &main::timelocal called at ./FHEM/57_CALVIEW.pm line 113.

ich würde sagen, da fehlt irgendwo ein

use Time::Local;

am Anfang der Moduldatei.
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

kroemmel

Hey,

wenn ich ehrlich bin, wusste ich nicht so ganz, in welches Forum ich reingehöre... Server läuft auf Linux, Thema passte zu diversen anderen Threasds hier... Sorry!

Kann gerne verschoben werden.

Der RegEx Hinweis ist mir vorhin beim checken auch über den Weg gelaufen, aber primär geht es mir nun darum, dass ich wieder nen Update fahren kann.

Grüße,
kroemmel
() FHEM als Ubuntu-VM
() VCCU mit 1 HMLAN, 2 UARTs und div. Sensoren/Aktoren (primär HM), HUE,
() Integration Fritz!Box, Googlekalender, Unifi, Viessmann Heizung, Umweltbedingungen, Sonnenstand, PWM, Jalousiesteuerung, Anwesenheitserkennung, Raumklimaüberwachung, Telegram

kroemmel

Danke für den Hinweis! Ich hab eben in die 57_CALVIEW.pm geschaut (Stand: vor Update) - da steht tatsächlich keins drin... Strange, dass es dann bisher funktioniert hat?!

Ich schreib's rein, fahre nen Update und gebe Bescheid.

Grüße,
kroemmel
() FHEM als Ubuntu-VM
() VCCU mit 1 HMLAN, 2 UARTs und div. Sensoren/Aktoren (primär HM), HUE,
() Integration Fritz!Box, Googlekalender, Unifi, Viessmann Heizung, Umweltbedingungen, Sonnenstand, PWM, Jalousiesteuerung, Anwesenheitserkennung, Raumklimaüberwachung, Telegram

betateilchen

Du kannst den Beitrag selbst in den richtigen Bereich (ich würde sagen "Unterstützende Dienste -> Kalendermodule") verschieben.
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

kroemmel

Da hab ich ja heute noch reichlich dazugelernt :)

Thema ist verschoben.




Zurück zu Lück:

  • Update habe ich erneut durchlaufen lassen, vorher die 57_CALVIEW.pm mit use Time::Local; ergänzt.

    • Ergebnis: Gleicher Fehler.
    • Check der 57_CALVIEW.pm nach Update - use Time::Local; ist wieder raus...
    • Use Time::Local; erneut eingefügt
    • FHEM neu gestartet
    • Nun funktioniert es!

Danke betateilchen für den Wink!

Bleibt die Frage, warum das use Time::Local; aus dem Modul fliegt.

Grüße,
kroemmel
() FHEM als Ubuntu-VM
() VCCU mit 1 HMLAN, 2 UARTs und div. Sensoren/Aktoren (primär HM), HUE,
() Integration Fritz!Box, Googlekalender, Unifi, Viessmann Heizung, Umweltbedingungen, Sonnenstand, PWM, Jalousiesteuerung, Anwesenheitserkennung, Raumklimaüberwachung, Telegram

betateilchen

Das darfst Du mich nicht fragen, ich hab mit dem Modul nix zu tun.
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

betateilchen

Zitat von: kroemmel am 30 Januar 2017, 21:42:05
Danke für den Hinweis! Ich hab eben in die 57_CALVIEW.pm geschaut (Stand: vor Update) - da steht tatsächlich keins drin...

Vor dem Update wurde das Time::Local auch nicht gebraucht.


my $eventDate = timelocal(0,0,0,$D,$M-1,$Y);


Diese Zeile ist erst beim letzten Update gestern in das Modul gekommen. Und genau diese Zeile benötigt das perl Modul Time::Local.

Würde der Modulautor auf die fhem-eigene Funktion fhemTimeLocal() zurückgreifen, könnte man sich das zusätzliche Modul vermutlich sparen.
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

chris1284

hey ihr beiden, danke für den hinweis. prüfe ich heute nachmittag direk!

kroemmel

#10
Ahoi,

@betateilchen - Regex habe ich gefunden. War ein "*" zuviel im Ausdruck.  :-X

@chris1284 - Besten Dank dafür! Ich hab mir mein Log noch mal detailliert zu Gemüte geführt (wenn ich schon dabei bin...  ::) ) und mir sind die folgenden zwei Zeilen auch noch aufgefallen:
2017.01.31 15:42:45 1: PERL WARNING: Use of uninitialized value in numeric lt (<) at ./FHEM/57_Calendar.pm line 2057.
2017.01.31 15:42:48 1: PERL WARNING: Use of uninitialized value in numeric gt (>) at ./FHEM/57_CALVIEW.pm line 161.


Wenn du heute eh nachschaust, kannst du ja ggf. die 2 Zeilen auch noch mal querlesen.

Grüße,
kroemmel
() FHEM als Ubuntu-VM
() VCCU mit 1 HMLAN, 2 UARTs und div. Sensoren/Aktoren (primär HM), HUE,
() Integration Fritz!Box, Googlekalender, Unifi, Viessmann Heizung, Umweltbedingungen, Sonnenstand, PWM, Jalousiesteuerung, Anwesenheitserkennung, Raumklimaüberwachung, Telegram

chris1284

habe auf fhemTimeLocal umgebaut so das Time::Local nicht benötigt wird. Danke Udo, ich muss öffter in die DevelopmentModuleAPI schauen

Zitat2017.01.31 15:42:48 1: PERL WARNING: Use of uninitialized value in numeric gt (>) at ./FHEM/57_CALVIEW.pm line 161.
gefixed, bzw ich bekomme ihn nicht mehr.

Zitat2017.01.31 15:42:45 1: PERL WARNING: Use of uninitialized value in numeric lt (<) at ./FHEM/57_Calendar.pm line 2057.
hier must du boris ansprechen da es sein modul ist

kroemmel

Besten Dank & Wow - das ging fix! Nächstes Update steht morgen früh an. Ich berichte dann!

Boris schreibe ich kurz eine Nachricht, damit er hier kurz reinschaut.

Grüße,
kroemmel
() FHEM als Ubuntu-VM
() VCCU mit 1 HMLAN, 2 UARTs und div. Sensoren/Aktoren (primär HM), HUE,
() Integration Fritz!Box, Googlekalender, Unifi, Viessmann Heizung, Umweltbedingungen, Sonnenstand, PWM, Jalousiesteuerung, Anwesenheitserkennung, Raumklimaüberwachung, Telegram

betateilchen

#13
@kroemmel was hast Du in Deinem Calendar-device in den Attributen hideOlderThan und hideLaterThan stehen?
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

kroemmel

Hi,

Ja - hideOlderThan ist in Verwendung.

Grüße
Kroemmel
() FHEM als Ubuntu-VM
() VCCU mit 1 HMLAN, 2 UARTs und div. Sensoren/Aktoren (primär HM), HUE,
() Integration Fritz!Box, Googlekalender, Unifi, Viessmann Heizung, Umweltbedingungen, Sonnenstand, PWM, Jalousiesteuerung, Anwesenheitserkennung, Raumklimaüberwachung, Telegram