Helmod: Assistant for planning your factory

by Helfima

Assistant for planning your factory. Can calculate required ingredients, products, machines, modules, and beacons. Can also calculate power production / consumption.

Utilities
7 days ago
0.14 - 1.1
368K

g Computing by factory fixed, but add recipes anymore in 0.9.13

4 years ago

When I try to add a recipe to a production line I get this error trace:

137.995 Script @helmod/core/logging.lua:154: [DEBUG]|HMUser|User.lua:557|"isActiveForm()""HMProductionLineTab"
137.995 Script @helmod/core/logging.lua:154: [DEBUG]|HMUser|User.lua:557|"isActiveForm()""HMProductionBlockTab"
137.995 Script @helmod/core/logging.lua:154: [DEBUG]|HMUser|User.lua:557|"isActiveForm()""HMEnergyTab"
137.995 Script @helmod/core/logging.lua:154: [DEBUG]|HMController|Controller.lua:545|"onEventAccessRead()"{"name": 1,"tick": 33288383,"player_index": 1,"element":{"type":"choose-elem-button","name":"HMRecipeSelector=element-select=ID=recipe=speed-module-8"},"button": 2,"alt": false,"control": false,"shift": false,"type":"on_gui_action","item3":"","item2":"speed-module-8","item1":"recipe","action":"element-select","classname":"HMRecipeSelector"}
137.995 Script @helmod/core/logging.lua:154: [DEBUG]|HMController|Controller.lua:816|"onEventAccessDelete()"{"name": 1,"tick": 33288383,"player_index": 1,"element":{"type":"choose-elem-button","name":"HMRecipeSelector=element-select=ID=recipe=speed-module-8"},"button": 2,"alt": false,"control": false,"shift": false,"type":"on_gui_action","item3":"","item2":"speed-module-8","item1":"recipe","action":"element-select","classname":"HMRecipeSelector"}
137.995 Script @helmod/core/logging.lua:154: [DEBUG]|HMController|Controller.lua:333|"onGuiEvent(event)"{"name": 1,"tick": 33288383,"player_index": 1,"element":{"type":"choose-elem-button","name":"HMRecipeSelector=element-select=ID=recipe=speed-module-8"},"button": 2,"alt": false,"control": false,"shift": false,"type":"on_gui_action","item3":"","item2":"speed-module-8","item1":"recipe","action":"element-select","classname":"HMRecipeSelector"}
137.995 Script @helmod/core/logging.lua:154: [DEBUG]|HMDispatcherController|DispatcherController.lua:55|"send()""on_gui_prepare"{"name": 1,"tick": 33288383,"player_index": 1,"element":{"type":"choose-elem-button","name":"HMRecipeSelector=element-select=ID=recipe=speed-module-8"},"button": 2,"alt": false,"control": false,"shift": false,"type":"on_gui_action","item3":"","item2":"speed-module-8","item1":"recipe","action":"element-select","classname":"HMRecipeSelector"}"HMRecipeSelector"
137.995 Script @helmod/core/logging.lua:154: [DEBUG]|HMRecipeSelector|AbstractSelector.lua:353|"prepare()"{"name": 1,"tick": 33288383,"player_index": 1,"element":{"type":"choose-elem-button","name":"HMRecipeSelector=element-select=ID=recipe=speed-module-8"},"button": 2,"alt": false,"control": false,"shift": false,"type":"on_gui_prepare","item3":"","item2":"speed-module-8","item1":"recipe","action":"element-select","classname":"HMRecipeSelector"}
137.995 Script @helmod/core/logging.lua:154: [DEBUG]|HMDispatcherController|DispatcherController.lua:55|"send()""on_gui_translate"{"name": 1,"tick": 33288383,"player_index": 1,"element":{"type":"choose-elem-button","name":"HMRecipeSelector=element-select=ID=recipe=speed-module-8"},"button": 2,"alt": false,"control": false,"shift": false,"type":"on_gui_prepare","item3":"","item2":"speed-module-8","item1":"recipe","action":"element-select","classname":"HMRecipeSelector"}"HMRecipeSelector"
137.995 Script @helmod/core/logging.lua:154: [DEBUG]|HMRecipeSelector|AbstractSelector.lua:383|"prepare()"{"name": 1,"tick": 33288383,"player_index": 1,"element":{"type":"choose-elem-button","name":"HMRecipeSelector=element-select=ID=recipe=speed-module-8"},"button": 2,"alt": false,"control": false,"shift": false,"type":"on_gui_translate","item3":"","item2":"speed-module-8","item1":"recipe","action":"element-select","classname":"HMRecipeSelector"}
137.995 Script @helmod/core/logging.lua:154: [DEBUG]|HMDispatcherController|DispatcherController.lua:55|"send()""on_gui_event"{"name": 1,"tick": 33288383,"player_index": 1,"element":{"type":"choose-elem-button","name":"HMRecipeSelector=element-select=ID=recipe=speed-module-8"},"button": 2,"alt": false,"control": false,"shift": false,"type":"on_gui_translate","item3":"","item2":"speed-module-8","item1":"recipe","action":"element-select","classname":"HMRecipeSelector"}"HMRecipeSelector"
137.995 Script @helmod/core/logging.lua:154: [DEBUG]|HMRecipeSelector|Form.lua:283|"event()"{"name": 1,"tick": 33288383,"player_index": 1,"element":{"type":"choose-elem-button","name":"HMRecipeSelector=element-select=ID=recipe=speed-module-8"},"button": 2,"alt": false,"control": false,"shift": false,"type":"on_gui_event","item3":"","item2":"speed-module-8","item1":"recipe","action":"element-select","classname":"HMRecipeSelector"}
137.996 Script @helmod/core/logging.lua:154: [DEBUG]|HMUser|User.lua:557|"isActiveForm()""HMRecipeSelector"
137.996 Script @helmod/core/logging.lua:154: [DEBUG]|HMRecipeSelector|Form.lua:206|"isOpened test" true true
137.996 Script @helmod/core/logging.lua:154: [DEBUG]|HMUser|User.lua:557|"isActiveForm()""HMRecipeSelector"
137.996 Script @helmod/core/logging.lua:154: [DEBUG]|HMRecipeSelector|AbstractSelector.lua:226|"onEvent()"{"name": 1,"tick": 33288383,"player_index": 1,"element":{"type":"choose-elem-button","name":"HMRecipeSelector=element-select=ID=recipe=speed-module-8"},"button": 2,"alt": false,"control": false,"shift": false,"type":"on_gui_event","item3":"","item2":"speed-module-8","item1":"recipe","action":"element-select","classname":"HMRecipeSelector"}
137.996 Script @helmod/core/logging.lua:154: [DEBUG]|HMUser|User.lua:557|"isActiveForm()""HMPropertiesTab"
137.996 Script @helmod/core/logging.lua:154: [DEBUG]|HMModelBuilder|ModelBuilder.lua:22|"addRecipeIntoProductionBlock()""speed-module-8""recipe"
137.996 Script @helmod/controller/DispatcherController.lua:74: LuaRecipe doesn't contain key type.
stack traceback:
helmod/core/logging.lua:120: in function 'objectToString'
helmod/core/logging.lua:151: in function 'logging'
helmod/core/logging.lua:71: in function 'debug'
helmod/data/Model.lua:254: in function 'newBlock'
helmod/data/ModelBuilder.lua:31: in function 'addRecipeIntoProductionBlock'
helmod/selector/AbstractSelector.lua:244: in function 'onEvent'
helmod/core/Form.lua:286: in function 'handler'
helmod/controller/DispatcherController.lua:66: in function <helmod/controller/DispatcherController.lua:56>
[C]: in function 'pcall'
helmod/controller/DispatcherController.lua:56: in function 'send'
helmod/controller/Controller.lua:865: in function 'send'
helmod/controller/Controller.lua:339: in function 'onGuiEvent'
helmod/controller/Controller.lua:320: in function 'handler'
helmod/controller/DispatcherController.lua:66: in function <helmod/controller/DispatcherController.lua:56>
[C]: in function 'pcall'
helmod/controller/DispatcherController.lua:56: in function 'send'
helmod/controller/EventController.lua:257: in function <helmod/controller/EventController.lua:246>

4 years ago
(updated 4 years ago)

hello plutonium96
it's a bad idea to play with the active logger, that slowed down the game
it's a error of the logger :)
but fixed in v0.9.14

are there a reason to activate the logger?
it's not, change the mod settings -> debug mod = none

4 years ago

i turned on the logging when i first encountered the errors in v0.9.12, and it came in handy when i encountered this one
thanks

New response