Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sed error when installing QML files for GUI V2 #175

Open
SenH opened this issue Jan 30, 2025 · 1 comment
Open

sed error when installing QML files for GUI V2 #175

SenH opened this issue Jan 30, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@SenH
Copy link
Contributor

SenH commented Jan 30, 2025

Describe the bug

I encountered this error in log when upgrading to Venus v3.54 and upgrading serialbattery to v1.6.20250123.

root@cerbosgx:/data/etc/dbus-serialbattery$ file /opt/victronenergy/gui-v2/Victron/VenusOS/pages/settings/devicelist/battery/PageBatteryCellVoltages.qml 
/opt/victronenergy/gui-v2/Victron/VenusOS/pages/settings/devicelist/battery/PageBatteryCellVoltages.qml: cannot open `/opt/victronenergy/gui-v2/Victron/VenusOS/pages/settings/devicelist/battery/PageBatteryCellVoltages.qml' (No such file or directory)
# Maybe it's here?
root@cerbosgx:/data/etc/dbus-serialbattery$ file /opt/victronenergy/gui-v2/Victron/VenusOS/pages/settings/devicelist/PageBatteryCellVoltages.qml 
/opt/victronenergy/gui-v2/Victron/VenusOS/pages/settings/devicelist/PageBatteryCellVoltages.qml: ASCII text

How to reproduce

bash /tmp/install.sh

Expected behavior

No sed error

Driver version of the currently installed driver

v1.6.20250123

Driver version of the last known working driver

No response

Venus OS device type

Cerbo GX

Venus OS version

v3.54

BMS type

JKBMS (Heltec BMS)

Cell count

16

Battery count

1

Connection type

Serial USB adapter to TTL

Config file

[DEFAULT]

; Set charge/discharge current to 70A (*51,2V = 3584W) = 0,3C @ LF230
MAX_BATTERY_CHARGE_CURRENT    = 70.0
MAX_BATTERY_DISCHARGE_CURRENT = 70.0

; Copy value from "Balance Trig. Volt" in JK BMS app
CELL_VOLTAGE_DIFF_KEEP_MAX_VOLTAGE_UNTIL = 0.010

; JK BMS shunt can not measure baseline load (Cerbo = 0.1A)
SOC_CALCULATION = True
SOC_CALC_CURRENT_REPORTED_BY_BMS  = -300, -0.1,    0, 0.1, 300
SOC_CALC_CURRENT_MEASURED_BY_USER = -300, -0.1, -0.1, 0.1, 300

; Extend absorption phase for balancing cells
MAX_VOLTAGE_TIME_SEC = 1800

CVL_ICONTROLLER_MODE = True

; Keep charge Current fraction at 1.00 @ 15°C
TEMPERATURES_WHILE_CHARGING      =    0,    2,    5,   10,   15,   20,   35,   40,   55
MAX_CHARGE_CURRENT_T_FRACTION    = 0.00, 0.10, 0.20, 0.40, 1.00, 1.00, 1.00, 0.40, 0.00

TEMP_1_NAME = T1 C5
TEMP_2_NAME = T2 C13

BMS_TYPE = Jkbms
BLOCK_ON_DISCONNECT = True

Relevant log output

Installing QML files for GUI V1...
Copying PageBattery.qml...
Copying PageBatteryCellVoltages.qml...
Copying PageBatteryParameters.qml...
Copying PageBatterySettings.qml...
Copying PageLynxIonIo.qml...
Venus OS v3.54 is older than v3.60~20. Fixing QtQuick version... done.

Installing QML files for GUI V2...
Copying PageBattery.qml...
Venus OS v3.54 is older than v3.60~8. Fixing class names... sed: /opt/victronenergy/gui-v2/Victron/VenusOS/pages/settings/devicelist/battery/PageBatteryCellVoltages.qml: No such file or directory
sed: /opt/victronenergy/gui-v2/Victron/VenusOS/pages/settings/devicelist/battery/PageBatteryCellVoltages.qml: No such file or directory
sed: /opt/victronenergy/gui-v2/Victron/VenusOS/pages/settings/devicelist/battery/PageBatteryCellVoltages.qml: No such file or directory
sed: /opt/victronenergy/gui-v2/Victron/VenusOS/pages/settings/devicelist/battery/PageBatteryCellVoltages.qml: No such file or directory
sed: /opt/victronenergy/gui-v2/Victron/VenusOS/pages/settings/devicelist/battery/PageBatteryCellVoltages.qml: No such file or directory
sed: /opt/victronenergy/gui-v2/Victron/VenusOS/pages/settings/devicelist/battery/PageBatteryCellVoltages.qml: No such file or directory
done.

Installing GUIv2 web version...
ERROR: GUIv2 web version not found.
New QML files were installed and the GUI was restarted.

Any other information that may be helpful

No response

@SenH SenH added the bug Something isn't working label Jan 30, 2025
@mr-manuel
Copy link
Owner

Please install the latest stable of today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants