WeakAuras

WeakAuras

206M Downloads

Custom code preview on import of an update sometime crash on Jods auras

mrbuds opened this issue ยท 0 comments

commented

Description

The "view custom code" function is very slow and can crash with huge aura when doing an update (seems better an first install)

WeakAuras Version

alpha

World of Warcraft Flavor

Retail (Default)

Tested with only WeakAuras

  • Yes
  • No

Lua Error

1x WeakAuras\RegionTypes\DynamicGroup.lua:1223: script ran too long
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:1223: in function `Resize'
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:1206: in function `DoPositionChildren'
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:1056: in function `PositionChildren'
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:1037: in function `SortUpdatedChildren'
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:985: in function `RemoveChild'
[string "@WeakAuras\RegionTypes\RegionPrototype.lua"]:794: in function <...aceWeakAuras\RegionTypes\RegionPrototype.lua:769>
[string "@WeakAuras\RegionTypes\RegionPrototype.lua"]:840: in function `Collapse'
[string "@WeakAuras\WeakAuras-@[email protected]"]:4083: in function `UpdatedTriggerState'
[string "@WeakAuras\WeakAuras-@[email protected]"]:1221: in function `Pause'
[string "@WeakAurasOptions\WeakAurasOptions-@[email protected]"]:786: in function `ShowOptions'
[string "@WeakAurasOptions\OptionsFrames\CodeReview.lua"]:122: in function `Open'
[string "@WeakAurasOptions\WeakAurasOptions-@[email protected]"]:1596: in function `OpenCodeReview'
[string "@WeakAurasOptions\OptionsFrames\Update-Update.lua"]:2010: in function <...aceWeakAurasOptions\OptionsFrames\Update.lua:2010>

Locals:
self = <unnamed> {
 0 = <userdata>
 controlledChildren = <table> {
 }
 AnchorSubRegion = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:452
 xOffset = 296.970000
 SortUpdatedChildren = <function> defined @WeakAuras\RegionTypes\DynamicGroup.lua:1000
 Expand = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:964
 yOffset = -41
 anchorPoint = "LEFT"
 SetOffset = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:318
 DoPositionChildrenPerFrame = <function> defined @WeakAuras\RegionTypes\DynamicGroup.lua:1066
 selfPoint = "TOPLEFT"
 sortFunc = <function> defined @WeakAuras\RegionTypes\DynamicGroup.lua:255
 SendChat = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:266
 toShow = true
 OptionsClosed = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:752
 suspended = 0
 cloneId = ""
 regionType = "dynamicgroup"
 relativePoint = "CENTER"
 SoundPlay = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:248
 sortedChildren = <table> {
 }
 UpdateRegionHasTimerTick = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:409
 SetXOffset = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:327
 Collapse = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:961
 RealClearAllPoints = <function> defined =[C]:-1
 RunCode = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:273
 ActivateChild = <function> defined @WeakAuras\RegionTypes\DynamicGroup.lua:960
 GetYOffset = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:339
 values = <table> {
 }
 growFunc = <function> defined @WeakAuras\RegionTypes\DynamicGroup.lua:453
 currentHeight = 80
 currentWidth = 14271.000854
 SetYOffsetRelative = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:356
 PositionChildren = <function> defined @WeakAuras\RegionTypes\DynamicGroup.lua:1047
 IsSuspended = <function> defined @WeakAuras\RegionTypes\DynamicGroup.lua:818
 needToSort = false
 GetXOffset = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:335
 background = <unnamed> {
 }
 Resize = <function> defined @WeakAuras\RegionTypes\DynamicGroup.lua:1210
 needToReload = false
 needToPosition = false
 GetYOffsetRelative = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:364
 SetAnchor = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:306
 GlowExternal = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:281
 RemoveChild = <function> defined @WeakAuras\RegionTypes\DynamicGroup.lua:978
 finishFormatters = <table> {
 }
 ReloadControlledChildren = <function> defined @WeakAuras\RegionTypes\DynamicGroup.lua:903
 AddChild = <function> defined @WeakAuras\RegionTypes\DynamicGroup.lua:940
 subRegions = <table> {
 }
 SoundRepeatStop = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:194
 startFormatters = <table> {
 }
 Pause = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:967
 SetOffsetAnim = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:368
 Resume = <function> defined @WeakAuras\RegionTypes\DynamicGroup.lua:831
 ClickToPick = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:757
 needToResize = false
 xOffsetAnim = 0
 yOffsetAnim = 0
 regionHasTimer = false
 SetFrameLevel = <function> defined @WeakAuras\RegionTypes\DynamicGroup.lua:122
 SetXOffsetRelative = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:352
 SetTriggerProvidesTimer = <function> defined @WeakAuras\RegionTypes

Reproduction Steps

Last Good Version

No response

Screenshots

No response

Export String

No response