CraftSim

CraftSim

2M Downloads

All CraftSim windows throw an error when opening/closing

DeeRez opened this issue ยท 6 comments

commented

v11.3.1

All CraftSim windows not referenced by tickets #181 and #182 function as they should, but still throw an error on open/close as per tickets #181 and #182

Error:
eCraftSim/Modules/CraftStatistics/Frames.lua:363: attempt to perform arithmetic on field '?' (a nil value)
[string "@CraftSim/Modules/CraftStatistics/Frames.lua"]:363: in function fillFunc' [string "@CraftSim/Libs/GGUI/GGUI.lua"]:2105: in function Add'
[string "@CraftSim/Modules/CraftStatistics/Frames.lua"]:341: in function UpdateDisplay' [string "@CraftSim/Main/CraftSim.lua"]:710: in function TriggerModulesByRecipeType'
[string "@CraftSim/Main/CraftSim.lua"]:215: in function `TriggerModulesErrorSafe'
[string "@CraftSim/Modules/ControlPanel/Frames.lua"]:32: in function <...faceCraftSim/Modules/ControlPanel/Frames.lua:31>
[string "=[C]"]: ?

commented

can you try
/run CraftSimOptions=nil
and then
/reload
?
Take in mind this deletes all options set in the CraftSim Options Panel
(but not your price overrides or craft data)

commented

can you reload, not open the statistics and check if this still occurs?

commented

I also tried to go to my tailor and unravel but it seems to work fine
Please try the following fix:

can you try /run CraftSimOptions=nil and then /reload ? Take in mind this deletes all options set in the CraftSim Options Panel (but not your price overrides or craft data)

commented

Performed those steps. Error now changed when opening JC panel to:

.eCraftSim/Modules/CraftStatistics/Frames.lua:363: attempt to perform arithmetic on field '?' (a nil value)
[string "@CraftSim/Modules/CraftStatistics/Frames.lua"]:363: in function fillFunc' [string "@CraftSim/Libs/GGUI/GGUI.lua"]:2105: in function Add'
[string "@CraftSim/Modules/CraftStatistics/Frames.lua"]:341: in function UpdateDisplay' [string "@CraftSim/Main/CraftSim.lua"]:710: in function TriggerModulesByRecipeType'
[string "@CraftSim/Main/CraftSim.lua"]:215: in function TriggerModulesErrorSafe' [string "@CraftSim/Main/CraftSim.lua"]:260: in function <CraftSim/Main/CraftSim.lua:233> [string "=[C]"]: ? [string "=[C]"]: in function Init'
[string "@Blizzard_ProfessionsTemplates/Blizzard_ProfessionsRecipeSchematicForm.lua"]:192: in function <...emplates/Blizzard_ProfessionsRecipeSchematicForm.lua:186>
[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"]:419: in function SetTab'
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:300: in function UpdateTabs' [string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:247: in function Refresh'
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:209: in function `SetProfessionInfo'
[string "@Blizzard_Professions/Blizzard_ProfessionsFrame.lua"]:139: in function <...s/Blizzard_Professions/Blizzard_ProfessionsFrame.lua:102>

commented

I added a nil check for the given line, lets see if that fixes that for you
-> 11.3.3

commented

Seems to be fixed. Not had any errors on my JC, will update if I have any on other characters.