CraftSim

CraftSim

2M Downloads

LUA error for every Cooking recipe

hollo6 opened this issue ยท 2 comments

commented

Getting the following error when opening any Cooking recipe:

6x ...ddOns/CraftSim/Modules/SpecializationInfo/Frames.lua:63: attempt to index local 'specializationData' (a nil value)
[string "@CraftSim/Modules/SpecializationInfo/Frames.lua"]:63: in function UpdateInfo' [string "@CraftSim/Main/CraftSim.lua"]:603: in function TriggerModulesByRecipeType'
[string "@CraftSim/Main/CraftSim.lua"]:169: in function TriggerModulesErrorSafe' [string "@CraftSim/Main/CraftSim.lua"]:202: in function <CraftSim/Main/CraftSim.lua:187> [string "=[C]"]: ? [string "=[C]"]: in function Init'
[string "@Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeSchematicForm.lua"]:191: in function <...emplates/Blizzard_ProfessionsRecipeSchematicForm.lua:185>
[string "=[C]"]: in function SetShown' [string "@SharedXML/TabSystem/TabSystemOwner.lua"]:33: in function SetTab'
[string "@SharedXML/TabSystem/TabSystemOwner.lua"]:69: in function SetTab' [string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:368: in function SetTab'
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:251: in function UpdateTabs' [string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:196: in function Refresh'
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:158: in function `SetProfessionInfo'
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:96: in function <...s/Blizzard_Professions/Blizzard_ProfessionsFrame.lua:59>

Locals:
self =

{
UpdateInfo = defined @CraftSim/Modules/SpecializationInfo/Frames.lua:58
Init = defined @CraftSim/Modules/SpecializationInfo/Frames.lua:7
}
recipeData =
{
isGear = false
reagentData =
{
}
maxQuality = 0
recipeIcon = 4639599
supportsCraftingStats = true
supportsCraftingspeed = true
learned = true
isSalvageRecipe = false
supportsMulticraft = true
recipeType = 3
supportsInspiration = false
buffData =
{
}
isEnchantingRecipe = false
baseProfessionStats =
{
}
isCooking = true
recipeID = 381412
numSkillUps = 1
isRecraft = false
resultData =
{
}
hasQualityReagents = true
priceData =
{
}
recipeName = "Fated Fortune Cookie"
supportsQualities = false
professionStats =
{
}
professionStatModifiers =
{
}
categoryID = 1705
isSoulbound = false
isSimulationModeData = false
professionGearSet =
{
}
supportsResourcefulness = false
professionData =
{
}
subtypeID = 5
baseItemAmount = 1
}
specInfoFrame = CraftSimSpecInfoFrame {
BottomLeftCorner = Texture {
}
OnBackdropLoaded = defined @SharedXML/Backdrop.lua:152
GetBackdropColor = defined @SharedXML/Backdrop.lua:390
SetTransparency = defined @CraftSim/Util/Frames.lua:457
TopLeftCorner = Texture {
}
RightEdge = Texture {
}
decollapse = defined @CraftSim/Util/Frames.lua:342
ApplyBackdrop = defined @SharedXML/Backdrop.lua:294
SetBackdrop = defined @SharedXML/Backdrop.lua:329
ClearBackdrop = defined @SharedXML/Backdrop.lua:282
GetBackdropBorderColor = defined @SharedXML/Backdrop.lua:409
title = FontString {
}
collapsed = false
SetBorderBlendMode = defined @SharedXML/Backdrop.lua:266
originalX = 310
Center = Texture {
}
hookFrame = Frame {
}
content = Frame {
}
backdropInfo =
{
}
OnBackdropSizeChanged = defined @SharedXML/Backdrop.lua:182
TopRightCorner = Texture {
}
originalY = 300
collapse = defined @CraftSim/Util/Frames.lua:330
scrollFrame = ScrollFrame {
}
BottomRightCorner = Texture {
}
GetEdgeSize = defined @SharedXML/Backdrop.lua:188
0 =
closeButton = Button {
}
TopEdge = Texture {
}
UpdateSize = defined @CraftSim/Util/Frames.lua:487
BottomEdge = Texture {
}
resetPosition = defined @CraftSim/Util/Frames.lua:436
SetupTextureCoordinates = defined @SharedXML/Backdrop.lua:214
HasBackdropInfo = defined @SharedXML/Backdrop.lua:278
SetBackdropBorderColor = defined @SharedXML/Backdrop.lua:422
collapseButton = Button {
}
SetupPieceVisuals = defined @SharedXML/Backdrop.lua:246
SetBackdropColor = defined @SharedXML/Backdrop.lua:399
LeftEdge = Texture {
}
GetBackdrop = defined @SharedXML/Backdrop.lua:347
}
specializationData = nil
(*temporary) = 6
(*temporary) = "CraftSimSpecInfoFrame"
(*temporary) = CraftSimSpecInfoFrame {
BottomLeftCorner = Texture {
}
OnBackdropLoaded = defined @SharedXML/Backdrop.lua:152
GetBackdropColor = defined @SharedXML/Backdrop.lua:390
SetTransparency = defined @CraftSim/Util/Frames.lua:457
TopLeftCorner = Texture {
}
RightEdge = Texture {
}
decollapse = defined @CraftSim/Util/Frames.lua:342
ApplyBackdrop = defined @SharedXML/Backdrop.lua:294
SetBackdrop = defined @SharedXML/Backdrop.lua:329
ClearBackdrop = defined @SharedXML/Backdrop.lua:282
GetBackdropBorderColor = defined @SharedXML/Backdrop.lua:409
title = FontString {
}
collapsed = false
SetBorderBlendMode = <fun

commented

Also when crafting anything or adding any finishing reagents.

commented

Fixed for 7.3+