WeakAuras / WeakAuras2

World of Warcraft addon that provides a powerful framework to display customizable graphics on your screen.
https://weakauras.wtf
GNU General Public License v2.0
1.32k stars 318 forks source link

Create New Aura type: Icon does not work #2669

Closed benleighton closed 4 years ago

benleighton commented 4 years ago

Describe the bug

When clicking Icon in the list of aura types to create, nothing at all happens. If I create a different type of aura then try to convert to icon, it says: Improper arguments to WeakAuras.CreateRegion - regionType "icon" is not supported in chat.

Do you have an error log of what happened?

1x WeakAurasOptions\WeakAurasOptions-3.0.5-16-g45181f3.lua:1363: attempt to index field '?' (a nil value) [string "@WeakAurasOptions\WeakAurasOptions-3.0.5-16-g45181f3.lua"]:1363: in function `NewAura' [string "@WeakAurasOptions\OptionsFrames\OptionsFrame.lua"]:1085: in function <...dOns\WeakAurasOptions\OptionsFrames\OptionsFrame.lua:1084>

Locals: sourceData = nil regionType = "icon" targetId = nil ensure = defined @WeakAurasOptions\WeakAurasOptions.lua:1353 new_id = "New" data =

{ internalVersion = 38 animation =
{ } id = "New" regionType = "icon" uid = "n(7cOVgKNzd" authorOptions =
{ } load =
{ } config =
{ } conditions =
{ } actions =
{ } triggers =
{ } } (temporary) = defined @WeakAuras\WeakAuras.lua:307 (temporary) =
{ internalVersion = 38 animation =
{ } id = "New" regionType = "icon" uid = "n(7cOVgKNzd" authorOptions =
{ } load =
{ } config =
{ } conditions =
{ } actions =
{ } triggers =
{ } } (temporary) = nil (temporary) = defined @WeakAuras\WeakAuras.lua:1957 (temporary) = defined @WeakAuras\WeakAuras.lua:1957 (temporary) =
{ config =
{ } actions =
{ } animation =
{ } authorOptions =
{ } conditions =
{ } load =
{ } triggers =
{ } } (temporary) =
{ internalVersion = 38 animation =
{ } id = "New" regionType = "icon" uid = "n(7cOVgKNzd" authorOptions =
{ } load =
{ } config =
{ } conditions =
{ } actions =
{ } triggers =
{ } } (temporary) = defined =[C]:-1 (*temporary) = "attempt to index field '?' (a nil value)" WeakAuras =
{ IsSpellKnownForLoad = defined @WeakAuras\Prototypes.lua:913 unitLoadFrame = { } ClearAndUpdateOptions = defined @WeakAurasOptions\WeakAurasOptions.lua:781 StopMotion =
{ } GetRuneCooldown = defined @WeakAuras\GenericTrigger.lua:1899 GetUnitFrame = defined @WeakAuras\Libs\LibGetFrame-1.0\LibGetFrame-1.0.lua:208 DisplayToString = defined @WeakAuras\Transmission.lua:744 regions =
{ } SetMoverSizer = defined @WeakAurasOptions\WeakAurasOptions.lua:1326 CheckTalentByIndex = defined @WeakAuras\Prototypes.lua:767 ShowOverlayGlow = defined @WeakAuras\Libs\LibCustomGlow-1.0\LibCustomGlow-1.0.lua:601 RegisterItemCountWatch = defined @WeakAuras\GenericTrigger.lua:3206 CheckForItemBonusId = defined @WeakAuras\GenericTrigger.lua:3823 UnitCastingInfo = defined =[C]:-1 UnitNameWithRealm = defined @WeakAuras\WeakAuras.lua:5153 RealTimeProfilingWindow = { } GetSpellCharges = defined @WeakAuras\GenericTrigger.lua:1937 SafeToNumber = defined @WeakAuras\WeakAuras.lua:5052 GetAllDBMTimers = defined @WeakAuras\GenericTrigger.lua:2739 ToggleProfile = defined @WeakAuras\Profiling.lua:377 IsAuraActive = defined @WeakAuras\WeakAuras.lua:4413 regionOptions =
{ } SetRegion = defined @WeakAuras\WeakAuras.lua:2798 EnsureString = defined @WeakAuras\WeakAuras.lua:3601 CheckMPlusAffixIds = defined @WeakAuras\Prototypes.lua:848 CheckChargesDirection = defined @WeakAuras\Prototypes.lua:860 regionTypes =
{ } StopProfile = defined @WeakAuras\Profiling.lua:350 GetMoverSizerId = defined @WeakAurasOptions\WeakAurasOptions.lua:1339 GetGCDInfo = defined @WeakAuras\GenericTrigger.lua:1961 GcdSpellName = defined @WeakAuras\GenericTrigger.lua:1973 OpenOptions = defined @WeakAuras\WeakAuras.lua:85 GetUniqueCloneId = defined @Int

To Reproduce

Steps to reproduce the behavior:

  1. Open WA
  2. Click on New Aura
  3. Click on Icon

Screenshots nothing to show

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled? Yes

Which version of WeakAuras are you using? 3.0.5

Are you on World of Warcraft Classic or Retail?

  • [ ] Classic
  • [X ] Retail

Was it working in a previous version? If yes, which was the last good one? It was working in Legion. I just resubbed. I thought maybe all my old auras were creating issues so I tried a fresh WA install with no auras, same problem.

Additional Info

InfusOnWoW commented 4 years ago

Your installation appears to be pretty broken, try reinstalling weakauras.

benleighton commented 4 years ago

Hi Infus (this is Kaitain from the mmo forums btw). This is a fresh install

benleighton commented 4 years ago

dw i think i fixed it. Clusterfucky addon conflict. Starting from absolute scratch now.