Production hubs


Create a network of small bases connected with rail

Overhaul
1 year, 11 days ago
1.1
287
Trains Environment

b Error when starting new gamegame

1 year, 30 days ago

Hello, I wanted to try out this mod, but it crashed on startup. This was the error:


The mod Production hubs (1.0.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event ProductionHubs::on_string_translated (ID 153)
ProductionHubs/control/localisation.lua:10: table index is nil
stack traceback:
ProductionHubs/control/localisation.lua:10: in function 'saveTranslation'
ProductionHubs/control.lua:65: in function <ProductionHubs/control.lua:63>


My only other mods were RecipeBook (https://mods.factorio.com/mod/RecipeBook) and FLib (https://mods.factorio.com/mod/flib).

1 year, 15 days ago

Thank you for reporting the bug.
I can add a nil check, but something might go wrong later when the string is used. So I would rather figure out exactly what is going wrong.

I think it has to do with what language is selected in Factorio. I tried to reproduce the bug but could not.

What language and Factorio version do you use?

1 year, 11 days ago

I uploaded v 1.0.1 with a nil check that should solve this error. You might get some missing translation strings until I have found the root of the problem.

New response