Fehlermeldung/Warnung TelegramBot - Use of uninitialized value $d

Begonnen von throbin, 12 April 2017, 21:29:50

Vorheriges Thema - Nächstes Thema

throbin

Hi,

ich bekomme seit dem Update heute Abend (12.04.2017) eine Warnung bei jedem Neustart von FHEM im log:


2017.04.12 21:23:34.055 3: TelegramBot_Define TelegramBotDevice: called
2017.04.12 21:23:34.512 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4035.
2017.04.12 21:23:34.512 1: stacktrace:
2017.04.12 21:23:34.512 1:     main::__ANON__                      called by fhem.pl (4035)
2017.04.12 21:23:34.512 1:     main::AttrVal                       called by FHEM/HttpUtils.pm (343)
2017.04.12 21:23:34.512 1:     main::HttpUtils_Connect2            called by FHEM/HttpUtils.pm (325)
2017.04.12 21:23:34.512 1:     main::HttpUtils_Connect             called by FHEM/HttpUtils.pm (715)
2017.04.12 21:23:34.513 1:     main::HttpUtils_BlockingGet         called by ./FHEM/50_TelegramBot.pm (1416)
2017.04.12 21:23:34.513 1:     main::TelegramBot_DoUrlCommand      called by ./FHEM/50_TelegramBot.pm (2569)
2017.04.12 21:23:34.513 1:     main::TelegramBot_Setup             called by ./FHEM/50_TelegramBot.pm (320)
2017.04.12 21:23:34.513 1:     main::TelegramBot_Define            called by fhem.pl (3379)
2017.04.12 21:23:34.513 1:     main::CallFn                        called by fhem.pl (1895)
2017.04.12 21:23:34.513 1:     main::CommandDefine                 called by fhem.pl (1149)
2017.04.12 21:23:34.513 1:     main::AnalyzeCommand                called by fhem.pl (1018)
2017.04.12 21:23:34.513 1:     main::AnalyzeCommandChain           called by fhem.pl (1284)
2017.04.12 21:23:34.514 1:     main::CommandInclude                called by fhem.pl (527)


Kann man das ignorieren/abschalten?

rudolfkoenig


Markus M.

Wodurch ist der Fehler entstanden?
Gab es vorher ein Fallback, wenn der Name nicht initialisiert war?
Ich habe noch eine andere Stelle an der das passiert.
Aktuell weder Smarthome noch FHEM vorhanden

rudolfkoenig

HttpUtils_NonblockingGet erwartet ein $hash mit den Parameter, das muss aber nicht ein $defs Eintrag sein (kann aber), und NAME ist deswegen auch kein Pflicht. Nur nuetzlich, wenn man per Attribut (wie hier) sslVersion setzen will.

Bitzer

Hi,

ich bekomme nach dem heutigen Update den diese Liste von Fehlern im LOG bei jedem Neustart. Weiß jemand was da faul sein könnte?

Danke und Gruß
Oli

2017.08.18 10:20:25 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 174.
2017.08.18 10:20:26 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 215.
2017.08.18 10:20:26 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 231.
2017.08.18 10:20:26 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 247.
2017.08.18 10:20:26 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 263.
2017.08.18 10:20:26 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 279.
2017.08.18 10:20:26 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 295.
2017.08.18 10:20:27 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 311.
2017.08.18 10:20:27 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 327.
2017.08.18 10:20:27 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 343.
2017.08.18 10:20:27 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 359.
2017.08.18 10:20:27 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 375.
2017.08.18 10:20:27 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 391.
2017.08.18 10:20:27 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 411.
2017.08.18 10:20:27 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 424.
2017.08.18 10:20:27 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 447.
2017.08.18 10:20:27 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 460.
2017.08.18 10:20:28 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 473.
2017.08.18 10:20:28 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 496.
2017.08.18 10:20:28 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 509.
2017.08.18 10:20:28 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 532.
2017.08.18 10:20:28 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 562.
2017.08.18 10:20:28 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 592.
2017.08.18 10:20:28 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 612.
2017.08.18 10:20:28 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 625.
2017.08.18 10:20:28 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 648.
2017.08.18 10:20:28 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 659.
2017.08.18 10:20:28 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 670.
2017.08.18 10:20:28 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 681.
2017.08.18 10:20:29 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 704.
2017.08.18 10:20:29 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 727.
2017.08.18 10:20:29 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 740.
2017.08.18 10:20:29 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 765.
2017.08.18 10:20:29 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 788.
2017.08.18 10:20:29 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 799.
2017.08.18 10:20:29 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 810.
2017.08.18 10:20:29 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 821.
2017.08.18 10:20:29 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 832.
2017.08.18 10:20:29 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 843.
2017.08.18 10:20:29 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 854.
2017.08.18 10:20:30 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 865.
2017.08.18 10:20:30 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 878.
2017.08.18 10:20:30 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 891.
2017.08.18 10:20:30 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 906.
2017.08.18 10:20:30 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 917.
2017.08.18 10:20:30 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 928.
2017.08.18 10:20:30 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 939.
2017.08.18 10:20:30 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 950.
2017.08.18 10:20:30 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 963.
2017.08.18 10:20:30 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 974.
2017.08.18 10:20:30 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 985.
2017.08.18 10:20:30 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 996.
2017.08.18 10:20:31 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1007.
2017.08.18 10:20:31 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1018.
2017.08.18 10:20:31 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1029.
2017.08.18 10:20:31 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1040.
2017.08.18 10:20:31 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1052.
2017.08.18 10:20:31 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1063.
2017.08.18 10:20:31 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1074.
2017.08.18 10:20:31 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1085.
2017.08.18 10:20:31 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1098.
2017.08.18 10:20:31 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1116.
2017.08.18 10:20:31 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1134.
2017.08.18 10:20:32 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1152.
2017.08.18 10:20:32 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1170.
2017.08.18 10:20:32 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1188.
2017.08.18 10:20:32 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1206.
2017.08.18 10:20:32 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1224.
2017.08.18 10:20:32 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1242.
2017.08.18 10:20:32 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1260.
2017.08.18 10:20:32 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1278.
2017.08.18 10:20:32 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1297.
2017.08.18 10:20:33 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1318.
2017.08.18 10:20:33 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 1327.

