Fehlermeldung: FlowHandler: Could not forward data to instance

Bei meiner Installation sind gerade folgende Fehlermeldungen im logfile aufgetaucht:

12:18:11 | 22195 | ERROR   | FlowHandler          | Could not forward data to instance #22195: boost::bad_format_string: format-string is ill-formed
12:18:11 | 22622 | ERROR   | FlowHandler          | Could not forward data to instance #22622: boost::bad_format_string: format-string is ill-formed
12:18:11 | 18049 | ERROR   | FlowHandler          | Could not forward data to instance #18049: boost::bad_format_string: format-string is ill-formed
12:18:11 | 40422 | ERROR   | FlowHandler          | Could not forward data to instance #40422: boost::bad_format_string: format-string is ill-formed
12:18:21 | 22195 | ERROR   | FlowHandler          | Could not forward data to instance #22195: boost::bad_format_string: format-string is ill-formed
12:18:21 | 22622 | ERROR   | FlowHandler          | Could not forward data to instance #22622: boost::bad_format_string: format-string is ill-formed
12:18:21 | 18049 | ERROR   | FlowHandler          | Could not forward data to instance #18049: boost::bad_format_string: format-string is ill-formed
12:18:21 | 40422 | ERROR   | FlowHandler          | Could not forward data to instance #40422: boost::bad_format_string: format-string is ill-formed
12:18:31 | 14626 | ERROR   | FlowHandler          | Could not forward data to instance #14626: boost::bad_format_string: format-string is ill-formed
12:18:31 | 18049 | ERROR   | FlowHandler          | Could not forward data to instance #18049: boost::bad_format_string: format-string is ill-formed
12:18:31 | 40422 | ERROR   | FlowHandler          | Could not forward data to instance #40422: boost::bad_format_string: format-string is ill-formed

Interessanterweise scheint ein Neustart des symcon Dienstes auch etwas komische Logeinträge zu produzieren (siehe rote _alue woe eigentlich Value stehen sollte):

15:59:30 | 55592 | MESSAGE | VariableManager      | [Systemdaten, Wetter, Datum und Uhrzeit\Datum & Uhrzeit\Uhrzeit\[b]_alue[/b]] = 155930
15:59:30 | 51312 | MESSAGE | VariableManager      | [Systemdaten, Wetter, Datum und Uhrzeit\Datum & Uhrzeit\Datum\[b]_alue[/b]] = 20150613

Das _alue betrifft alle Logeinträge wo Value stehen sollte.

Erst ein kompletter Neustart des Raspberry Pi (2) erzeugt wieder den Normalzustand:

16:04:30 | 42351 | MESSAGE | VariableManager      | [Systemdaten, Wetter, Datum und Uhrzeit\Datum & Uhrzeit\Uhrzeit\Value] = 160430

Das ganze ist schon einmal nach ca. 1 Woche Betrieb passiert, wobei damals viele eingebaute Profile komische Sonderzeichen enthielten. Neustart des Dienstes brachte auch damals nichts. Nur ein kompletter Neustart des Raspi brachte Abhilfe. :confused:

Nachtrag:
Ich hab’ gerade mit Schrecken festgestellt, dass nun ca. 145 EIB Gruppen zwei Statusvariablen aufweisen: „Value“ und „_alue“ (sieheScreenshot)!

Wie werde ich diese „_alue“ Statusvariablen wieder los???

@paresy:
Gibt es keine Möglichkeit, diese _alue Variablen wieder loszuwerden???

Hast du eine Idee wie die her gekommen sind? In welche Variable landet der Status, wenn du schalten würdest? (Theoretisch können wir ein Skript schreiben, dass diese Variablen „aufräumt“)

paresy

Die „_alue“ Variablen sind entstanden, als ich den symcon Service nach den oben angesprochenen Flowhandler Fehlermeldungen neu gestartet hab. Ich kann dir auch gerne die beiden Logfiles - das mit dem Flowhandler Fehler und das darauf folgende mit den _alue Variablen - zukommen lassen. Soll ich sie dir per PM schicken?

Und für so ein Aufräumskript wäre ich dir echt dankbar, v.a. da die Variablen auch zum 1000 Var-Limit zählen.

Kleiner bump, falls paresy meine Antwort nicht gesehen hat… :wink:


$ids = IPS_GetVariableList();
foreach($ids as $id) {
  if(IPS_GetName($id) == "_alue") {
    echo "Lösche..." . $id;
    IPS_DeleteVariable($id);
  }
}

Danke für deine Geduld. So könnte das aussehen. :slight_smile:

paresy

Danke paresy, das Skript hat super funktioniert!

Ich schicke dir die beiden vorher/nachher Logs per PM.