I tried to convert a trade to a sink trade just now, and it gave me this error and kicked me out of my save. It seems specific to the one core that I was trying to convert for whatever reason. All the other hexes I've tried so far convert just fine.
The trades it was trying to convert were 6 petroleum gas barrels, 8 lubricant barrels and 1 coin for walls, boilers and wood, as well as 3 light armors, 3 firearm magazines and 4 iron chests for 3 low density structures, and finally 62 copper plates for landmines, concrete and iron ore.
The mod Hextorio - Build in hexagons (1.5.8) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event hextorio::on_gui_click (ID 1)
hextorio/api/trades.lua:514: bad argument #2 of 2 to 'random' (interval is empty)
stack traceback:
[C]: in function 'random'
hextorio/api/trades.lua:514: in function 'generator_solve_item_counts'
hextorio/api/trades.lua:441: in function 'from_item_names'
hextorio/api/hex_grid.lua:646: in function 'switch_hex_core_mode'
hextorio/api/gui/hex_core_gui.lua:621: in function 'callback'
hextorio/api/event_system.lua:43: in function 'trigger_gui'
hextorio/api/event_system.lua:109: in function <hextorio/api/event_system.lua:102>