Sluimerstand / ProfessionShoppingList

Track recipes, reagents, cooldowns, and more!
4 stars 4 forks source link

Lua error when opening "Place Crafting Order" window #119

Closed DaGrump2394 closed 7 months ago

DaGrump2394 commented 7 months ago

Error occurs even if it's the only addon and after clearing the aptly named WTF folder

Message: ...ns/ProfessionShoppingList/ProfessionShoppingList.lua:1175: attempt to index global 'ProfessionsFrame' (a nil value)
Time: Thu Nov 23 15:40:29 2023
Count: 1
Stack: ...ns/ProfessionShoppingList/ProfessionShoppingList.lua:1175: attempt to index global 'ProfessionsFrame' (a nil value)
[string "@Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua"]:1175: in function `CreateCraftingOrdersAssets'
[string "@Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua"]:2800: in function <...ns/ProfessionShoppingList/ProfessionShoppingList.lua:2637>

Locals: quickOrder = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:988
(*temporary) = <function> defined =[C]:-1
(*temporary) = "Button"
(*temporary) = nil
(*temporary) = nil
(*temporary) = 302
(*temporary) = 10
(*temporary) = -10
(*temporary) = <userdata>
(*temporary) = "attempt to index global 'ProfessionsFrame' (a nil value)"
app = <table> {
 UntrackRecipe = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:630
 api = <table> {
 }
 Initialise = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:50
 nyiRecipes = <table> {
 }
 SaveWindowPosition = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:139
 slLegendaryRecipeIDs = <table> {
 }
 Toggle = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:538
 iconNotReady = "Interface\RaidFrame\ReadyCheck-NotReady"
 iconReady = "Interface\RaidFrame\ReadyCheck-Ready"
 TooltipInfo = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:1390
 Clear = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:1452
 iconWaiting = "Interface\RaidFrame\ReadyCheck-Waiting"
 CreateGeneralAssets = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:664
 Settings = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:1499
 TrackingWindows = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:155
 UpdateAssets = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:1279
 Print = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:45
 OpenSettings = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:1475
 Show = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:512
 TrackRecipe = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:549
 UpdateNumbers = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:377
 UpdateRecipes = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:456
 WindowFunctions = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:2129
 CreateTradeskillAssets = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:720
 GetReagents = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:316
 CreateCraftingOrdersAssets = <function> defined @Interface/AddOns/ProfessionShoppingList/ProfessionShoppingList.lua:928
}
Sluimerstand commented 7 months ago

Alright I've found the issue and hopefully solved it. Hotfix release has been sent out. :)