Hallo in die Runde,
es wäre schön, wenn Ihr mir helfen könntet.
Mein LOG zeigt hintereinander viele Einträge:
2025.07.22 23:44:40 2: syntax error at (eval 5947) line 1, near "))"
Dies wiederholt sich in unregelmäßigen aber kurzen Abständen (oft 2 Sekunden). Irgendwann startet FHEM dann neu. Das ganze passiert mehrmals täglich, ohne dass ich hierfür einen Code ausfindig machen konnte.
die .cfg habe ich unterteilt und dann häpchenweise eingesielt.
Tja und dann läuft es einige Tage ohne Probleme bis der Fehler dann wieder auftritt.
Die Log-Einträge vor dem ersten Problem-Log-Eintrag sind immer andere, so dass ich hier keinen Schuldigen feststellen kann.
Schon mal vielen Dank für Eure Hilfe
Das ist vermutlich irgend ein eigener Code aus stateFormat, userReadings oä..
Aktiviere stacktrace, dann bekommst du vielleicht wenigstens den Modul-TYPE raus und kannst das weiter eingrenzen.
PS: einen Zusammenhang mit den Neustarts sehe ich nicht. wenn dazu nichts im Log steht, kommt das von extern.
Vielen lieben Dank für den Tipp mit stacktrace!!!
Habe ich eingeschaltet. Ich sehe dann viele Einträge zu meinen Shelly-Geräten. Bei allen habe ich dann die Firmware geupdatet. Das Problem besteht aber weiter....
Hier der Auszug aus dem log
2025.07.23 09:10:49 1: PERL WARNING: Use of uninitialized value in split at ./FHEM/30_HUEBridge.pm line 2596.
2025.07.23 09:10:49 1: stacktrace:
2025.07.23 09:10:49 1: main::__ANON__ called by ./FHEM/30_HUEBridge.pm (2596)
2025.07.23 09:10:49 1: main::HUEBridge_dispatch called by FHEM/HttpUtils.pm (855)
2025.07.23 09:10:49 1: main::HttpUtils_DataComplete called by FHEM/HttpUtils.pm (747)
2025.07.23 09:10:49 1: main::__ANON__ called by fhem.pl (786)
2025.07.23 09:10:51 3: CUL_HM set Dimmer_Bar_Licht off noArg
2025.07.23 09:11:04 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at FHEM/HttpUtils.pm line 707.
2025.07.23 09:11:04 1: stacktrace:
2025.07.23 09:11:04 1: main::__ANON__ called by FHEM/HttpUtils.pm (707)
2025.07.23 09:11:04 1: main::HttpUtils_Connect2 called by FHEM/HttpUtils.pm (569)
2025.07.23 09:11:04 1: main::__ANON__ called by fhem.pl (786)
2025.07.23 09:11:08 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/36_Shelly.pm line 7203.
2025.07.23 09:11:08 1: stacktrace:
2025.07.23 09:11:08 1: main::__ANON__ called by ./FHEM/36_Shelly.pm (7203)
2025.07.23 09:11:08 1: main::cmpVersions called by ./FHEM/36_Shelly.pm (7187)
2025.07.23 09:11:08 1: main::Shelly_firmwarecheck called by ./FHEM/36_Shelly.pm (3935)
2025.07.23 09:11:08 1: main::Shelly_status1G called by ./FHEM/36_Shelly.pm (7586)
2025.07.23 09:11:08 1: main::Shelly_HttpResponse called by FHEM/HttpUtils.pm (756)
2025.07.23 09:11:08 1: main::__ANON__ called by fhem.pl (786)
2025.07.23 09:11:08 1: PERL WARNING: Use of uninitialized value $2 in concatenation (.) or string at ./FHEM/36_Shelly.pm line 7203.
2025.07.23 09:11:08 1: stacktrace:
2025.07.23 09:11:08 1: main::__ANON__ called by ./FHEM/36_Shelly.pm (7203)
2025.07.23 09:11:08 1: main::cmpVersions called by ./FHEM/36_Shelly.pm (7187)
2025.07.23 09:11:08 1: main::Shelly_firmwarecheck called by ./FHEM/36_Shelly.pm (3935)
2025.07.23 09:11:08 1: main::Shelly_status1G called by ./FHEM/36_Shelly.pm (7586)
2025.07.23 09:11:08 1: main::Shelly_HttpResponse called by FHEM/HttpUtils.pm (756)
2025.07.23 09:11:08 1: main::__ANON__ called by fhem.pl (786)
2025.07.23 09:11:08 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/36_Shelly.pm line 7210.
2025.07.23 09:11:08 1: stacktrace:
2025.07.23 09:11:08 1: main::__ANON__ called by ./FHEM/36_Shelly.pm (7210)
2025.07.23 09:11:08 1: main::cmpVersions called by ./FHEM/36_Shelly.pm (7187)
2025.07.23 09:11:08 1: main::Shelly_firmwarecheck called by ./FHEM/36_Shelly.pm (3935)
2025.07.23 09:11:08 1: main::Shelly_status1G called by ./FHEM/36_Shelly.pm (7586)
2025.07.23 09:11:08 1: main::Shelly_HttpResponse called by FHEM/HttpUtils.pm (756)
2025.07.23 09:11:08 1: main::__ANON__ called by fhem.pl (786)
2025.07.23 09:11:08 1: PERL WARNING: Use of uninitialized value $2 in concatenation (.) or string at ./FHEM/36_Shelly.pm line 7210.
2025.07.23 09:11:08 1: stacktrace:
2025.07.23 09:11:08 1: main::__ANON__ called by ./FHEM/36_Shelly.pm (7210)
2025.07.23 09:11:08 1: main::cmpVersions called by ./FHEM/36_Shelly.pm (7187)
2025.07.23 09:11:08 1: main::Shelly_firmwarecheck called by ./FHEM/36_Shelly.pm (3935)
2025.07.23 09:11:08 1: main::Shelly_status1G called by ./FHEM/36_Shelly.pm (7586)
2025.07.23 09:11:08 1: main::Shelly_HttpResponse called by FHEM/HttpUtils.pm (756)
2025.07.23 09:11:08 1: main::__ANON__ called by fhem.pl (786)
2025.07.23 09:11:08 1: PERL WARNING: Use of uninitialized value $remaining in numeric gt (>) at ./FHEM/36_Shelly.pm line 4149.
2025.07.23 09:11:08 1: stacktrace:
2025.07.23 09:11:08 1: main::__ANON__ called by ./FHEM/36_Shelly.pm (4149)
2025.07.23 09:11:08 1: main::Shelly_status1G called by ./FHEM/36_Shelly.pm (7586)
2025.07.23 09:11:08 1: main::Shelly_HttpResponse called by FHEM/HttpUtils.pm (756)
2025.07.23 09:11:08 1: main::__ANON__ called by fhem.pl (786)
2025.07.23 09:11:08 1: PERL WARNING: Use of uninitialized value $1 in concatenation (.) or string at ./FHEM/36_Shelly.pm line 7203.
Bitte packe solche Blöcke künftig in code-Tags. Danke.
Und mit Deinem eingangs erwähnten syntax error hat das alles nichts zu tun, zumindest sehe ich in dem Logauszug keinen solchen Fehler.