Autor Thema: FritzBoxUtils.pm Fehlermeldungen  (Gelesen 228 mal)

Offline Markus M.

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1596
FritzBoxUtils.pm Fehlermeldungen
« am: 18 Juni 2017, 20:56:02 »
doCheckPW funktioniert wohl sporadisch nicht mehr vernünftig.
Hat jemand ähnliche Fehlermeldungen?

2017.06.18 19:13:30 1: PERL WARNING: Use of uninitialized value $chl in concatenation (.) or string at /opt/fhem/FHEM/FritzBoxUtils.pm line 23.
2017.06.18 19:13:30 1: stacktrace:
2017.06.18 19:13:30 1:     main::__ANON__                      called by /opt/fhem/FHEM/FritzBoxUtils.pm (23)
2017.06.18 19:13:30 1:     main::FB_doCheckPW                  called by /opt/fhem/FHEM/72_FRITZBOX.pm (4451)
2017.06.18 19:13:30 1:     main::FRITZBOX_Web_OpenCon          called by /opt/fhem/FHEM/72_FRITZBOX.pm (4567)
2017.06.18 19:13:30 1:     main::FRITZBOX_Web_Query            called by /opt/fhem/FHEM/72_FRITZBOX.pm (1323)
2017.06.18 19:13:30 1:     main::FRITZBOX_Readout_Run_Web      called by /opt/fhem/FHEM/Blocking.pm (160)
2017.06.18 19:13:30 1:     main::BlockingStart                 called by /opt/fhem/FHEM/Blocking.pm (85)
2017.06.18 19:13:30 1:     main::BlockingCall                  called by /opt/fhem/FHEM/72_FRITZBOX.pm (670)
2017.06.18 19:13:30 1:     main::FRITZBOX_Readout_Start        called by /opt/fhem/fhem.pl (3005)
2017.06.18 19:13:30 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (618)
2017.06.18 19:13:30 1: PERL WARNING: Use of uninitialized value $chl in concatenation (.) or string at /opt/fhem/FHEM/FritzBoxUtils.pm line 25.
2017.06.18 19:13:30 1: stacktrace:
2017.06.18 19:13:30 1:     main::__ANON__                      called by /opt/fhem/FHEM/FritzBoxUtils.pm (25)
2017.06.18 19:13:30 1:     main::FB_doCheckPW                  called by /opt/fhem/FHEM/72_FRITZBOX.pm (4451)
2017.06.18 19:13:30 1:     main::FRITZBOX_Web_OpenCon          called by /opt/fhem/FHEM/72_FRITZBOX.pm (4567)
2017.06.18 19:13:30 1:     main::FRITZBOX_Web_Query            called by /opt/fhem/FHEM/72_FRITZBOX.pm (1323)
2017.06.18 19:13:30 1:     main::FRITZBOX_Readout_Run_Web      called by /opt/fhem/FHEM/Blocking.pm (160)
2017.06.18 19:13:30 1:     main::BlockingStart                 called by /opt/fhem/FHEM/Blocking.pm (85)
2017.06.18 19:13:30 1:     main::BlockingCall                  called by /opt/fhem/FHEM/72_FRITZBOX.pm (670)
2017.06.18 19:13:30 1:     main::FRITZBOX_Readout_Start        called by /opt/fhem/fhem.pl (3005)
2017.06.18 19:13:30 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (618)
2017.06.18 19:13:31 1: PERL WARNING: Use of uninitialized value $data in pattern match (m//) at /opt/fhem/FHEM/FritzBoxUtils.pm line 42.
2017.06.18 19:13:31 1: stacktrace:
2017.06.18 19:13:31 1:     main::__ANON__                      called by /opt/fhem/FHEM/FritzBoxUtils.pm (42)
2017.06.18 19:13:31 1:     main::FB_doCheckPW                  called by /opt/fhem/FHEM/72_FRITZBOX.pm (4451)
2017.06.18 19:13:31 1:     main::FRITZBOX_Web_OpenCon          called by /opt/fhem/FHEM/72_FRITZBOX.pm (4567)
2017.06.18 19:13:31 1:     main::FRITZBOX_Web_Query            called by /opt/fhem/FHEM/72_FRITZBOX.pm (1323)
2017.06.18 19:13:31 1:     main::FRITZBOX_Readout_Run_Web      called by /opt/fhem/FHEM/Blocking.pm (160)
2017.06.18 19:13:31 1:     main::BlockingStart                 called by /opt/fhem/FHEM/Blocking.pm (85)
2017.06.18 19:13:31 1:     main::BlockingCall                  called by /opt/fhem/FHEM/72_FRITZBOX.pm (670)
2017.06.18 19:13:31 1:     main::FRITZBOX_Readout_Start        called by /opt/fhem/fhem.pl (3005)
2017.06.18 19:13:31 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (618)
2017.06.18 19:13:31 1: PERL WARNING: Use of uninitialized value $sid in pattern match (m//) at /opt/fhem/FHEM/FritzBoxUtils.pm line 43.
2017.06.18 19:13:31 1: stacktrace:
2017.06.18 19:13:31 1:     main::__ANON__                      called by /opt/fhem/FHEM/FritzBoxUtils.pm (43)
2017.06.18 19:13:31 1:     main::FB_doCheckPW                  called by /opt/fhem/FHEM/72_FRITZBOX.pm (4451)
2017.06.18 19:13:31 1:     main::FRITZBOX_Web_OpenCon          called by /opt/fhem/FHEM/72_FRITZBOX.pm (4567)
2017.06.18 19:13:31 1:     main::FRITZBOX_Web_Query            called by /opt/fhem/FHEM/72_FRITZBOX.pm (1323)
2017.06.18 19:13:31 1:     main::FRITZBOX_Readout_Run_Web      called by /opt/fhem/FHEM/Blocking.pm (160)
2017.06.18 19:13:31 1:     main::BlockingStart                 called by /opt/fhem/FHEM/Blocking.pm (85)
2017.06.18 19:13:31 1:     main::BlockingCall                  called by /opt/fhem/FHEM/72_FRITZBOX.pm (670)
2017.06.18 19:13:31 1:     main::FRITZBOX_Readout_Start        called by /opt/fhem/fhem.pl (3005)
2017.06.18 19:13:31 1:     main::HandleTimeout                 called by /opt/fhem/fhem.pl (618)

Gru
FHEM dev + HomeBridge + Lenovo Flex15 + HM-CFG-USB + RFXtrx433 + Fritz!Box 7490 + FRITZ!Powerline 546E

HM Aktoren/Sensoren/Winmatic/Keymatic/Thermostate, HUE, Netatmo Weather/Security/Heating, Xiaomi AirPurifier/Vacuum, Withings Aura/BPM/Cardio/Go/Pulse/Thermo, VSX828, Harmony
https://paypal.me/mm0

Offline rudolfkoenig

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 16452
Antw:FritzBoxUtils.pm Fehlermeldungen
« Antwort #1 am: 19 Juni 2017, 11:37:33 »
Ich habe den eigentlichen Bug gefixt und eingecheckt (PERL-Warnung, weil die Antwort der FritzBox kein <Challenge>(\w+)<\/Challenge> enthaelt).

In welchem Fall das wiederum der Fall ist, und wie man das loest, weiss ich nicht. Wenn du das Problem reproduzieren kannst, dann wuerde mich ein "attr global verbose 5" log interessieren, weil da der Inhalt der FritzBox Antwort protokolliert wird.

 

decade-submarginal