raiguard / RecipeBook

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

Crash on load with dictionary-lite: Dictionary module was not properly initialized #162

Closed heinwessels closed 3 months ago

heinwessels commented 4 months ago

Hello!

I'm trying to load quite an old modded save from Factorio 1.1.35 which had Recipe Book installed. I now have the latest Recipe Book and flib (0.14.0), but it crashes when I try to load it. This is just a testing save, so I'll just disabled the mods for now, but thought I'd make a bug report :)

  31.618 Error AppManagerStates.cpp:1659: 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::on_configuration_changed
__flib__/dictionary-lite.lua:18: Dictionary module was not properly initialized - ensure that all lifecycle events are handled.
stack traceback:
    [C]: in function 'error'
    __flib__/dictionary-lite.lua:18: in function 'get_data'
    __flib__/dictionary-lite.lua:423: in function 'new'
    __RecipeBook__/scripts/util.lua:246: in function 'new_dictionary'
    __RecipeBook__/scripts/database.lua:39: in function 'build'
    __RecipeBook__/scripts/migrations.lua:16: in function 'func'
    __flib__/migration.lua:66: in function 'run'
    __flib__/migration.lua:93: in function 'on_config_changed'
    __flib__/migration.lua:106: in function <__flib__/migration.lua:105>

Here is the save: Fluidic Power - Spaghetti Base.zip