LUA Error when mouse over certain items
astavitsky opened this issue ยท 1 comments
In retail I get the LUA error below when mousing over item 158910. The "Collected" flag/count does not work on items after LUA error.
Time: Mon Jun 6 23:18:56 2022
Count: 1
Stack: Interface\AddOns\AllTheThings\AllTheThings.lua:8655: Usage: GetAchievementInfo(achievementID)
[string "@Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua"]:761: in function <...Ons\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:717>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@Interface\AddOns\AllTheThings\AllTheThings.lua"]:8655: in function <Interface\AddOns\AllTheThings\AllTheThings.lua:8649>
[string "=(tail call)"]: ?
[string "@Interface\AddOns\AllTheThings\AllTheThings.lua"]:14100: in function `TopLevelUpdateGroup'
[string "@Interface\AddOns\AllTheThings\AllTheThings.lua"]:4459: in function <Interface\AddOns\AllTheThings\AllTheThings.lua:3768>
[string "@Interface\AddOns\AllTheThings\AllTheThings.lua"]:6157: in function <Interface\AddOns\AllTheThings\AllTheThings.lua:6154>
[string "@Interface\AddOns\AllTheThings\AllTheThings.lua"]:6970: in function <Interface\AddOns\AllTheThings\AllTheThings.lua:6837>
[string "=[C]"]: ?
[string "=[C]"]: ?
...
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "@Interface\AddOns\TradeSkillMaster\LibTSM\Service\ItemTooltipClasses\Wrapper.lua"]:107: in function <...Master\LibTSM\Service\ItemTooltipClasses\Wrapper.lua:105>
[string "=[C]"]: ?
[string "=[C]"]: in function `SetBagItem'
[string "@Interface\FrameXML\ContainerFrame.lua"]:1372: in function `ContainerFrameItemButton_OnUpdate'
[string "@Interface\FrameXML\ContainerFrame.lua"]:1419: in function `ContainerFrameItemButton_OnEnter'
[string "*:OnEnter"]:1: in function <[string "*:OnEnter"]:1>
[string "=[C]"]: ?
Locals: errMsg = "Interface\AddOns\AllTheThings\AllTheThings.lua:8655: Usage: GetAchievementInfo(achievementID)"
isBugGrabber = nil
tsmErrMsg = nil
oldModule = nil
private = <table> {
globalNameTranslation = <table> {
}
FormatErrorMessageSection = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:517
ErrorHandler = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:134
origErrorHandler = <function> defined @Interface\SharedXML\SharedBasicControls.lua:355
hitInternalError = false
CreateErrorFrame = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:536
num = 0
SanitizeString = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:510
AddonBlockedHandler = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:502
GetStackLevelInfo = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:344
ParseLocals = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:396
ignoreErrors = false
errorReports = <table> {
}
IsTSMAddon = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:478
localLinesTemp = <table> {
}
GetStackInfo = <function> defined @Interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:313
}
MAX_STACK_DEPTH = 50
OLD_TSM_MODULES = <table> {
1 = "TradeSkillMaster_Accounting"
2 = "TradeSkillMaster_AuctionDB"
3 = "TradeSkillMaster_Auctioning"
4 = "TradeSkillMaster_Crafting"
5 = "TradeSkillMaster_Destroying"
6 = "TradeSkillMaster_Mailing"
7 = "TradeSkillMaster_Shopping"
8 = "TradeSkillMaster_Vendoring"
9 = "TradeSkillMaster_Warehousing"
}
Ah I didn't see this as a GitHub issue. Should be fixed with ac7e31c. If not, please re-open this ticket and I'll investigate further. I can query that Item without issue, though the first load doesn't retrieve the proper achievement info... /att i:158910
so hopefully that means it's resolved for Item tooltips as well.