Relay issue - raspberry PI only starting v3.70~27

With RpiGpioSetup installed on an RPI, systemcalc is crashing in a section of code I have not modified:

2025-08-28 17:36:23.663803500 exit_on_error: there was an exception. Printing stacktrace will be tried and then exit
2025-08-28 17:36:23.669079500 Traceback (most recent call last):
2025-08-28 17:36:23.672823500   File "/opt/victronenergy/dbus-systemcalc-py/ext/velib_python/ve_utils.py", line 23, in exit_on_error
2025-08-28 17:36:23.672829500     return func(*args, **kwargs)
2025-08-28 17:36:23.672832500            ^^^^^^^^^^^^^^^^^^^^^
2025-08-28 17:36:23.673162500   File "/opt/victronenergy/dbus-systemcalc-py/delegates/relaystate.py", line 150, in _init_relay_state
2025-08-28 17:36:23.673168500     elif f < 0:
2025-08-28 17:36:23.673171500          ^^^^^
2025-08-28 17:36:23.674218500 TypeError: '<' not supported between instances of 'NoneType' and 'int'

What I have determined is if /etc/venus/gpio_list contains even one relay definition this crash occurs.

RpiGpioSetup DOES add relay definitions and has worked in firmware prior to v3.70~27. It also modifies relaystate.py (part of systemcalc) to add additional parameters to the get_settings (). However, even if I remove that change to relay state.py, systemcalc still crashes.

I am guessing there has been a change to the way relays are defined. Need some help here please.

Noted @kwindrem , I’ll get you help here :+1:

Changes in v3.70~46 appear to fix this issue. 6 relays are back on RPI. YEA.

Indeed! And that took quite a long time - apologies for that!

For anyone looking for v3.70~46: it has not yet been released for public beta testing.

Will be available later today.

OOO does this mean the relays will be back in NodeRED too?

If so ill run an update later and report back. Been running 3.65-3 as everytime ive upgraded NodeRED looses the relays.