ascott18 / TellMeWhen

TellMeWhen is a combat tracking AddOn for World of Warcraft Retail and Classic
https://wow.curseforge.com/projects/tellmewhen
GNU General Public License v3.0
80 stars 11 forks source link

LUA Error when targeting a mob with debuff icons tracked #2149

Closed kirbuslee closed 4 months ago

kirbuslee commented 4 months ago

WoW Version

Classic/Classic SoM

TellMeWhen Version

10.2.2

Describe the bug

I have a TMW bar set up to track specific debuffs on my target, and when I target something, the bar does not become visible and the following LUA error pops up:

Message: ...e/AddOns/TellMeWhen/Components/Core/Common/Auras.lua:342: attempt to call upvalue 'UnitAuraSlots' (a nil value) Time: Tue Feb 6 14:38:38 2024 Count: 1 Stack: ...e/AddOns/TellMeWhen/Components/Core/Common/Auras.lua:342: attempt to call upvalue 'UnitAuraSlots' (a nil value) [string "@Interface/AddOns/TellMeWhen/Components/Core/Common/Auras.lua"]:342: in function <...e/AddOns/TellMeWhen/Components/Core/Common/Auras.lua:330> [string "@Interface/AddOns/TellMeWhen/Components/Core/Conditions/Categories/BuffsDebuffs.lua"]:119: in function AuraDurPacked' [string "ConditionEvents_DEBUFFDUR_DEBUFFDUR"]:8: in functionUpdateFunction' [string "@Interface/AddOns/TellMeWhen/Components/Core/Conditions/UpdateEngine.lua"]:131: in function <...llMeWhen/Components/Core/Conditions/UpdateEngine.lua:124> [string "=[C]"]: in function `TurnOrActionStop'

Locals: unit = "target" unitData =

{ lookup =
{ } instances =
{ } } instances =
{ } lookup =
{ } (temporary) = defined @Interface/AddOns/TellMeWhen/Components/Core/Common/Auras.lua:298 (temporary) = "target" (temporary) =
{ } (temporary) =
{ } (temporary) = nil (temporary) = "target" (temporary) = "HELPFUL" (temporary) = "attempt to call upvalue 'UnitAuraSlots' (a nil value)" data =
{ target =
{ } player =
{ } } UpdateAuras = defined @Interface/AddOns/TellMeWhen/Components/Core/Common/Auras.lua:298 UnitAuraSlots = nil

Export Strings

N/A
ascott18 commented 4 months ago

Duplicate of #2148