SOC: VWID

Alles rund um SoC (Ladezustand des Fahrzeuges). Probleme, Fragen, Fehlfunktionen gehören hier hin
1893
Beiträge: 177
Registriert: So Nov 29, 2020 6:00 am

Re: SOC: VWID

Beitrag von 1893 »

rleidner hat geschrieben: Di Nov 29, 2022 10:06 am
rleidner hat geschrieben: So Nov 27, 2022 6:56 pm
rleidner hat geschrieben: So Nov 27, 2022 6:26 pm
Mist, ich habe gerade im Code gesehen, dass die reply-Datei erst geschrieben wird, nachdem dieser Fehler aufgetreten ist.
Ich muss für Deinen Fall noch eine Änderung einbauen, die dieses Problem abfängt.
Ich melde mich, wenn der PR erstellt ist.

Edit: PR 2530 erstellt: https://github.com/snaptec/openWB/pull/2530
Ich mache hier einen Update, wenn der PR in der Nightly ist.
@1893, der PR 2530 ist jetzt in der Nightly.
Mache einen Backup , dann Update auf die Nightly.
Dann nachsehen ob die o.g. Datei nach einem manuellen SOC-Abruf jetzt vorhanden ist und mitteilen was sie enthält.

Ich vermute die Datei wird so etwas enthalten, also statt data einen error:

Code: Alles auswählen

{
    "data": {},
    "error": {
        "capabilitiesStatus": {
            "message": "Internal error",
            "info": "Internal error, please try again later. If the problem persists, please contact our support.",
            "code": 4001,
            "group": 12,
            "retry": true
        }
    }
}
Aktueller SOC wird nach erneutem Update auf die Nightly wieder angezeigt.
Ganz herzlichen Dank
Golf GTE 06/18 bis 09/22
e-Up seit 04/20
Golf 8 ehybrid 10/22 bis 11/23
ID.3 bestellt LT 09/24
go-eCharger seit 06/18
LP1 openWB series2 standart+ seit 02/21
LP2 openWB custom seit 11/21
10 KWp PV SolarEdge
Stiebel WWK 301 electronic SOL
rleidner
Beiträge: 785
Registriert: Mo Nov 02, 2020 9:50 am

Re: SOC: VWID

Beitrag von rleidner »

👍
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Smart EQ forfour
Becker
Beiträge: 765
Registriert: Mi Okt 07, 2020 4:34 pm

Re: SOC: VWID

Beitrag von Becker »

Nach einem Reboot ist der Debug erst mal voll:

Code: Alles auswählen

