WeakAuras

WeakAuras

206M Downloads

Error lua

Machou opened this issue ยท 3 comments

commented

Description

i get lua error

WeakAuras Version

Alpha 5.3.7-26-gd2f932b

World of Warcraft Flavor

Retail (Default)

Tested with only WeakAuras

  • Yes
  • No

Lua Error

Date: 2023-02-20 08:35:37
ID: 1
Error occured in: Global
Count: 3
Message: [string "local newActiveConditions = {};"] line 59:
   attempt to index local 'state' (a nil value)
Debug:
   [string "local newActiveConditions = {};"]:59: ?()
   [string "@Interface/AddOns/WeakAuras/Conditions.lua"]:794:
      Interface/AddOns/WeakAuras/Conditions.lua:785
   [string "@Interface/AddOns/WeakAuras/Conditions.lua"]:810:
      Interface/AddOns/WeakAuras/Conditions.lua:802
   [string "@Interface/AddOns/WeakAuras/Conditions.lua"]:927: RegisterForGlobalConditions()
   [string "@Interface/AddOns/WeakAuras/WeakAuras.lua"]:1881: LoadDisplays()
   [string "@Interface/AddOns/WeakAuras/WeakAuras.lua"]:1677:
      Interface/AddOns/WeakAuras/WeakAuras.lua:1524
   [string "@Interface/AddOns/WeakAuras/WeakAuras.lua"]:1870: Resume()
   [string "@Interface/AddOns/WeakAurasOptions/OptionsFrames/OptionsFrame.lua"]:208:
      ...dOns/WeakAurasOptions/OptionsFrames/OptionsFrame.lua:188
   [string "=[C]"]: Hide()
   [string "@Interface/FrameXML/UIParent.lua"]:3384:
      Interface/FrameXML/UIParent.lua:3379
   [string "@Interface/AddOns/HandyNotes/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua"]:1846:
      ...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:1845
   [string "=[C]"]: securecall()
   [string "@Interface/FrameXML/UIParent.lua"]:3422: CloseWindows()
   [string "@Interface/FrameXML/UIParent.lua"]:3439:
      Interface/FrameXML/UIParent.lua:3437
   [string "=[C]"]: securecall()
   [string "@Interface/FrameXML/UIParent.lua"]:4088: ToggleGameMenu()
   [string "TOGGLEGAMEMENU"]:1:
      [string "TOGGLEGAMEMENU"]:1
Locals:
region = Frame {
 0 = <userdata>
 iconSource = -1
 AnchorSubRegion = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/Icon.lua:152
 subRegionEvents = <table> {
 }
 Expand = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:844
 yOffset = 200
 anchorPoint = "CENTER"
 GetColor = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/Icon.lua:443
 icon = Texture {
 }
 SetOffset = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:280
 keepAspectRatio = false
 SendChat = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:228
 SetInverse = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/Icon.lua:507
 toShow = false
 UpdateFrameTick = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:393
 SetRegionHeight = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/Icon.lua:502
 UpdateIcon = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/Icon.lua:467
 Color = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/Icon.lua:414
 cloneId = ""
 Update = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/Icon.lua:636
 regionType = "icon"
 GetRegionAlpha = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:349
 relativePoint = "CENTER"
 SoundPlay = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:210
 zoom = 0
 UpdateTimerTick = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:379
 color_b = 1
 UpdateTexCoords = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/Icon.lua:332
 alpha = 1
 color_r = 1
 SetXOffset = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:289
 SetGlow = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/Icon.lua:643
 SetRegionWidth = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/Icon.lua:497
 triggerProvidesTimer = false
 RealClearAllPoints = <function> defined =[C]:-1
 RunCode = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:235
 GetYOffset = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:301
 SetAnimAlpha = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:353
 ColorAnim = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/Icon.lua:429
 SetIcon = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/Icon.lua:450
 Collapse = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:822
 SetYOffsetRelative = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:318
 ClickToPick = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:693
 OptionsClosed = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:688
 scaley = 1
 cooldownSwipe = true
 GetXOffset = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:297
 SetYOffset = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:293
 SetCooldownEdge = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/Icon.lua:523
 color_g = 1
 SetZoom = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/Icon.lua:531
 GetYOffsetRelative = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:326
 SetAnchor = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:268
 GlowExternal = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:243
 cooldownEdge = false
 SetRegionAlpha = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:339
 finishFormatters = <table> {
 }
 GetXOffsetRelative = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/RegionPrototype.lua:322
 SetDesaturated = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/Icon.lua:493
 Scale = <function> defined @Interface/AddOns/WeakAuras/RegionTypes/Icon.lua:484
 subRegions = <table> {
 }
 height = 64
 startFormatters = <table> {
 }
 Pa


### Reproduction Steps

Change Aura

### Last Good Version

_No response_

### Screenshots

_No response_

### Export String

_No response_
commented

We need a lot more information on how to reproduce that. Just posting the lua error is not enough.

commented

If I had more information, I would have communicated it, but now I just opened WeakAuras.

Anyway, I switched back to a stable version, because the alpha version is far too unstable.

commented

E.g. your settings. Or the aura your were editing in "Change Aura".