Could not find function with id list_to_tuple

I am trying to use the list_to_tuple function but riskscape is giving an error that it cannot find it. I do have the beta plugin loaded

www-data@ip-172-26-1-89:~$ riskscape --version
[WARNING] The 'beta' plugin is enabled. This contains experimental features that may significantly change or be deprecated in future releases.
RiskScape Core Engine v1.2.0
----------------------------
Build time - Fri Jul 29 12:27:23 NZST 2022
Git SHA1   - f406ef1705a1e287867b6ced8325f5d801d42b0b

Plugins:
defaults     1.2.0  nz.org.riskscape.engine.defaults.Plugin
postgis      1.2.0  nz.org.riskscape.postgis.Plugin
beta         1.2.0  nz.org.riskscape.beta.Plugin
wizard       1.2.0  nz.org.riskscape.wizard.WizardPlugin
wizard-cli   1.2.0  nz.org.riskscape.wizard.WizardCliPlugin
jython       1.2.0  nz.org.riskscape.jython.Plugin
cpython      1.2.0  nz.org.riskscape.cpython.CPythonPlugin

System:
Linux 5.15.0-1028-aws
Java 11.0.18 OpenJDK 64-Bit Server VM 11.0.18+10-post-Ubuntu-0ubuntu122.04
There were problems during engine initialization, run riskscape with --show-project-errors for more details
[WARNING] Surplus parameters were given that were ignored: [tankWaterFolder], did you mean one of [RArguments, hazardsCsvFile, tanks_location, scenario_length]?
Failed to validate model for execution
  - Failed to validate 'select({exposure.atoll, exposure.ownership, exposure.Lat_HH, exposure.Long_HH, exposure.geom, exposure.tank_vol, exposure.UtArea_rf, exposure.tank_cond, exposure.HH_tot, hazard, list_to_tuple(consequence.vol_input, 7, 'tank_forecast'), list_to_tuple(consequence.tank_vol, 7, 'tank_vol')}) as event_impact_table' step for execution
    - Failed to validate expression '{exposure.atoll, exposure.ownership, exposure.Lat_HH, exposure.Long_HH, exposure.geom, exposure.tank_vol, exposure.UtArea_rf, exposure.tank_cond, exposure.HH_tot, hazard, list_to_tuple(consequence.vol_input, 7, 'tank_forecast'), list_to_tuple(consequence.tank_vol, 7, 'tank_vol')}' against input type {exposure=>{OBJECTID=>Text, atoll=>Text, ISLAND=>Text, OWNER_NAME=>Text, Lat_HH=>Text, Long_HH=>Text, OCCUPANCY=>Text, UtArea_rf=>Text, tank_vol=>Text, HH_tot=>Text, tank_cond=>Text, ownership=>Text, Sheet=>Text, Consumption=>Text, latitude=>Text, geom=>Point[crs=EPSG:4326], longitude=>Text}, hazard=>List[Nullable[Floating]], consequence=>{vol_input=>List[Nullable[Floating]], tank_vol=>List[Nullable[Floating]]}}
      - Could not find function with id list_to_tuple
      - Could not find function with id list_to_tuple

Turns out I was running riskscape under the shiny user not www-data. Adding the plugin line to /home/shiny/.config/riskscape/settings.ini has fixed the issue

Glad you were able to solve that yourself, John. You are running a old-ish version there.