2022-11-30 14:41:14: PID: 25801: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:41:13: PID: 25801: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:41:04: PID: 24498: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:41:04: PID: 24498: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:40:54: PID: 23184: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:40:53: PID: 23184: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:40:44: PID: 21884: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:40:43: PID: 21884: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:40:34: PID: 20586: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:40:33: PID: 20586: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:40:24: PID: 19284: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:40:23: PID: 19284: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:40:19: PID: 17988: **** WARNING **** Regulation loop needs 8 seconds (LV0)
2022-11-30 14:40:16: PID: 17988: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:40:16: PID: 17988: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:40:05: PID: 16453: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:40:04: PID: 16455: ##### cron5min.sh finished ##### (LV0)
2022-11-30 14:40:04: PID: 16453: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
2022-11-30 14:40:02: PID: 16769: Starting OpenWB services (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:40:01: PID: 16455: ##### cron5min.sh started ##### (LV0)
2022-11-30 14:39:55: PID: 15140: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:39:54: PID: 15140: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:39:45: PID: 13841: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:39:44: PID: 13841: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:39:39: PID: 12539: **** WARNING **** Regulation loop needs 8 seconds (LV0)
2022-11-30 14:39:35: PID: 12539: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:39:34: PID: 12539: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:39:25: PID: 11239: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:39:24: PID: 11239: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:39:15: PID: 9941: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:39:14: PID: 9941: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:39:05: PID: 8635: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:39:04: PID: 8635: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:38:55: PID: 7270: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:38:54: PID: 7270: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:38:45: PID: 5972: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:38:44: PID: 5972: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:38:35: PID: 4674: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:38:34: PID: 4674: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:38:25: PID: 3374: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:38:24: PID: 3374: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:38:15: PID: 2074: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:38:14: PID: 2074: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:38:05: PID: 759: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:38:04: PID: 759: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:37:54: PID: 31853: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:37:54: PID: 31853: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:37:45: PID: 30555: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:37:44: PID: 30555: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:37:34: PID: 29257: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:37:34: PID: 29257: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:37:24: PID: 27957: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:37:24: PID: 27957: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:37:14: PID: 26659: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:37:14: PID: 26659: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:37:04: PID: 25354: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:37:04: PID: 25354: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:36:54: PID: 24042: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:36:53: PID: 24042: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:36:44: PID: 22744: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:36:43: PID: 22744: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:36:34: PID: 21446: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:36:33: PID: 21446: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:36:24: PID: 20146: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:36:23: PID: 20146: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:36:14: PID: 18848: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:36:13: PID: 18848: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:36:04: PID: 17545: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:36:03: PID: 17545: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:35:55: PID: 16231: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:35:54: PID: 16231: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:35:45: PID: 14933: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:35:44: PID: 14933: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:35:35: PID: 13635: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:35:34: PID: 13635: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:35:25: PID: 12333: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:35:24: PID: 12333: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:35:20: PID: 11033: **** FATAL ********************************* (LV0)
2022-11-30 14:35:20: PID: 11033: **** FATAL Regulation loop needs 9 seconds (LV0)
2022-11-30 14:35:20: PID: 11033: **** FATAL ********************************* (LV0)
2022-11-30 14:35:17: PID: 11033: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:35:16: PID: 11033: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:35:09: PID: 9517: **** WARNING **** Regulation loop needs 8 seconds (LV0)
2022-11-30 14:35:06: PID: 9517: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:35:05: PID: 9517: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
2022-11-30 14:35:04: PID: 9511: ##### cron5min.sh finished ##### (LV0)
2022-11-30 14:35:03: PID: 9830: Starting OpenWB services (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:35:02: PID: 9511: ##### cron5min.sh started ##### (LV0)
2022-11-30 14:34:55: PID: 8230: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:34:54: PID: 8230: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:34:45: PID: 6960: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:34:44: PID: 6960: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:34:35: PID: 5690: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:34:34: PID: 5690: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:34:29: PID: 4413: **** WARNING **** Regulation loop needs 8 seconds (LV0)
2022-11-30 14:34:25: PID: 4413: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:34:24: PID: 4413: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:34:15: PID: 3144: ungültiger Wert für soc: password_form: ignore line: } 60 (LV0)
2022-11-30 14:34:14: PID: 3144: ungültiger Wert für soc1: password_form: ignore line: } 53 (LV0)
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 53: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 53\").
./ladelog.sh: Zeile 83: ((: password_form: ignore line: } 60: Syntaxfehler im Ausdruck. (Fehlerverursachendes Zeichen ist \": ignore line: } 60\").
2022-11-30 14:34:11: PID: 2019: **** FATAL ********************************* (LV0)
2022-11-30 14:34:11: PID: 2019: **** FATAL Regulation loop needs 19 seconds (LV0)
2022-11-30 14:34:11: PID: 2019: **** FATAL ********************************* (LV0)
2022-11-30 14:34:03: PID: 3013: Pause nach Umschaltung: 2s (LV0)
2022-11-30 14:34:02: PID: 2988: Previous regulation loop still running. Skipping. (LV0) at 35 main /var/www/html/openWB/regel.sh
2019
2022-11-30 14:34:01: PID: 2837: Previous regulation loop still running. Skipping. (LV0) at 35 main /var/www/html/openWB/regel.sh
2019
loadvars.sh: Zeile 1900: ramdisk/mqttslavemode: Datei oder Verzeichnis nicht gefunden
modules/goelp2/main.sh: Zeile 45: /var/www/html/openWB/ramdisk/tmpgoelp2rfid: Datei oder Verzeichnis nicht gefunden
Trying to read meter serial number once from meter at address /dev/ttyUSB0, ID 105
2022-11-30 14:33:45: at_reboot: 2022-11-30 14:33:45: boot done :-)
2022-11-30 14:33:45: at_reboot: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
2022-11-30 14:33:44: at_reboot: fix upload limit...OS Buster
nach 10min geht´s dann wieder
openWB series2 Buchse (2021)
go-eCharger HOME+ 22 kW (2022)
rleidner
Beiträge: 785
Registriert: Mo Nov 02, 2020 9:50 am

Re: SOC: VWID

Beitrag von rleidner »

Becker hat geschrieben: Mi Nov 30, 2022 1:46 pm Nach einem Reboot ist der Debug erst mal voll:
...
nach 10min geht´s dann wieder
Du hast Recht, ich kann es reproduzieren.

Offensichtlich landet das logging des verwendeten Moduls korrekt in soc.log aber unerwartet auch in stdout...
Das führt nach einer ersten Anmeldung zu diesem Inhalt der Datei .../ramdisk/soc(1):

Code: Alles auswählen

password_form: ignore line: } 42
Dort sollte nur die Zahl am Ende stehen, bei mir gerade 42.
Beim 2. SOC-Abruf nach dem reboot repariert sich das, da dann ein Token vorhanden ist und der komplette login nicht mehr nötig ist.
Ich werde mir das logging genauer ansehen, da auch andere Meldungen zu diesem Effekt führen können.

