raiguard / RecipeBook

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

Crash #152

Closed SGZ-Creations closed 4 months ago

SGZ-Creations commented 7 months ago

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

Error while running event RecipeBook::Custom event (ID 392) 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/gui/search/index.lua:161: in function 'update_visual_contents' RecipeBook/scripts/gui/search/index.lua:504: in function 'build' RecipeBook/control.lua:255: in function <RecipeBook/control.lua:240> [C]: in function 'raise_event' flib/dictionary-lite.lua:366: in function <flib/dictionary-lite.lua:314> stack traceback: [C]: in function 'raise_event' flib/dictionary-lite.lua:366: in function <flib/dictionary-lite.lua:314>

Diablo-D3 commented 7 months ago

I am, too, getting this exact error.

This is happening on an otherwise normal Pyblock + Pyhardmode game, but also has Factory Planner.

raiguard commented 7 months ago

Please send me a save file with exact reproduction steps. I have never been able to reproduce this bug.

Diablo-D3 commented 7 months ago

Unfortunately, I ended up fixing this by removing the mod, server saving, reinstalling the mod, and now the problem is gone. Also, it did not effect all players in a multiplayer game. So, I couldn't reproduce it for me, but another player could for them; them merely joining triggered the problem.

SGZ-Creations commented 7 months ago

I don't have a save. I Do have an idea to how it happen

  1. Install mods using the Lib: Recipe book, LTN, maybe others.
  2. Then create a save like normal.
  3. Save that as normal.
  4. Start that save again.
  5. Re save while the translation is running and exit save.
  6. Then re open save let it load Translation to end. Where the crash should occur.
raiguard commented 4 months ago

Fixed for the next version of flib.