es gab leider schon einen Einfluss auf die Regelung, ich hab' mal auf Verdacht den letzten Teil der Regelschleife und den Start der nächsten reinkopiert. Scheint einen Fehler in der Main.py zu geben. Nachdem ich die Logs wegkopiert habe läuft wieder alles.
Code: Alles auswählen
2022-06-14 14:11:27,019 - {helpermodules.update_config:409} - ERROR - Logfile /var/www/html/openWB/data/daily_log/20220205.json entspricht nicht dem Dateiformat von Alpha 3.
Traceback (most recent call last):
File "/var/www/html/openWB/packages/helpermodules/update_config.py", line 404, in __solve_breaking_changes
new_content = {"entries": content, "totals": measurement_log.get_totals(content)}
File "/var/www/html/openWB/packages/helpermodules/measurement_log.py", line 217, in get_totals
Decimal(str(totals[group][module][key])))
KeyError: 'counter'
2022-06-14 14:11:27,034 - {helpermodules.update_config:409} - ERROR - Logfile /var/www/html/openWB/data/daily_log/20220321.json entspricht nicht dem Dateiformat von Alpha 3.
Traceback (most recent call last):
File "/var/www/html/openWB/packages/helpermodules/update_config.py", line 404, in __solve_breaking_changes
new_content = {"entries": content, "totals": measurement_log.get_totals(content)}
File "/var/www/html/openWB/packages/helpermodules/measurement_log.py", line 217, in get_totals
Decimal(str(totals[group][module][key])))
KeyError: 'counter'
2022-06-14 14:11:27,052 - {helpermodules.update_config:409} - ERROR - Logfile /var/www/html/openWB/data/daily_log/20220311.json entspricht nicht dem Dateiformat von Alpha 3.
Traceback (most recent call last):
File "/var/www/html/openWB/packages/helpermodules/update_config.py", line 404, in __solve_breaking_changes
new_content = {"entries": content, "totals": measurement_log.get_totals(content)}
File "/var/www/html/openWB/packages/helpermodules/measurement_log.py", line 217, in get_totals
Decimal(str(totals[group][module][key])))
KeyError: 'counter'
2022-06-14 14:11:27,126 - {helpermodules.update_config:409} - ERROR - Logfile /var/www/html/openWB/data/daily_log/20220610.json entspricht nicht dem Dateiformat von Alpha 3.
Traceback (most recent call last):
File "/var/www/html/openWB/packages/helpermodules/update_config.py", line 404, in __solve_breaking_changes
new_content = {"entries": content, "totals": measurement_log.get_totals(content)}
File "/var/www/html/openWB/packages/helpermodules/measurement_log.py", line 219, in get_totals
totals[group][module][key] = float(value) if "." in value else int(value)
ValueError: invalid literal for int() with base 10: '0E-8'
2022-06-14 14:11:27,138 - {root:209} - ERROR - Fehler im Main-Modul
Traceback (most recent call last):
File "/var/www/html/openWB/packages/main.py", line 177, in <module>
update_config.UpdateConfig().update()
File "/var/www/html/openWB/packages/helpermodules/update_config.py", line 334, in update
self.__solve_breaking_changes()
File "/var/www/html/openWB/packages/helpermodules/update_config.py", line 401, in __solve_breaking_changes
content = json.load(jsonFile)
File "/usr/lib/python3.9/json/__init__.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.9/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 61439 (char 61438)
2022-06-14 14:11:28,260 - {root:171} - DEBUG - Warten auf das Ende des Boot-Prozesses
2022-06-14 14:11:28,260 - {root:174} - DEBUG - Boot-Prozess abgeschlossen
2022-06-14 14:11:28,261 - {helpermodules.update_config:321} - DEBUG - Broker-Konfiguration aktualisieren
2022-06-14 14:11:31,208 - {helpermodules.update_config:362} - DEBUG - Ungültiges Topic zum Startzeitpunkt: openWB/set/chargepoint/13/get/charge_state
2022-06-14 14:11:31,211 - {helpermodules.update_config:362} - DEBUG - Ungültiges Topic zum Startzeitpunkt: openWB/set/chargepoint/13/get/rfid
2022-06-14 14:11:31,213 - {helpermodules.update_config:362} - DEBUG - Ungültiges Topic zum Startzeitpunkt: openWB/set/chargepoint/13/get/power
2022-06-14 14:11:31,216 - {helpermodules.update_config:362} - DEBUG - Ungültiges Topic zum Startzeitpunkt: openWB/set/chargepoint/13/get/voltages
2022-06-14 14:11:31,219 - {helpermodules.update_config:362} - DEBUG - Ungültiges Topic zum Startzeitpunkt: openWB/set/chargepoint/13/get/phases_in_use
2022-06-14 14:11:31,222 - {helpermodules.update_config:362} - DEBUG - Ungültiges Topic zum Startzeitpunkt: openWB/set/chargepoint/13/get/plug_state
2022-06-14 14:11:31,224 - {helpermodules.update_config:362} - DEBUG - Ungültiges Topic zum Startzeitpunkt: openWB/set/chargepoint/13/get/currents
2022-06-14 14:11:31,227 - {helpermodules.update_config:362} - DEBUG - Ungültiges Topic zum Startzeitpunkt: openWB/set/chargepoint/13/get/imported
2022-06-14 14:11:31,229 - {helpermodules.update_config:362} - DEBUG - Ungültiges Topic zum Startzeitpunkt: openWB/set/system/version
2022-06-14 14:11:31,269 - {helpermodules.update_config:409} - ERROR - Logfile /var/www/html/openWB/data/daily_log/20220301.json entspricht nicht dem Dateiformat von Alpha 3.
Traceback (most recent call last):
File "/var/www/html/openWB/packages/helpermodules/update_config.py", line 404, in __solve_breaking_changes
new_content = {"entries": content, "totals": measurement_log.get_totals(content)}
File "/var/www/html/openWB/packages/helpermodules/measurement_log.py", line 217, in get_totals
Decimal(str(totals[group][module][key])))
KeyError: 'counter'
2022-06-14 14:11:31,324 - {helpermodules.update_config:409} - ERROR - Logfile /var/www/html/openWB/data/daily_log/20220605.json entspricht nicht dem Dateiformat von Alpha 3.
Traceback (most recent call last):
File "/var/www/html/openWB/packages/helpermodules/update_config.py", line 404, in __solve_breaking_changes
new_content = {"entries": content, "totals": measurement_log.get_totals(content)}
File "/var/www/html/openWB/packages/helpermodules/measurement_log.py", line 219, in get_totals
totals[group][module][key] = float(value) if "." in value else int(value)
ValueError: invalid literal for int() with base 10: '0E-8'
2022-06-14 14:11:31,343 - {helpermodules.update_config:409} - ERROR - Logfile /var/www/html/openWB/data/daily_log/20220414.json entspricht nicht dem Dateiformat von Alpha 3.
Traceback (most recent call last):
File "/var/www/html/openWB/packages/helpermodules/update_config.py", line 404, in __solve_breaking_changes
new_content = {"entries": content, "totals": measurement_log.get_totals(content)}
File "/var/www/html/openWB/packages/helpermodules/measurement_log.py", line 217, in get_totals
Decimal(str(totals[group][module][key])))
KeyError: 'counter'
2022-06-14 14:11:31,358 - {helpermodules.update_config:409} - ERROR - Logfile /var/www/html/openWB/data/daily_log/20220329.json entspricht nicht dem Dateiformat von Alpha 3.
Traceback (most recent call last):
File "/var/www/html/openWB/packages/helpermodules/update_config.py", line 404, in __solve_breaking_changes
new_content = {"entries": content, "totals": measurement_log.get_totals(content)}
File "/var/www/html/openWB/packages/helpermodules/measurement_log.py", line 217, in get_totals
Decimal(str(totals[group][module][key])))
KeyError: 'counter'
Ich kann die alten Logs gern mal teilen falls Du da weiter reinschauen möchtest.