rudolfkoenig

Setz mal bitte "attr global stacktrace". Warum bist Du der Meinung, dass es was mit TelegramBot zu tun hat?

Bitzer

Hier der Auszug aus dem Log, es gibt noch ein paar mehr Einträge.
(Hat nichts mit TelegramBot zu tun, war nur die gleiche Fehlermeldung, deshalb habe ich mich hier rangehängt. Neuer Thread wäre vielleicht besser gewesen...)

Danke für Deine Hilfe...

PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 175.
2017.08.18 10:54:02 1: stacktrace:
2017.08.18 10:54:02 1:     main::__ANON__                      called by fhem.pl (4096)
2017.08.18 10:54:02 1:     main::AttrVal                       called by ./FHEM/10_EnOcean.pm (725)
2017.08.18 10:54:02 1:     main::EnOcean_Define                called by fhem.pl (3433)
2017.08.18 10:54:02 1:     main::CallFn                        called by fhem.pl (1919)
2017.08.18 10:54:02 1:     main::CommandDefine                 called by fhem.pl (1170)
2017.08.18 10:54:02 1:     main::AnalyzeCommand                called by fhem.pl (1024)
2017.08.18 10:54:02 1:     main::AnalyzeCommandChain           called by fhem.pl (1305)
2017.08.18 10:54:02 1:     main::CommandInclude                called by fhem.pl (531)
2017.08.18 10:54:03 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 216.
2017.08.18 10:54:03 1: stacktrace:
2017.08.18 10:54:03 1:     main::__ANON__                      called by fhem.pl (4096)
2017.08.18 10:54:03 1:     main::AttrVal                       called by ./FHEM/10_EnOcean.pm (725)
2017.08.18 10:54:03 1:     main::EnOcean_Define                called by fhem.pl (3433)
2017.08.18 10:54:03 1:     main::CallFn                        called by fhem.pl (1919)
2017.08.18 10:54:03 1:     main::CommandDefine                 called by fhem.pl (1170)
2017.08.18 10:54:03 1:     main::AnalyzeCommand                called by fhem.pl (1024)
2017.08.18 10:54:03 1:     main::AnalyzeCommandChain           called by fhem.pl (1305)
2017.08.18 10:54:03 1:     main::CommandInclude                called by fhem.pl (531)
2017.08.18 10:54:03 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 232.
2017.08.18 10:54:03 1: stacktrace:
2017.08.18 10:54:03 1:     main::__ANON__                      called by fhem.pl (4096)
2017.08.18 10:54:03 1:     main::AttrVal                       called by ./FHEM/10_EnOcean.pm (725)
2017.08.18 10:54:03 1:     main::EnOcean_Define                called by fhem.pl (3433)
2017.08.18 10:54:03 1:     main::CallFn                        called by fhem.pl (1919)
2017.08.18 10:54:03 1:     main::CommandDefine                 called by fhem.pl (1170)
2017.08.18 10:54:03 1:     main::AnalyzeCommand                called by fhem.pl (1024)
2017.08.18 10:54:03 1:     main::AnalyzeCommandChain           called by fhem.pl (1305)
2017.08.18 10:54:03 1:     main::CommandInclude                called by fhem.pl (531)
2017.08.18 10:54:03 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 248.
2017.08.18 10:54:03 1: stacktrace:
2017.08.18 10:54:03 1:     main::__ANON__                      called by fhem.pl (4096)
2017.08.18 10:54:03 1:     main::AttrVal                       called by ./FHEM/10_EnOcean.pm (725)
2017.08.18 10:54:03 1:     main::EnOcean_Define                called by fhem.pl (3433)
2017.08.18 10:54:03 1:     main::CallFn                        called by fhem.pl (1919)
2017.08.18 10:54:03 1:     main::CommandDefine                 called by fhem.pl (1170)
2017.08.18 10:54:03 1:     main::AnalyzeCommand                called by fhem.pl (1024)
2017.08.18 10:54:03 1:     main::AnalyzeCommandChain           called by fhem.pl (1305)
2017.08.18 10:54:03 1:     main::CommandInclude                called by fhem.pl (531)
2017.08.18 10:54:03 1: PERL WARNING: Use of uninitialized value $d in hash element at fhem.pl line 4096, <$fh> line 264.

rudolfkoenig

ZitatNeuer Thread wäre vielleicht besser gewesen...
Nicht vielleicht. Bitte im EnOcean Bereich eins erstellen, ich gehe davon aus, dass der Maintainer hier nicht mitliest.