Train Limit Linter


Displays info about train schedules and train limits. Allows the easy creation of new trains.

Utilities
a month ago
1.1
367
Trains Blueprints

b Crash mods/temporary stop

7 months ago

Not entirely sure what I did to cause the crash. I do have a (modded) save where it happens, so it could be some interaction with a mod.

I'm sitting in the ship (cargo ships mod) which is on a route with only one station at the moment, moving towards a temporary stop (via ctrl+click). When I click the button to open the Train Limit Linter gui, the game crashes with the following error. Could be some weird interaction with another mod, but it only happens when I have that temporary stop, so that might be the issue.

The mod Train Limit Linter (1.0.14) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event train-limit-linter::on_lua_shortcut (ID 36)
train-limit-linter/views/display_tab.lua:72: table index is nil
stack traceback:
train-limit-linter/views/display_tab.lua:72: in function 'build_train_schedule_group_report'
train-limit-linter/views/display_tab.lua:313: in function 'build_display_tab'
train-limit-linter/views/main_interface.lua:88: in function 'build_interface'
train-limit-linter/control.lua:28: in function 'toggle_interface'
train-limit-linter/control.lua:90: in function <train-limit-linter/control.lua:86>

If there is anything else I need to provide, just reply.

7 months ago

Hi, thanks for reporting this! I'll look into resolving this crash today.

7 months ago

I believe this is resolved in 1.0.15.

7 months ago

Seems to be working fine now, I did a direct comparison with the same save before and after updating the mod. Thanks!

New response