LUA Error when opening CraftSim window v. 16.1.7
dan-fwr opened this issue ยท 4 comments
I am getting this LUA error when opening Craft Sim Window. It has happened when opening the Herbalism and Alchemy windows.
Message: Interface/AddOns/CraftSim/Classes/RecipeData.lua:448: attempt to index field 'specializationData' (a nil value)
Time: Thu May 2 07:52:43 2024
Count: 1
Stack: Interface/AddOns/CraftSim/Classes/RecipeData.lua:448: attempt to index field 'specializationData' (a nil value)
[string "@Interface/AddOns/CraftSim/Init/Init.lua"]:506: in function TriggerModulesByRecipeType' [string "@Interface/AddOns/CraftSim/Init/Init.lua"]:82: in function <Interface/AddOns/CraftSim/Init/Init.lua:80> [string "@Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua"]:543: in function
checkCondition'
[string "@Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua"]:549: in function WaitFor' [string "@Interface/AddOns/CraftSim/Init/Init.lua"]:71: in function
TriggerModuleUpdate'
[string "@Interface/AddOns/CraftSim/Init/Init.lua"]:66: in function <Interface/AddOns/CraftSim/Init/Init.lua:65>
Locals: self = Frame {
0 =
HookToProfessionsFrame = defined @Interface/AddOns/CraftSim/Init/Init.lua:304
TriggerRecipeOperationInfoLoadForProfession = defined @Interface/AddOns/CraftSim/Init/Init.lua:735
PLAYER_LOGIN = defined @Interface/AddOns/CraftSim/Init/Init.lua:338
HandleAuctionatorHooks = defined @Interface/AddOns/CraftSim/Init/Init.lua:293
currentRecipeID = 391088
InitStaticPopups = defined @Interface/AddOns/CraftSim/Init/Init.lua:160
TriggerModulesByRecipeType = defined @Interface/AddOns/CraftSim/Init/Init.lua:439
initialLogin = true
isReloadingUI = false
TriggerModuleUpdate = defined @Interface/AddOns/CraftSim/Init/Init.lua:45
HookToEvent = defined @Interface/AddOns/CraftSim/Init/Init.lua:89
InitCraftRecipeHooks = defined @Interface/AddOns/CraftSim/Init/Init.lua:175
ADDON_LOADED = defined @Interface/AddOns/CraftSim/Init/Init.lua:232
InitializeMinimapButton = defined @Interface/AddOns/CraftSim/Init/Init.lua:711
PLAYER_ENTERING_WORLD = defined @Interface/AddOns/CraftSim/Init/Init.lua:25
FRAMES =
}
HideAllModules = defined @Interface/AddOns/CraftSim/Init/Init.lua:387
}
craftResultsFrame =
statusList =
}
collapseable = true
originalX = 700
isGGUI = true
closeOnClickOutside = false
frameConfigTable =
}
originalOffsetX = 0
content = Frame {
}
frameID = "CRAFT_RESULTS"
onCloseCallback = defined @Interface/AddOns/CraftSim/Modules/ControlPanel/ControlPanel.lua:135
title =
}
frame = Frame {
}
moveable = true
frameStrata = "HIGH"
originalAnchorParent = Frame {
}
closeable = true
scrollableContent = false
originalY = 450
originalAnchorB = "TOPLEFT"
originalAnchorA = "TOPLEFT"
collapsed = false
originalOffsetY = 10
}
customerServiceFrame =
statusList =
}
collapseable = true
originalX = 400
isGGUI = true
closeOnClickOutside = false
frameConfigTable =
}
originalOffsetX = 0
tabs =
}
content = Frame {
}
frameID = "CUSTOMER_SERVICE"
onCloseCallback = defined @Interface/AddOns/CraftSim/Modules/ControlPanel/ControlPanel.lua:135
title =
}
frame = Frame {
}
moveable = true
frameStrata = "HIGH"
originalAnchorParent = UIParent {
}
closeable = true
scrollableContent = false
originalY = 300
originalAnchorB = "CENTER"
originalAnchorA = "CENTER"
collapsed = false
originalOffsetY = 0
}
customerHistoryFrame =
statusList =
}
collapseable = true
originalX = 1050
isGGUI = true
closeOnClickOutside = false
frameConfigTable =
}
originalOffsetX = 0
content = Frame {
}
frameID = "CUSTOMER_HISTORY"
onCloseCallback = defined @Interface/AddOns/CraftSim/Modules/ControlPanel/ControlPanel.lua:135
title =
}
frame = Frame {
}
moveable = true
frameStrata = "HIGH"
originalAnchorParent = ProfessionsFrame {
}
closeable = true
scrollableContent = false
originalY = 500
originalAnchorB = "CE
if u dont have any price override or customer history data u want to keep u can try
/craftsim resetdb
Tried resetting the db as you suggested. Same error. I am also using TSM and ArkInventory
I am using Curse Forge to load addons. I 'reinstalled' CraftSim using it and the error cleared. I must have had a bad file in there somewhere.