Bagnon

Bagnon

127M Downloads

Error in bagnon with wildpants tooltipCounts and "GetItem"

Aciddeathx opened this issue ยท 2 comments

commented

Running Software (issues missing this information will be deleted):

Have you read the changelog? (please don't waste our time)
yes

Describe the bug
Bagnon/common/Wildpants/features/tooltipCounts.lua:58: attempt to call method 'GetItem' (a nil value)
[string "@Bagnon/common/Wildpants/features/tooltipCounts.lua"]:58: in function <...s/Bagnon/common/Wildpants/features/tooltipCounts.lua:57>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `securecallfunction'

To Reproduce
Steps to reproduce the behavior:
When opening a bag and putting mouse over any piece of gear, does not happen on non gear items.

Expected behaviour
Error message should not appear

Screenshots
If applicable, add screenshots to help explain your problem.

Error Logs
335x ...s/Bagnon/common/Wildpants/features/tooltipCounts.lua:58: attempt to call method 'GetItem' (a nil value)
[string "@Bagnon/common/Wildpants/features/tooltipCounts.lua"]:58: in function <...s/Bagnon/common/Wildpants/features/tooltipCounts.lua:57>
[string "=(tail call)"]: ?
[string "=[C]"]: in function securecallfunction' [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:60: in function <SharedXML/Tooltip/TooltipDataHandler.lua:55> [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:80: in function <SharedXML/Tooltip/TooltipDataHandler.lua:76> [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:116: in function <SharedXML/Tooltip/TooltipDataHandler.lua:106> [string "=[C]"]: in function SetAttribute'
[string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:141: in function <SharedXML/Tooltip/TooltipDataHandler.lua:134>
[string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:282: in function <SharedXML/Tooltip/TooltipDataHandler.lua:240>
[string "=[C]"]: in function securecallfunction' [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:237: in function ProcessInfo'
[string "@SharedXML/Tooltip/TooltipComparisonManager.lua"]:249: in function SetItemTooltip' ... [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:71: in function <SharedXML/Tooltip/TooltipDataHandler.lua:67> [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:135: in function <SharedXML/Tooltip/TooltipDataHandler.lua:134> [string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:282: in function <SharedXML/Tooltip/TooltipDataHandler.lua:240> [string "=[C]"]: in function securecallfunction'
[string "@SharedXML/Tooltip/TooltipDataHandler.lua"]:237: in function <SharedXML/Tooltip/TooltipDataHandler.lua:236>
[string "=(tail call)"]: ?
[string "=[C]"]: in function SetBagItem' [string "@FrameXML/ContainerFrame.lua"]:1504: in function ContainerFrameItemButton_OnEnter'
[string "@Bagnon/common/Wildpants/classes/item.lua"]:350: in function `UpdateTooltip'
[string "@Bagnon/common/Wildpants/classes/item.lua"]:185: in function <...faceBagnon/common/Wildpants/classes/item.lua:180>

Locals:
tip = ShoppingTooltip1 {
0 =
SetQuestLogRewardSpell = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestPartyProgress = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
ProcessLineData = defined @SharedXML/Tooltip/TooltipDataHandler.lua:303
SetPvpTalent = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetExistingSocketGem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetHyperlink = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetUnit = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetAzeriteEssence = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetVoidDepositItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetVoidWithdrawalItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetInfoBackdropStyle = defined @SharedXML/Tooltip/TooltipDataHandler.lua:338
SetSocketGem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetLootCurrency = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetSlottedKeystone = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetItemInteractionItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetLootItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetOwnedItemByID = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestLogSpecialItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetRecipeReagentItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetBuybackItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
hasMoney = 1
SetWeeklyReward = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetMerchantItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetPvpBrawl = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
shownMoneyFrames = 1
BottomOverlay = Texture {
}
SetSpellByID = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
numMoneyFrames = 1
SetSocketedRelic = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
ProcessInfo = defined @SharedXML/Tooltip/TooltipDataHandler.lua:236
ProcessLines = defined @SharedXML/Tooltip/TooltipDataHandler.lua:293
NineSlice = Frame {
}
SetInventoryItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
info =

{
}
updateTooltipTimer = 0.200000
SetLootRollItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
InternalProcessInfo = defined @SharedXML/Tooltip/TooltipDataHandler.lua:240
SetPossession = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetUnitDebuffByAuraInstanceID = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetBagItem = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
TextRight1 = ShoppingTooltip1TextRight1 {
}
SetAction = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetLineDataAttribute = defined @SharedXML/Tooltip/TooltipDataHandler.lua:232
SetAchievementByID = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetInventoryItemByID = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestCurrency = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetCurrencyByID = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetQuestLogCurrency = defined @SharedXML/Tooltip/TooltipDataHandler.lua:444
SetBagItemChild = defined @i

Additional context
Add any other context about the problem here.

commented

For me, at least, simply mousing over a piece of gear doesn't produce this error. However, holding Shift (to show currently equipped gear to compare) does produce it.

commented

I have this set "/console SET alwaysCompareItems 1 "