Train Log

by zomis

Keep a record of all train journeys, how much items are going where. Perfect for use with mods like LTN but also works great without other mods.

Content
9 months ago
1.1 - 2.0
32.4K
Trains

g err

9 months ago

The mod Train Log (1.3.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event train-log::on_gui_click (ID 1)
Gui element with name window already present in the parent element.
stack traceback:
[C]: in function 'add'
flib/gui.lua:65: in function 'add'
train-log/gui/main_gui.lua:69: in function 'open_gui'
train-log/gui/main_gui.lua:111: in function 'open_or_close_gui'
train-log/gui/main_gui.lua:116: in function 'handler'
train-log/gui/main_gui.lua:125: in function 'wrapper'
flib/gui.lua:147: in function 'handler'
flib/gui.lua:177: in function <flib/gui.lua:160>

9 months ago

Please give sufficient information about how to reproduce this error.

9 months ago

if I press the train log gui button that happens

9 months ago
(updated 9 months ago)

I am experiencing this as well. Any time I press the "Show train log" button (at the top left), the game crashes with the above error. Playing on 2.0.21

8 months ago

Dear @zomis,

I'm also getting this error, when tring to open the log window.

Kind regards

Leon

[deleted message]
8 months ago

Are any of you by any chance holding SHIFT while clicking the button to open the GUI?

I realize now that there's an issue that occurs after Flib changed their API which makes this mod break when shift-clicking the button. I wanted to support having multiple windows open but that just got a bit trickier it seems.

New response