raiguard / RecipeBook

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

Error on swapping maps #156

Closed riking closed 3 months ago

riking commented 6 months ago

Upon exiting a save soon after joining and loading an older save of the same map, saved with lower mod versions and ignoring mod sync:

  84.023 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>

First save mods: image

Second save (downgrade) mods, clicking Load instead of Sync Mods and Load: image

raiguard commented 3 months ago

Please provide the save file... I have a bug report template for a reason!

raiguard commented 3 months ago

Nevermind, duplicate of #162.