ClaudeMetz / FactoryPlanner

A mod for Factorio. Allows you to plan out your production in detail.
https://mods.factorio.com/mod/factoryplanner
MIT License
81 stars 40 forks source link

Crash when using the repair factory button #216

Open Techlone opened 6 months ago

Techlone commented 6 months ago

Hello, I didn't find any issues like mine, so here it is. By the way I have two almost the same save files but only one has the problem.

Saves - good, bad Exchange string - https://gist.github.com/Techlone/74b7911803f265220fe0dbc92743fa2c

The mod Factory Planner (1.1.78) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event factoryplanner::on_gui_click (ID 1)
...ctoryplanner__/backend/calculation/sequential_engine.lua:182: attempt to index field 'recipe_proto' (a nil value)
stack traceback:
    ...ctoryplanner__/backend/calculation/sequential_engine.lua:182: in function 'update_floor'
    ...ctoryplanner__/backend/calculation/sequential_engine.lua:269: in function 'update_factory'
    __factoryplanner__/backend/calculation/solver.lua:211: in function 'update'
    __factoryplanner__/ui/main/factory_info.lua:7: in function 'handler'
    __factoryplanner__/ui/event_handler.lua:157: in function <__factoryplanner__/ui/event_handler.lua:114>

image

ClaudeMetz commented 6 months ago

Thanks a lot, I have indeed not seen this issue reported before. Will have a look!