Autor Thema: 72_Fritzbox Modul - bug durch umbenennen?  (Gelesen 326 mal)

Offline Sidey

  • Developer
  • Hero Member
  • ****
  • Beiträge: 2376
72_Fritzbox Modul - bug durch umbenennen?
« am: 03 Februar 2019, 01:22:12 »
Hi,

ich habe meine Fritzbox Definition umbenannt.
Danach hat es mir das globale Logfile zugenagelt mit solchen Meldungen:

2019.02.03 01:11:31 1:     main::CallFn                        called by fhem.pl (737)
2019.02.03 01:11:31 1:     main::telnet_Read                   called by fhem.pl (3684)
2019.02.03 01:11:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (255)
2019.02.03 01:11:31 1:     main::AnalyzeCommand                called by fhem.pl (1074)
2019.02.03 01:11:31 1:     main::AnalyzePerlCommand            called by fhem.pl (1152)
2019.02.03 01:11:31 1:     (eval)                              called by fhem.pl (1127)
2019.02.03 01:11:31 1:     main::FRITZBOX_Readout_Done         called by (eval 517950) (1)
2019.02.03 01:11:31 1:     main::FRITZBOX_Readout_Process      called by ./FHEM/72_FRITZBOX.pm (1776)
2019.02.03 01:11:31 1:     main::readingsBulkUpdate            called by ./FHEM/72_FRITZBOX.pm (1916)
2019.02.03 01:11:31 1: stacktrace:
2019.02.03 01:11:31 1: readingsUpdate(,lastReadout,9 values captured in 0.11 s) missed to call readingsBeginUpdate first.
2019.02.03 01:11:31 1:     main::CallFn                        called by fhem.pl (737)
2019.02.03 01:11:31 1:     main::telnet_Read                   called by fhem.pl (3684)
2019.02.03 01:11:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (255)
2019.02.03 01:11:31 1:     main::AnalyzeCommand                called by fhem.pl (1074)
2019.02.03 01:11:31 1:     main::AnalyzePerlCommand            called by fhem.pl (1152)
2019.02.03 01:11:31 1:     (eval)                              called by fhem.pl (1127)
2019.02.03 01:11:31 1:     main::FRITZBOX_Readout_Done         called by (eval 517950) (1)
2019.02.03 01:11:31 1:     main::FRITZBOX_Readout_Process      called by ./FHEM/72_FRITZBOX.pm (1776)
2019.02.03 01:11:31 1:     main::readingsBeginUpdate           called by ./FHEM/72_FRITZBOX.pm (1794)
2019.02.03 01:11:31 1: stacktrace:
2019.02.03 01:11:31 1: ERROR: empty name in readingsBeginUpdate
2019.02.03 01:11:31 1:     main::CallFn                        called by fhem.pl (737)
2019.02.03 01:11:31 1:     main::telnet_Read                   called by fhem.pl (3684)
2019.02.03 01:11:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (255)
2019.02.03 01:11:31 1:     main::AnalyzeCommand                called by fhem.pl (1074)
2019.02.03 01:11:31 1:     main::AnalyzePerlCommand            called by fhem.pl (1152)
2019.02.03 01:11:31 1:     (eval)                              called by fhem.pl (1127)
2019.02.03 01:11:31 1:     main::FRITZBOX_Readout_Done         called by (eval 517948) (1)
2019.02.03 01:11:31 1:     main::FRITZBOX_Readout_Process      called by ./FHEM/72_FRITZBOX.pm (1776)
2019.02.03 01:11:31 1:     main::readingsBulkUpdate            called by ./FHEM/72_FRITZBOX.pm (1916)
2019.02.03 01:11:31 1: stacktrace:
2019.02.03 01:11:31 1: readingsUpdate(,lastReadout,9 values captured in 0.11 s) missed to call readingsBeginUpdate first.
2019.02.03 01:11:31 1:     main::CallFn                        called by fhem.pl (737)
2019.02.03 01:11:31 1:     main::telnet_Read                   called by fhem.pl (3684)
2019.02.03 01:11:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (255)
2019.02.03 01:11:31 1:     main::AnalyzeCommand                called by fhem.pl (1074)
2019.02.03 01:11:31 1:     main::AnalyzePerlCommand            called by fhem.pl (1152)
2019.02.03 01:11:31 1:     (eval)                              called by fhem.pl (1127)
2019.02.03 01:11:31 1:     main::FRITZBOX_Readout_Done         called by (eval 517948) (1)
2019.02.03 01:11:31 1:     main::FRITZBOX_Readout_Process      called by ./FHEM/72_FRITZBOX.pm (1776)
2019.02.03 01:11:31 1:     main::readingsBeginUpdate           called by ./FHEM/72_FRITZBOX.pm (1794)
2019.02.03 01:11:31 1: stacktrace:
2019.02.03 01:11:31 1: ERROR: empty name in readingsBeginUpdate
2019.02.03 01:11:31 1:     main::CallFn                        called by fhem.pl (737)
2019.02.03 01:11:31 1:     main::telnet_Read                   called by fhem.pl (3684)
2019.02.03 01:11:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (255)
2019.02.03 01:11:31 1:     main::AnalyzeCommand                called by fhem.pl (1074)
2019.02.03 01:11:31 1:     main::AnalyzePerlCommand            called by fhem.pl (1152)
2019.02.03 01:11:31 1:     (eval)                              called by fhem.pl (1127)
2019.02.03 01:11:31 1:     main::FRITZBOX_Readout_Done         called by (eval 517946) (1)
2019.02.03 01:11:31 1:     main::FRITZBOX_Readout_Process      called by ./FHEM/72_FRITZBOX.pm (1776)
2019.02.03 01:11:31 1:     main::readingsBulkUpdate            called by ./FHEM/72_FRITZBOX.pm (1916)
2019.02.03 01:11:31 1: stacktrace:
2019.02.03 01:11:31 1: readingsUpdate(,lastReadout,9 values captured in 0.09 s) missed to call readingsBeginUpdate first.
2019.02.03 01:11:31 1:     main::CallFn                        called by fhem.pl (737)
2019.02.03 01:11:31 1:     main::telnet_Read                   called by fhem.pl (3684)
2019.02.03 01:11:31 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (255)
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 896.
2019.02.03 01:11:31 1:     main::AnalyzeCommand                called by fhem.pl (1074)
2019.02.03 01:11:31 1:     main::AnalyzePerlCommand            called by fhem.pl (1152)
2019.02.03 01:11:31 1:     (eval)                              called by fhem.pl (1127)
2019.02.03 01:11:31 1:     main::FRITZBOX_Readout_Done         called by (eval 517946) (1)
2019.02.03 01:11:31 1:     main::FRITZBOX_Readout_Process      called by ./FHEM/72_FRITZBOX.pm (1776)
2019.02.03 01:11:31 1:     main::readingsBeginUpdate           called by ./FHEM/72_FRITZBOX.pm (1794)
2019.02.03 01:11:31 1: stacktrace:
2019.02.03 01:11:31 1: ERROR: empty name in readingsBeginUpdate
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 881.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 896.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 881.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 896.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 807.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 881.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 791.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 807.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 807.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 779.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 791.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 791.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/72_FRITZBOX.pm line 758.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in string ne at ./FHEM/72_FRITZBOX.pm line 758.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in pattern match (m//) at ./FHEM/72_FRITZBOX.pm line 741.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 779.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 779.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/72_FRITZBOX.pm line 758.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in string ne at ./FHEM/72_FRITZBOX.pm line 758.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in pattern match (m//) at ./FHEM/72_FRITZBOX.pm line 741.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/72_FRITZBOX.pm line 758.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in string ne at ./FHEM/72_FRITZBOX.pm line 758.
2019.02.03 01:11:31 1: PERL WARNING: Use of uninitialized value $host in pattern match (m//) at ./FHEM/72_FRITZBOX.pm line 741.
2019.02.03 01:11:26 1: RMDIR: ./restoreDir/save/2019-01-27
2019.02.03 01:11:19 1:     main::CallFn                        called by fhem.pl (737)
2019.02.03 01:11:19 1:     main::telnet_Read                   called by fhem.pl (3684)
2019.02.03 01:11:19 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (255)
2019.02.03 01:11:19 1:     main::AnalyzeCommand                called by fhem.pl (1074)
2019.02.03 01:11:19 1:     main::AnalyzePerlCommand            called by fhem.pl (1152)
2019.02.03 01:11:19 1:     (eval)                              called by fhem.pl (1127)
2019.02.03 01:11:19 1:     main::FRITZBOX_Readout_Done         called by (eval 517931) (1)
2019.02.03 01:11:19 1:     main::FRITZBOX_Readout_Process      called by ./FHEM/72_FRITZBOX.pm (1776)
2019.02.03 01:11:19 1:     main::readingsBulkUpdate            called by ./FHEM/72_FRITZBOX.pm (1916)
2019.02.03 01:11:19 1: stacktrace:
2019.02.03 01:11:19 1: readingsUpdate(,lastReadout,9 values captured in 0.07 s) missed to call readingsBeginUpdate first.
2019.02.03 01:11:19 1:     main::CallFn                        called by fhem.pl (737)
2019.02.03 01:11:19 1:     main::telnet_Read                   called by fhem.pl (3684)
2019.02.03 01:11:19 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (255)
2019.02.03 01:11:19 1:     main::AnalyzeCommand                called by fhem.pl (1074)
2019.02.03 01:11:19 1:     main::AnalyzePerlCommand            called by fhem.pl (1152)
2019.02.03 01:11:19 1:     (eval)                              called by fhem.pl (1127)
2019.02.03 01:11:19 1:     main::FRITZBOX_Readout_Done         called by (eval 517931) (1)
2019.02.03 01:11:19 1:     main::FRITZBOX_Readout_Process      called by ./FHEM/72_FRITZBOX.pm (1776)
2019.02.03 01:11:19 1:     main::readingsBeginUpdate           called by ./FHEM/72_FRITZBOX.pm (1794)
2019.02.03 01:11:19 1: stacktrace:
2019.02.03 01:11:19 1: ERROR: empty name in readingsBeginUpdate
2019.02.03 01:11:19 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 896.
2019.02.03 01:11:19 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 881.
2019.02.03 01:11:19 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 807.
2019.02.03 01:11:19 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 791.
2019.02.03 01:11:19 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 779.
2019.02.03 01:11:19 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/72_FRITZBOX.pm line 758.
2019.02.03 01:11:19 1: PERL WARNING: Use of uninitialized value $host in string ne at ./FHEM/72_FRITZBOX.pm line 758.
2019.02.03 01:11:19 1: PERL WARNING: Use of uninitialized value $host in pattern match (m//) at ./FHEM/72_FRITZBOX.pm line 741.
2019.02.03 01:11:18 1:     main::CallFn                        called by fhem.pl (737)
2019.02.03 01:11:18 1:     main::telnet_Read                   called by fhem.pl (3684)
2019.02.03 01:11:18 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (255)
2019.02.03 01:11:18 1:     main::AnalyzeCommand                called by fhem.pl (1074)
2019.02.03 01:11:18 1:     main::AnalyzePerlCommand            called by fhem.pl (1152)
2019.02.03 01:11:18 1:     (eval)                              called by fhem.pl (1127)
2019.02.03 01:11:18 1:     main::FRITZBOX_Readout_Done         called by (eval 517926) (1)
2019.02.03 01:11:18 1:     main::FRITZBOX_Readout_Process      called by ./FHEM/72_FRITZBOX.pm (1776)
2019.02.03 01:11:18 1:     main::readingsBulkUpdate            called by ./FHEM/72_FRITZBOX.pm (1916)
2019.02.03 01:11:18 1: stacktrace:
2019.02.03 01:11:18 1: readingsUpdate(,lastReadout,9 values captured in 0.08 s) missed to call readingsBeginUpdate first.
2019.02.03 01:11:18 1:     main::CallFn                        called by fhem.pl (737)
2019.02.03 01:11:18 1:     main::telnet_Read                   called by fhem.pl (3684)
2019.02.03 01:11:18 1:     main::AnalyzeCommandChain           called by ./FHEM/98_telnet.pm (255)
2019.02.03 01:11:18 1:     main::AnalyzeCommand                called by fhem.pl (1074)
2019.02.03 01:11:18 1:     main::AnalyzePerlCommand            called by fhem.pl (1152)
2019.02.03 01:11:18 1:     (eval)                              called by fhem.pl (1127)
2019.02.03 01:11:18 1:     main::FRITZBOX_Readout_Done         called by (eval 517926) (1)
2019.02.03 01:11:18 1:     main::FRITZBOX_Readout_Process      called by ./FHEM/72_FRITZBOX.pm (1776)
2019.02.03 01:11:18 1:     main::readingsBeginUpdate           called by ./FHEM/72_FRITZBOX.pm (1794)
2019.02.03 01:11:18 1: stacktrace:
2019.02.03 01:11:18 1: ERROR: empty name in readingsBeginUpdate
2019.02.03 01:11:18 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 896.
2019.02.03 01:11:18 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 881.
2019.02.03 01:11:18 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 807.
2019.02.03 01:11:18 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 791.
2019.02.03 01:11:18 1: PERL WARNING: Use of uninitialized value $host in concatenation (.) or string at ./FHEM/72_FRITZBOX.pm line 779.
2019.02.03 01:11:18 1: PERL WARNING: Use of uninitialized value in string ne at ./FHEM/72_FRITZBOX.pm line 758.
2019.02.03 01:11:18 1: PERL WARNING: Use of uninitialized value $host in string ne at ./FHEM/72_FRITZBOX.pm line 758.
2019.02.03 01:11:18 1: PERL WARNING: Use of uninitialized value $host in pattern match (m//) at ./FHEM/72_FRITZBOX.pm line 741.

Die Readings der Definition wurde auch nicht mehr aktualisiert.
Nach shutdown und start stellte ich fest, dass das Internal HOST fehlte und auch der Eintrag DEF fehlte.
Nach hinterlegen der IP Adresse läuft es wieder ohne Logmeldungen. Ich vermute aber mal, dass ein Fehler im Modul ist.

Grüße Sidey
Signalduino, HMLan, Raspberry Pi, Mysensors, ESPEasy, HABridge für Echo