I have run into a similar error with https://mods.factorio.com/mod/BlueprintLab_design
Nixie tubes build inside the Lab using ctrl+c, ctrl+v can not be removed in any way,
mining them by hand gives:
The mod Santa's Nixie Tube Display (0.1.12) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event SantasNixieTubeDisplay::on_pre_player_mined_item (ID 11)
SantasNixieTubeDisplay/control.lua:29: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
SantasNixieTubeDisplay/control.lua:29: in function 'removeNixieSprites'
SantasNixieTubeDisplay/control.lua:234: in function <SantasNixieTubeDisplay/control.lua:230>
while trying to remove them with the deconstruct tool results in:
The mod Santa's Nixie Tube Display (0.1.12) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event SantasNixieTubeDisplay::script_raised_destroy (ID 78)
SantasNixieTubeDisplay/control.lua:29: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
SantasNixieTubeDisplay/control.lua:29: in function 'removeNixieSprites'
SantasNixieTubeDisplay/control.lua:234: in function <SantasNixieTubeDisplay/control.lua:230>
stack traceback:
[C]: in function 'raise_event'
BlueprintLab_design/scripts/common.lua:36: in function 'DestroyEntity'
BlueprintLab_design/scripts/lab-effects.lua:76: in function <BlueprintLab_design/scripts/lab-effects.lua:65>
and using the lab clear button results in
The mod Santa's Nixie Tube Display (0.1.12) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event SantasNixieTubeDisplay::script_raised_destroy (ID 78)
SantasNixieTubeDisplay/control.lua:29: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
SantasNixieTubeDisplay/control.lua:29: in function 'removeNixieSprites'
SantasNixieTubeDisplay/control.lua:234: in function <SantasNixieTubeDisplay/control.lua:230>
stack traceback:
[C]: in function 'raise_event'
BlueprintLab_design/scripts/common.lua:36: in function 'DestroyEntity'
BlueprintLab_design/scripts/logic.lua:158: in function 'ClearLab'
BlueprintLab_design/scripts/gui.lua:50: in function <BlueprintLab_design/scripts/gui.lua:44>
Savefile: https://www.mediafire.com/file/666cpen8axeht1l/nixie_crash.zip/file
Steps to reproduce:
- build nixie tube or use the ones working already
- use ctrl+c or blueprint tool to copy 1 or more segments
- place a copy using ctrl+v or place a bluepring containing the nixies
- try to remove it by mining(right click), using the deconstruction tool or the Clear button on the upper left side of the screen
It appears i was able to unbork the game by removing nixie tubes from my modlist and loading then resaving it without nixie mod active, after that adding nixie tubes back in does not produce a crash, sadly i cant test if nixie tubes are still bugged until i research the nixie tech again.
I hope this helps to pinpoint the root cause of the crash and thank you for this amazing mod :)