AdiButtonAuras

AdiButtonAuras

404k Downloads

lua error in 10.1

Pillgar opened this issue ยท 2 comments

commented

When I mouse over an ability, I get Lua error's referencing AdiButtonAuras in the latest wow update:

Message: ...nterface/AddOns/AdiButtonAuras/core/DebugTooltip.lua:147: attempt to index field 'info' (a nil value)
Time: Tue May 2 23:01:15 2023
Count: 1
Stack: ...nterface/AddOns/AdiButtonAuras/core/DebugTooltip.lua:147: attempt to index field 'info' (a nil value)
[string "@Interface/SharedXML/Tooltip/TooltipDataHandler.lua"]:544: in function <Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539>
[string "=[C]"]: in function SetAction' [string "@Interface/AddOns/Bartender4/libs/LibActionButton-1.0/LibActionButton-1.0.lua"]:2243: in function SetTooltip'
[string "@Interface/AddOns/Bartender4/libs/LibActionButton-1.0/LibActionButton-1.0.lua"]:1950: in function <...er4/libs/LibActionButton-1.0/LibActionButton-1.0.lua:1943>
[string "@Interface/AddOns/Bartender4/libs/LibActionButton-1.0/LibActionButton-1.0.lua"]:1028: in function <...er4/libs/LibActionButton-1.0/LibActionButton-1.0.lua:1026>

Locals: self = GameTooltip {
0 =
ItemTooltip = Frame {
}
SetHyperlink = defined =[C]:-1
SetAzeriteEssence = defined =[C]:-1
SetVoidDepositItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
SetTraitEntry = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
ClearBackdrop = defined @Interface/SharedXML/Backdrop.lua:282
SetLootCurrency = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
SetWorldCursor = defined @Interface/FrameXML/GameTooltip.lua:1074
SetLootItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
GetSpell = defined @Interface/FrameXML/GameTooltip.lua:1112
SetQuestLogSpecialItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
SetRecipeReagentItem = defined =[C]:-1
SetMerchantItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
BottomOverlay = Texture {
}
SetSocketedRelic = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
ProcessInfo = defined =[C]:-1
NineSlice = Frame {
}
SetInventoryItem = defined =[C]:-1
SetUnitDebuffByAuraInstanceID = defined =[C]:-1
GetProcessingTooltipInfo = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:488
SetBackdropColor = defined @Interface/SharedXML/Backdrop.lua:399
AddLineDataText = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:429
AppendInfo = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:525
SetSpellBookItem = defined =[C]:-1
textLeft1Font = "GameTooltipHeaderText"
AppendInfoWithSpacer = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:531
SetShapeshift = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
hasMoney = 1
SetArtifactPowerByID = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
textRight2Font = "GameTooltipText"
TopOverlay = Texture {
}
SetSocketedItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
SetUnitDebuff = defined =[C]:-1
SetMountBySpellID = defined =[C]:-1
SetBorderBlendMode = defined @Interface/SharedXML/Backdrop.lua:266
SetToyByItemID = defined =[C]:-1
TextLeft1 = GameTooltipTextLeft1 {
}
GetTooltipData = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:505
IsTooltipType = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:509
OnBackdropSizeChanged = defined @Interface/SharedXML/Backdrop.lua:182
ClearHandlerInfo = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:444
SetArtifactItem = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
StatusBar = GameTooltipStatusBar {
}
SetPossession = defined @Interface/SharedXML/Tooltip/TooltipDataHandler.lua:539
SetUnitAura = defined =[C]

commented

DebugTooltip.lua is creating all the errors. We do not need it to play the game and use the addon.

Simply open AdiButtonAuras\core\core.xml and delete the last line

<Script file="DebugTooltip.lua"/> save the file and you should be error free.
commented

That worked. TYVM!!

Can you help me with another problem I'm having? I can't seem to get Thrash - 106830 (feral druid), or Rend - 772 (Warrior), to display the "bad" border when said debuff's are applied. Both these abilities are dots, and they appear inside the "Spells & Items" menu, and are checked, but no display for these dots on their icons. Not sure what's going on. Any help would be greatly appreciated.