WeakAuras

WeakAuras

206M Downloads

Lua error when opening WeakAuras options/interacting with 'auto-clone' WeakAuras

alex-benton opened this issue ยท 1 comments

commented

Describe the bug

In the Shadowlands beta version of WeakAuras (alpha5), opening WeakAuras options (/wa) or interacting with specific WeakAuras throws a Lua error (which prevents editing the specific WeakAuras).

This happens when I have a WeakAuras with an 'auto-clone' trigger.

Message: Interface\AddOns\WeakAuras\WeakAuras.lua:2826: attempt to index upvalue 'clonePool' (a nil value)
Time: Wed Aug  5 20:44:29 2020
Count: 1
Stack: Interface\AddOns\WeakAuras\WeakAuras.lua:2826: attempt to index upvalue 'clonePool' (a nil value)
[string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:2826: in function `SetRegion'
[string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:2903: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:2899>
[string "=(tail call)"]: ?
[string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:3926: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:3914>
[string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:4046: in function `UpdatedTriggerState'
[string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:3739: in function `func'
[string "@Interface\AddOns\WeakAuras\Libs\AceTimer-3.0\AceTimer-3.0.lua"]:57: in function <...\AddOns\WeakAuras\Libs\AceTimer-3.0\AceTimer-3.0.lua:50>

Locals: data = <table> {
 authorOptions = <table> {
 }
 preferToUpdate = false
 yOffset = 0
 anchorPoint = "CENTER"
 cooldownSwipe = true
 cooldownEdge = false
 actions = <table> {
 }
 triggers = <table> {
 }
 internalVersion = 35
 keepAspectRatio = false
 animation = <table> {
 }
 desaturate = false
 subRegions = <table> {
 }
 height = 64
 load = <table> {
 }
 regionType = "icon"
 parent = "player debuffs"
 color = <table> {
 }
 icon = true
 xOffset = 0
 cooldownTextDisabled = false
 zoom = 0
 auto = true
 tocversion = 90001
 id = "player debuff"
 width = 64
 alpha = 1
 anchorFrameType = "SCREEN"
 config = <table> {
 }
 uid = "ws3wu4HU86T"
 inverse = false
 frameStrata = 1
 conditions = <table> {
 }
 cooldown = false
 selfPoint = "CENTER"
}
cloneId = 1
regionType = "icon"
id = "player debuff"
region = nil
(*temporary) = nil
(*temporary) = "icon"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index upvalue 'clonePool' (a nil value)"
regionTypes = <table> {
 group = <table> {
 }
 text = <table> {
 }
 progresstexture = <table> {
 }
 dynamicgroup = <table> {
 }
 stopmotion = <table> {
 }
 model = <table> {
 }
 aurabar = <table> {
 }
 fallback = <table> {
 }
 icon = <table> {
 }
 texture = <table> {
 }
}
clones = <table> {
 player debuff = <table> {
 }
}
clonePool = nil
frame = WeakAurasFrame {
 0 = <userdata>
}
regions = <table> {
 player debuffs = <table> {
 }
 player debuff = <table> {
 }
}
WeakAuras = <table> {
 HandleGlowAction = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:3117
 ClearAndUpdateOptions = <function> defined @Interface\AddOns\WeakAurasOptions\WeakAurasOptions.lua:717
 StopMotion = <table> {
 }
 CheckItemSlotCooldowns = <function> defined @Interface\AddOns\WeakAuras\GenericTrigger.lua:2296
 UIDtoID = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:1733
 IsEnvironmentInitialized = <function> defined @Interface\AddOns\WeakAuras\AuraEnvironment.lua:199
 form_types = <table> {
 }
 CleanArchive = <function> defined @Interface\AddOns\WeakAuras\History.lua:21
 SafeToNumber = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:5025
 tooltip_count = <table> {
 }
 pet_spec_types = <table> {
 }
 ReplaceLocalizedRaidMarkers = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:5063
 CreateEncounterTable = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:1300
 TenchInit = <function> defined @Interface\AddOns\WeakAuras\GenericTrigger.lua:3075
 regionTypes = <table> {
 }
 absorb_modes = <table> {
 }
 StopProfile = <function> defined @Interface\AddOns\WeakAuras\Profiling.lua:351
 miss_types = <table> {
 }
 faction_group = <table> {
 }
 OpenOptions = <function> defined @Interface\AddOns\WeakAuras\WeakAuras.lua:83
 autoeventend_types = <table> {
 }
 talent_types = <table> {
 }
 EJIcons = <table> {
 }
 LoadFunction = <function> defined @Interface\AddOns\WeakAuras\AuraEnvironment.lua:

To Reproduce

Starting from a fresh WeakAuras install with no existing WeakAuras:

  1. Create a dynamic group.
  2. Create an 'icon' WeakAuras with: 'aura' type, 'player' unit, 'debuff' aura type, and check 'auto-clone'.
  3. See error.

...or import the string in 'additional info' below (which is the above dynamic group).

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
I only have WeakAuras enabled and am starting from zero existing WeakAuras.

Which version of WeakAuras are you using?
WeakAuras-3.0.0-alpha5

Are you on World of Warcraft Classic or Retail?
This is on the Shadowlands beta client.

Was it working in a previous version? If yes, which was the last good one?
This aura works on WeakAuras-3.0.0-alpha4.

Additional Info

This is the dynamic group I referred to in the reproduction steps:

!WA:2!fwv3YnTru46rLsQ4NMyGuG(xiZuAlDitMaKj0Fhlh7edo2gjfc9kNvsRT2ISwXURItYD4HHHBRVOpa(6ELFe8tWoE60hG8iKNGE2vYPa30BwT7zpN98Z335OcpTiFY9wz1vw9UOOKq0dk2RyqXG3C3HiMFDCCxr4Rw8epklaZSq(ppGrtsM3kIC8XiwWsUuAKGKWoSzNoCSOa7O8nJrX(Huwlkjw4vUsd3k2J6KgfvMW8JW7BZtq(4ZXq(ccnMVUnxGyctVoKycp00c(imhiyKUDXm(nVnlF7RhfG9s70X9OemB7k1BvD36wc4GnkLHwBapbhfvlGBEcp1dFaow4aAtoCC7YLCCB74wY21kfECVKi0ryMDmQhMBARv1BBmkseEMPTyyWuBNwvQxFyACEiyo2NgL2l2rLbgNc5hMfJIEkeNqQS1qooQJ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