CraftSim

CraftSim

2M Downloads

Lua error trying to recipe scan engineering

Stargrace05 opened this issue ยท 7 comments

commented

Message: ...erface/AddOns/CraftSim/Modules/RecipeScan/Frames.lua:742: attempt to index field 'expectedItem' (a nil value)
Time: Thu Jan 18 11:33:34 2024
Count: 1
Stack: ...erface/AddOns/CraftSim/Modules/RecipeScan/Frames.lua:742: attempt to index field 'expectedItem' (a nil value)
[string "@Interface/AddOns/CraftSim/Modules/RecipeScan/Frames.lua"]:742: in function fillFunc' [string "@Interface/AddOns/CraftSim/Libs/GGUI/GGUI.lua"]:2444: in function Add'
[string "@Interface/AddOns/CraftSim/Modules/RecipeScan/Frames.lua"]:728: in function AddRecipe' [string "@Interface/AddOns/CraftSim/Modules/RecipeScan/RecipeScan.lua"]:295: in function callback'
[string "@Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua"]:487: in function ContinueOnAllItemsLoaded' [string "@Interface/AddOns/CraftSim/Modules/RecipeScan/RecipeScan.lua"]:303: in function scanRecipesByInterval'
[string "@Interface/AddOns/CraftSim/Modules/RecipeScan/RecipeScan.lua"]:309: in function StartScan' [string "@Interface/AddOns/CraftSim/Modules/RecipeScan/Frames.lua"]:313: in function clickCallback'
[string "@Interface/AddOns/CraftSim/Libs/GGUI/GGUI.lua"]:1246: in function <Interface/AddOns/CraftSim/Libs/GGUI/GGUI.lua:1244>

Locals: row =

