raiguard / RecipeBook

Recipe Book for Factorio.
MIT License
19 stars 9 forks source link

Error with Angel Bob's #164

Closed Carlos-Herman closed 4 weeks ago

Carlos-Herman commented 2 months ago

Hi, I'm using this mod with an AB run and it crashed with this error:

The mod Recipe Book (3.5.8) caused a non-recoverable error. Please report this error to the mod author.

Error while running event RecipeBook::on_tick (ID 0)
__RecipeBook__/scripts/formatter.lua:60: attempt to concatenate local 'inner' (a nil value)
stack traceback:
    __RecipeBook__/scripts/formatter.lua:60: in function 'rich_text'
    __RecipeBook__/scripts/formatter.lua:276: in function 'get_base_tooltip'
    __RecipeBook__/scripts/formatter.lua:566: in function <__RecipeBook__/scripts/formatter.lua:534>
    (...tail calls...)
    __RecipeBook__/scripts/formatter.lua:120: in function '?'
    __RecipeBook__/scripts/formatter.lua:350: in function 'get_tooltip_deets'
    __RecipeBook__/scripts/formatter.lua:582: in function <__RecipeBook__/scripts/formatter.lua:534>
    (...tail calls...)
    __RecipeBook__/scripts/gui/search/actions.lua:224: in function '?'
    __RecipeBook__/scripts/gui/search/index.lua:41: in function 'dispatch'
    __RecipeBook__/control.lua:298: in function 'handle_gui_action'
    __RecipeBook__/control.lua:539: in function <__RecipeBook__/control.lua:532>

This is my first time having this happen to me so i was surprised. Thanks you!

raiguard commented 4 weeks ago

Fixed in flib 0.14.2, please update the Factorio Library mod to get the fix.