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
a month ago
1.1 - 2.0
29.1K
Trains

g err

28 days 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>

28 days ago

Please give sufficient information about how to reproduce this error.

28 days ago

if I press the train log gui button that happens

21 days ago
(updated 21 days 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

7 days ago

Dear @zomis,

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

Kind regards

Leon

[deleted message]
6 days 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