{
recipeData =
{
}
frameList =
{
}
columns =
{
}
active = false
Select = defined @Interface/AddOns/CraftSim/Libs/GGUI/GGUI.lua:2308
frame = Frame {
}
isGGUI = true
}
columns =
{
1 = Frame {
}
2 = Frame {
}
3 = Frame {
}
4 = Frame {
}
5 = Frame {
}
6 = Frame {
}
7 = Frame {
}
}
recipeColumn = Frame {
0 =
OnBackdropLoaded = defined @Interface/SharedXML/Backdrop.lua:152
GetBackdropColor = defined @Interface/SharedXML/Backdrop.lua:390
SetupTextureCoordinates = defined @Interface/SharedXML/Backdrop.lua:214
OnBackdropSizeChanged = defined @Interface/SharedXML/Backdrop.lua:182
HasBackdropInfo = defined @Interface/SharedXML/Backdrop.lua:278
SetBackdropBorderColor = defined @Interface/SharedXML/Backdrop.lua:422
GetEdgeSize = defined @Interface/SharedXML/Backdrop.lua:188
ApplyBackdrop = defined @Interface/SharedXML/Backdrop.lua:294
SetBackdrop = defined @Interface/SharedXML/Backdrop.lua:329
ClearBackdrop = defined @Interface/SharedXML/Backdrop.lua:282
GetBackdropBorderColor = defined @Interface/SharedXML/Backdrop.lua:409
GetBackdrop = defined @Interface/SharedXML/Backdrop.lua:347
SetupPieceVisuals = defined @Interface/SharedXML/Backdrop.lua:246
SetBackdropColor = defined @Interface/SharedXML/Backdrop.lua:399
text =
{
}
SetBorderBlendMode = defined @Interface/SharedXML/Backdrop.lua:266
}
learnedColumn = Frame {
0 =
SetLearned = defined @Interface/AddOns/CraftSim/Modules/RecipeScan/Frames.lua:418
OnBackdropLoaded = defined @Interface/SharedXML/Backdrop.lua:152
GetBackdropColor = defined @Interface/SharedXML/Backdrop.lua:390
SetupTextureCoordinates = defined @Interface/SharedXML/Backdrop.lua:214
OnBackdropSizeChanged = defined @Interface/SharedXML/Backdrop.lua:182
HasBackdropInfo = defined @Interface/SharedXML/Backdrop.lua:278
SetBackdropBorderColor = defined @Interface/SharedXML/Backdrop.lua:422
GetEdgeSize = defined @Interface/SharedXML/Backdrop.lua:188
ApplyBackdrop = defined @Interface/SharedXML/Backdrop.lua:294
SetBackdrop = defined @Interface/SharedXML/Backdrop.lua:329
ClearBackdrop = defined @Interface/SharedXML/Backdrop.lua:282
GetBackdropBorderColor = defined @Interface/SharedXML/Backdrop.lua:409
GetBackdrop = defined @Interface/SharedXML/Backdrop.lua:347
SetupPieceVisuals = defined @Interface/SharedXML/Backdrop.lua:246
SetBackdropColor = defined @Interface/SharedXML/Backdrop.l

commented

Message: ...erface/AddOns/CraftSim/Modules/RecipeScan/Frames.lua:742: attempt to index field 'expectedItem' (a nil value)
Time: Thu Jan 18 11:36:31 2024
Count: 1
Stack: ...erface/AddOns/CraftSim/Modules/RecipeScan/Frames.lua:742: attempt to index field 'expectedItem' (a nil value)
[string "@Interface/AddOns/CraftSim/Modules/RecipeScan/Frames.lua"]:742: in function fillFunc' [string "@Interface/AddOns/CraftSim/Libs/GGUI/GGUI.lua"]:2444: in function Add'
[string "@Interface/AddOns/CraftSim/Modules/RecipeScan/Frames.lua"]:728: in function AddRecipe' [string "@Interface/AddOns/CraftSim/Modules/RecipeScan/RecipeScan.lua"]:295: in function callback'
[string "@Interface/AddOns/CraftSim/Libs/GUTIL/GUTIL.lua"]:487: in function `ContinueOnAllItemsLoaded'
[string "@Interface/AddOns/CraftSim/Modules/RecipeScan/RecipeScan.lua"]:303: in function <...ce/AddOns/CraftSim/Modules/RecipeScan/RecipeScan.lua:243>

Locals: row =

{
recipeData =
{
}
frameList =
{
}
columns =
{
}
active = false
Select = defined @Interface/AddOns/CraftSim/Libs/GGUI/GGUI.lua:2308
frame = Frame {
}
isGGUI = true
}
columns =
{
1 = Frame {
}
2 = Frame {
}
3 = Frame {
}
4 = Frame {
}
5 = Frame {
}
6 = Frame {
}
7 = Frame {
}
}
recipeColumn = Frame {
0 =
OnBackdropLoaded = defined @Interface/SharedXML/Backdrop.lua:152
GetBackdropColor = defined @Interface/SharedXML/Backdrop.lua:390
SetupTextureCoordinates = defined @Interface/SharedXML/Backdrop.lua:214
OnBackdropSizeChanged = defined @Interface/SharedXML/Backdrop.lua:182
HasBackdropInfo = defined @Interface/SharedXML/Backdrop.lua:278
SetBackdropBorderColor = defined @Interface/SharedXML/Backdrop.lua:422
GetEdgeSize = defined @Interface/SharedXML/Backdrop.lua:188
ApplyBackdrop = defined @Interface/SharedXML/Backdrop.lua:294
SetBackdrop = defined @Interface/SharedXML/Backdrop.lua:329
ClearBackdrop = defined @Interface/SharedXML/Backdrop.lua:282
GetBackdropBorderColor = defined @Interface/SharedXML/Backdrop.lua:409
GetBackdrop = defined @Interface/SharedXML/Backdrop.lua:347
SetupPieceVisuals = defined @Interface/SharedXML/Backdrop.lua:246
SetBackdropColor = defined @Interface/SharedXML/Backdrop.lua:399
text =
{
}
SetBorderBlendMode = defined @Interface/SharedXML/Backdrop.lua:266
}
learnedColumn = Frame {
0 =
SetLearned = defined @Interface/AddOns/CraftSim/Modules/RecipeScan/Frames.lua:418
OnBackdropLoaded = defined @Interface/SharedXML/Backdrop.lua:152
GetBackdropColor = defined @Interface/SharedXML/Backdrop.lua:390
SetupTextureCoordinates = defined @Interface/SharedXML/Backdrop.lua:214
OnBackdropSizeChanged = defined @Interface/SharedXML/Backdrop.lua:182
HasBackdropInfo = defined @Interface/SharedXML/Backdrop.lua:278
SetBackdropBorderColor = defined @Interface/SharedXML/Backdrop.lua:422
GetEdgeSize = defined @Interface/SharedXML/Backdrop.lua:188
ApplyBackdrop = defined @Interface/SharedXML/Backdrop.lua:294
SetBackdrop = defined @Interface/SharedXML/Backdrop.lua:329
ClearBackdrop = defined @Interface/SharedXML/Backdrop.lua:282
GetBackdropBorderColor = defined @Interface/SharedXML/Backdrop.lua:409
GetBackdrop = defined @Interface/SharedXML/Backdrop.lua:347
SetupPieceVisuals = defined @Interface/SharedXML/Backdrop.lua:246
SetBackdropColor = defined @Interface/SharedXML/Backdrop.lua:399
text =
{
}
SetBorderBlendMode = defined @Interface/SharedXML/Backdrop.lua:266
}
expectedResultColumn = Frame {
0 =
OnBackdropLoaded = defined @Interface/SharedXML/Backdrop.lua:152
GetBackdropColor = defined @Interface/SharedXM

commented

was this happening when simming dragonflight recipes? or for old world?
tbh i forgot to test engineering old world scan

commented

Old world, and only when multiple expansions were selected at the same time

commented

Old world, and only when multiple expansions were selected at the same time

Ah I see, may you have the exact expansion that throws that error or is it for every old world one?

commented
  1. I get an invalid order function error for sorting opening eng at all.
  2. LUA error above appears when selecting BFA expansion
  3. LUA error above appears when selecting Shadowlands expansion
  4. Does not appear with any other individual expansions selected
  5. Does appear if you have any combination of BFA / Shadowlands selected + ones that do not trigger the LUA
commented

Also getting sorting related error opening Tailoring or Enchanting menu.

7x CraftSim/Libs/GGUI/GGUI.lua:2519: invalid order function for sorting
[string "=[C]"]: in function `sort'
[string "@CraftSim/Libs/GGUI/GGUI.lua"]:2519: in function `UpdateDisplay'
[string "@CraftSim/Modules/CustomerHistory/Frames.lua"]:353: in function `UpdateCustomerHistoryList'
[string "@CraftSim/Modules/CustomerHistory/Frames.lua"]:315: in function `UpdateDisplay'
[string "@CraftSim/Main/CraftSim.lua"]:462: in function <CraftSim/Main/CraftSim.lua:461>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `Show'
[string "@FrameXML/UIParent.lua"]:2968: in function `SetUIPanel'
[string "@FrameXML/UIParent.lua"]:2811: in function `ShowUIPanel'
[string "@FrameXML/UIParent.lua"]:2676: in function <FrameXML/UIParent.lua:2672>
[string "=[C]"]: in function `SetAttribute'
...
[string "@TradeSkillMaster/External/LibTSMClass-2/LibTSMClass.lua"]:332: in function <...radeSkillMaster/External/LibTSMClass/LibTSMClass.lua:319>
[string "=(tail call)"]: ?
[string "@TradeSkillMaster/External/LibTSMClass-2/LibTSMClass.lua"]:332: in function `_Enter'
[string "@TradeSkillMaster/LibTSM/Util/FSMClasses/Machine.lua"]:168: in function <.../TradeSkillMaster/LibTSM/Util/FSMClasses/Machine.lua:150>
[string "@TradeSkillMaster/External/LibTSMClass-2/LibTSMClass.lua"]:332: in function `_Transition'
[string "@TradeSkillMaster/LibTSM/Util/FSMClasses/Machine.lua"]:127: in function <.../TradeSkillMaster/LibTSM/Util/FSMClasses/Machine.lua:105>
[string "@TradeSkillMaster/External/LibTSMClass-2/LibTSMClass.lua"]:332: in function `ProcessEvent'
[string "@TradeSkillMaster/Core/UI/CraftingUI/Core.lua"]:193: in function `callback'
[string "@TradeSkillMaster/LibTSM/Util/Event.lua"]:132: in function `ProcessEvent'
[string "@TradeSkillMaster/LibTSM/Util/Event.lua"]:150: in function <TradeSkillMaster/LibTSM/Util/Event.lua:141>

Locals:
(*temporary) = <table> {
 1 = <table> {
 ...
 94 = <table> {
 }
}
(*temporary) = <function> defined @CraftSim/Modules/CustomerHistory/Frames.lua:353
(*temporary) = <table> {
 customerHistory = <table> {
 }
 frameList = <table> {
 }
 columns = <table> {
 }
 active = true
 Select = <function> defined @CraftSim/Libs/GGUI/GGUI.lua:2308
 frame = Frame {
 }
 isGGUI = true
}
(*temporary) = <table> {
 customerHistory = <table> {
 }
 frameList = <table> {
 }
 columns = <table> {
 }
 active = true
 Select = <function> defined @CraftSim/Libs/GGUI/GGUI.lua:2308
 frame = Frame {
 }
 isGGUI = true
}
(*temporary) = <table> {
 customerHistory = <table> {
 }
 frameList = <table> {
 }
 columns = <table> {
 }
 active = true
 Select = <function> defined @CraftSim/Libs/GGUI/GGUI.lua:2308
 frame = Frame {
 }
 isGGUI = true
}
commented

Should be fixed with 14.1.0