Die gute Nachricht: das Problem Ist in PR https://github.com/snaptec/openWB/pull/2535 bereits gelöst, der allerdings auf den merge in die Nightly wartet.

EDIT: Problem ist in PR 2535 behoben.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Smart EQ forfour
Becker
Beiträge: 765
Registriert: Mi Okt 07, 2020 4:34 pm

Re: SOC: VWID

Beitrag von Becker »

*Daumen nach oben*
aber schlimm ist das nicht oder ? so dass ich mich sofort um die nightly kümmern muss.
openWB series2 Buchse (2021)
go-eCharger HOME+ 22 kW (2022)
rleidner
Beiträge: 785
Registriert: Mo Nov 02, 2020 9:50 am

Re: SOC: VWID

Beitrag von rleidner »

Nein, nicht schlimm - Nightly würde auch jetzt noch nicht helfen, denn der PR wartet noch auf den merge.

Solange kein Reboot erfolgt wird der Fehler nicht mehr auftreten.
Nach einem Reboot wird er auftreten, kann aber mit einem manuellen SOC-Abruf (click auf den Kreispfeil) wieder abgestellt werden- oder beim nächsten automatischen Abruf nach dem jeweiligen Intervall.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Smart EQ forfour
SpaceMan
Beiträge: 13
Registriert: Fr Nov 11, 2022 11:42 am

Re: SOC: VWID

Beitrag von SpaceMan »

Hallo Zusammen,

da ich noch auf der initialen Version meiner gekauften openWB Series 2 war und der SoC mit dem alten Modul schon lange nicht mehr funktioniert hat, habe ich heute mal auf die derzeitige stable Version aktualisiert (1.9.288) und auf das VWID Modul umgestellt. Auf dem Handy funktioniert die VW ID App problemlos. Allerdings kommt bei mir (auch nach einem Reboot) der Fehler bzgl. der xml Library:

Code: Alles auswählen

2022-12-03 13:15:35: PID: 13063: Lp1: Requesting SoC (LV0)
ImportError: No module named 'lxml' (LV0)
    import lxml.html
  File "/var/www/html/openWB/modules/soc_vwid/libvwid.py", line 8, in <module>
    import libvwid
  File "/var/www/html/openWB/modules/soc_vwid/soc_vwid.py", line 5, in <module>
2022-12-03 12:33:41: PID: 22823: Lp1: Error from soc_vwid: Traceback (most recent call last):
Wie gesagt, ein Reboot hat nicht geholfen. Scheinbar kommt bei mir ein internal error vom Compiler:

Code: Alles auswählen

2022-12-03 12:58:56: at_reboot: Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_mpp6l4q/lxml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-ci44cs5q-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-_mpp6l4q/lxml/
2022-12-03 12:58:56: at_reboot: ----------------------------------------
2022-12-03 12:58:56: at_reboot: 
2022-12-03 12:58:56: at_reboot: error: command 'arm-linux-gnueabihf-gcc' failed with exit status 4
2022-12-03 12:58:56: at_reboot: cc tmp/xmlXPathInitbis22nzp.o -lxml2 -o a.out
2022-12-03 12:58:56: at_reboot: ^~~~
2022-12-03 12:58:56: at_reboot: main (int argc, char **argv) {
2022-12-03 12:58:56: at_reboot: /tmp/xmlXPathInitbis22nzp.c:2:1: warning: return type defaults to 'int' [-Wimplicit-int]
2022-12-03 12:58:56: at_reboot: cc -I/usr/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInitbis22nzp.c -o tmp/xmlXPathInitbis22nzp.o
2022-12-03 12:58:56: at_reboot: Compile failed: command 'arm-linux-gnueabihf-gcc' failed with exit status 4
2022-12-03 12:58:56: at_reboot: See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
2022-12-03 12:58:56: at_reboot: with preprocessed source if appropriate.
2022-12-03 12:58:56: at_reboot: Please submit a full bug report,
2022-12-03 12:58:56: at_reboot: arm-linux-gnueabihf-gcc: internal compiler error: Killed (program cc1)
2022-12-03 12:58:56: at_reboot: arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-9OXkbZ/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python3.5m -c src/lxml/etree.c -o build/temp.linux-armv7l-3.5/src/lxml/etree.o -w
2022-12-03 12:58:56: at_reboot: creating build/temp.linux-armv7l-3.5/src/lxml
2022-12-03 12:58:56: at_reboot: creating build/temp.linux-armv7l-3.5/src
2022-12-03 12:58:56: at_reboot: creating build/temp.linux-armv7l-3.5
2022-12-03 12:58:56: at_reboot: building 'lxml.etree' extension
2022-12-03 12:58:56: at_reboot: running build_ext
2022-12-03 12:58:56: at_reboot: copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
2022-12-03 12:58:56: at_reboot: copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
2022-12-03 12:58:56: at_reboot: copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
2022-12-03 12:58:56: at_reboot: copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
2022-12-03 12:58:56: at_reboot: copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
2022-12-03 12:58:56: at_reboot: copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
2022-12-03 12:58:56: at_reboot: creating build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
2022-12-03 12:58:56: at_reboot: copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl
2022-12-03 12:58:56: at_reboot: copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl
2022-12-03 12:58:56: at_reboot: creating build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/xsl
2022-12-03 12:58:56: at_reboot: copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/rng
2022-12-03 12:58:56: at_reboot: creating build/lib.linux-armv7l-3.5/lxml/isoschematron/resources/rng
2022-12-03 12:58:56: at_reboot: creating build/lib.linux-armv7l-3.5/lxml/isoschematron/resources
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/etree_defs.h -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/lxml-version.h -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/xslt.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/uri.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/schematron.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/xpath.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/c14n.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/relaxng.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/tree.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/config.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/__init__.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/xinclude.pxd -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/lxml.etree_api.h -> build/lib.linux-armv7l-3.5/lxml
2022-12-03 12:58:56: at_reboot: copying src/lxml/lxml.etree.h -> build/lib.linux-armv7l-3.5/lxml
2022-12-03 12:58:56: at_reboot: copying src/lxml/etree_api.h -> build/lib.linux-armv7l-3.5/lxml
2022-12-03 12:58:56: at_reboot: copying src/lxml/etree.h -> build/lib.linux-armv7l-3.5/lxml
2022-12-03 12:58:56: at_reboot: copying src/lxml/isoschematron/__init__.py -> build/lib.linux-armv7l-3.5/lxml/isoschematron
2022-12-03 12:58:56: at_reboot: creating build/lib.linux-armv7l-3.5/lxml/isoschematron
2022-12-03 12:58:56: at_reboot: copying src/lxml/html/html5parser.py -> build/lib.linux-armv7l-3.5/lxml/html
2022-12-03 12:58:56: at_reboot: copying src/lxml/html/_setmixin.py -> build/lib.linux-armv7l-3.5/lxml/html
2022-12-03 12:58:56: at_reboot: copying src/lxml/html/diff.py -> build/lib.linux-armv7l-3.5/lxml/html
2022-12-03 12:58:56: at_reboot: copying src/lxml/html/clean.py -> build/lib.linux-armv7l-3.5/lxml/html
2022-12-03 12:58:56: at_reboot: copying src/lxml/html/soupparser.py -> build/lib.linux-armv7l-3.5/lxml/html
2022-12-03 12:58:56: at_reboot: copying src/lxml/html/formfill.py -> build/lib.linux-armv7l-3.5/lxml/html
2022-12-03 12:58:56: at_reboot: copying src/lxml/html/usedoctest.py -> build/lib.linux-armv7l-3.5/lxml/html
2022-12-03 12:58:56: at_reboot: copying src/lxml/html/__init__.py -> build/lib.linux-armv7l-3.5/lxml/html
2022-12-03 12:58:56: at_reboot: copying src/lxml/html/_diffcommand.py -> build/lib.linux-armv7l-3.5/lxml/html
2022-12-03 12:58:56: at_reboot: copying src/lxml/html/_html5builder.py -> build/lib.linux-armv7l-3.5/lxml/html
2022-12-03 12:58:56: at_reboot: copying src/lxml/html/ElementSoup.py -> build/lib.linux-armv7l-3.5/lxml/html
2022-12-03 12:58:56: at_reboot: copying src/lxml/html/defs.py -> build/lib.linux-armv7l-3.5/lxml/html
2022-12-03 12:58:56: at_reboot: copying src/lxml/html/builder.py -> build/lib.linux-armv7l-3.5/lxml/html
2022-12-03 12:58:56: at_reboot: creating build/lib.linux-armv7l-3.5/lxml/html
2022-12-03 12:58:56: at_reboot: copying src/lxml/includes/__init__.py -> build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: creating build/lib.linux-armv7l-3.5/lxml/includes
2022-12-03 12:58:56: at_reboot: copying src/lxml/usedoctest.py -> build/lib.linux-armv7l-3.5/lxml
2022-12-03 12:58:56: at_reboot: copying src/lxml/__init__.py -> build/lib.linux-armv7l-3.5/lxml
2022-12-03 12:58:56: at_reboot: copying src/lxml/_elementpath.py -> build/lib.linux-armv7l-3.5/lxml
2022-12-03 12:58:56: at_reboot: copying src/lxml/cssselect.py -> build/lib.linux-armv7l-3.5/lxml
2022-12-03 12:58:56: at_reboot: copying src/lxml/ElementInclude.py -> build/lib.linux-armv7l-3.5/lxml
2022-12-03 12:58:56: at_reboot: copying src/lxml/pyclasslookup.py -> build/lib.linux-armv7l-3.5/lxml
2022-12-03 12:58:56: at_reboot: copying src/lxml/builder.py -> build/lib.linux-armv7l-3.5/lxml
2022-12-03 12:58:56: at_reboot: copying src/lxml/sax.py -> build/lib.linux-armv7l-3.5/lxml
2022-12-03 12:58:56: at_reboot: copying src/lxml/doctestcompare.py -> build/lib.linux-armv7l-3.5/lxml
2022-12-03 12:58:56: at_reboot: creating build/lib.linux-armv7l-3.5/lxml
2022-12-03 12:58:56: at_reboot: creating build/lib.linux-armv7l-3.5
2022-12-03 12:58:56: at_reboot: creating build
2022-12-03 12:58:56: at_reboot: running build_py
2022-12-03 12:58:56: at_reboot: running build
2022-12-03 12:58:56: at_reboot: running install
2022-12-03 12:58:56: at_reboot: warnings.warn(msg)
2022-12-03 12:58:56: at_reboot: /usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'project_urls'
2022-12-03 12:58:56: at_reboot: Building against libxml2 2.9.4 and libxslt 1.1.29
2022-12-03 12:58:56: at_reboot: Building without Cython.
2022-12-03 12:58:56: at_reboot: Building lxml version 4.9.1.
2022-12-03 12:58:56: at_reboot: Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_mpp6l4q/lxml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-ci44cs5q-record/install-record.txt --single-version-externally-managed --compile:
2022-12-03 12:58:56: at_reboot: Running setup.py install for lxml: finished with status 'error'
Was kann ich da machen? Ich habe ja keinen Zugriff auf das System.

Tausend Dank schonmal. Aktuell habe ich noch einen Workaround, indem ich auf einem anderen System den SoC abfrage und dann per MQTT pushe, aber da fehlt natürlich die Erkennung, ob das Fahrzeug angesteckt ist.

Edit: Vergessen: Fahrzeug ist ein eGolf.

Schöne Grüße, Jogi
rleidner
Beiträge: 785
Registriert: Mo Nov 02, 2020 9:50 am

Re: SOC: VWID

Beitrag von rleidner »

Sehr seltsam, irgend etwas läuft da bei der Initialisierung (atreboot.sh) falsch.

Das lxml Modul sollte beim Reboot installiert werden, falls noch nicht vorhanden.
In atreboot.sh wird das ausgeführt:

Code: Alles auswählen

	#Prepare for lxml used in soc module libvwid in Python
	if python3 -c "import lxml" &> /dev/null; then
		echo 'lxml installed...'
	else
		sudo pip3 install lxml
	fi
also es prüft ob lxml schon da ist, wenn nicht wird es mit pip3 installiert.
Dein Log zeigt Dinge, die ich nicht nachvollziehen kann.

Wenn ich auf meiner Test-oWB (Nightly 1.9.289) per Kommando lxml de-installiere und dann wieder installiere, kommt dieser output:

Code: Alles auswählen

pi@openwbtest-buster:~/openWB/runs $ sudo pip3 install lxml
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting lxml
  Downloading https://www.piwheels.org/simple/lxml/lxml-4.9.1-cp37-cp37m-linux_armv7l.whl (2.3MB)
    100% |████████████████████████████████| 2.3MB 51kB/s 
Installing collected packages: lxml
Successfully installed lxml-4.9.1
also etwas ganz anderes.

Auch wenn ich lxml de-installiere kommt nach reboot im Log:

Code: Alles auswählen

...
2022-12-03 13:59:34: at_reboot: jq installed...
2022-12-03 13:59:36: at_reboot: ipparser installed...
2022-12-03 13:59:49: at_reboot: Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
2022-12-03 13:59:49: at_reboot: Collecting lxml
2022-12-03 14:00:00: at_reboot: Using cached https://www.piwheels.org/simple/lxml/lxml-4.9.1-cp37-cp37m-linux_armv7l.whl
2022-12-03 14:00:02: PID: 24764: ##### cron5min.sh Boot in progress (LV0)
2022-12-03 14:00:04: at_reboot: Installing collected packages: lxml
2022-12-03 14:00:06: at_reboot: Successfully installed lxml-4.9.1
2022-12-03 14:00:08: at_reboot: soc_vwid: python3 secrets installed...
...
Eine Kompilation aus Sourcen wie in Deinem Log findet da nicht statt...
Ich kann auch dieses Kommando, das bei Dir das ganze auslöst nirgends finden:

Code: Alles auswählen

2022-12-03 12:58:56: at_reboot: Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-_mpp6l4q/lxml/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-ci44cs5q-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-_mpp6l4q/lxml/

Ich würde noch mal rebooten.
Wenn das nicht hilft würde ich ein Ticket bei openWB aufmachen (Einstellungen - System - Support) mit Verweis auf Deinen Eintrag hier im Forum.

Edit: das Kompilieren scheint zu passieren, wenn pip(3) ein passendes Package für die jeweilige Rechner-Architektur nicht finden kann.
Hast Du u.U. eine Firewall oder sonstige Sperren im Netz, z.B. die OWB im GastNetz einer Fritzbox mit Standard-Filter?
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Smart EQ forfour
SpaceMan
Beiträge: 13
Registriert: Fr Nov 11, 2022 11:42 am

Re: SOC: VWID

Beitrag von SpaceMan »

Hm, Firewall ist offen, aber evtl. liegt es an IPv6 ... das ist schon seit Ewigkeiten in meiner Firewall aktiv, macht aber manchmal bei manchen Rechnern Probleme ... mal schauen. IPv6 abgeschaltet und Reboot der openWB läuft. Bin mal gespannt :idea:
SpaceMan
Beiträge: 13
Registriert: Fr Nov 11, 2022 11:42 am

Re: SOC: VWID

Beitrag von SpaceMan »

Oh, der Reboot ging auch deutlich schneller und sieht auch viel besser aus:

Code: Alles auswählen

2022-12-03 17:59:30: at_reboot: Collecting urllib3
2022-12-03 17:59:22: at_reboot: lxml installed...
2022-12-03 17:59:22: at_reboot: ipparser installed...
2022-12-03 17:59:21: at_reboot: jq installed...
2022-12-03 17:59:21: at_reboot: python requests installed...
Jetzt kommt:

Code: Alles auswählen

2022-12-03 18:03:36: PID: 14041: Lp1: tokens initialization exception: set tokens_old to initial value
2022-12-03 18:03:36: PID: 14041: Lp1: tokens initialization exception: e=[Errno 2] No such file or directory: '/var/www/html/openWB/ramdisk/soc_vwid_tokenslp1'
2022-12-03 18:03:35: PID: 13924: Lp1: Requesting SoC (LV0)
Aber das hatte ich hier im Thread schon gesehen. :D
Antworten