WeakAuras

WeakAuras

206M Downloads

Script ran too long part 2

Causese opened this issue ยท 0 comments

commented

Describe the bug

wow freezes after doing sequence of things related to weakauras

Do you have an error log of what happened?
error 1

1x WeakAuras\RegionTypes\DynamicGroup.lua:776: script ran too long
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:776: in function <WeakAuras\RegionTypes\DynamicGroup.lua:774>
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:1215: in function `Resize'
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:1198: in function `DoPositionChildren'
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:1048: in function `PositionChildren'
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:1029: in function `SortUpdatedChildren'
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:926: in function `ReloadControlledChildren'
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:1255: in function `modify'
[string "@WeakAuras\WeakAuras-3.1.1-9-g87a4b23.lua"]:2864: in function `SetRegion'
[string "@WeakAuras\WeakAuras-3.1.1-9-g87a4b23.lua"]:2693: in function <WeakAuras\WeakAuras.lua:2665>
[string "@WeakAuras\WeakAuras-3.1.1-9-g87a4b23.lua"]:2794: in function `Add'
[string "@WeakAuras\WeakAuras-3.1.1-9-g87a4b23.lua"]:1823: in function `Delete'
[string "@WeakAurasOptions\WeakAurasOptions-3.1.1-9-g87a4b23.lua"]:380: in function `OnAccept'
[string "@FrameXML\StaticPopup.lua"]:5053: in function `StaticPopup_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

error2

1x WeakAuras\RegionTypes\DynamicGroup.lua:1077: script ran too long
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:1077: in function `DoPositionChildrenPerFrame'
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:1186: in function `DoPositionChildren'
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:1048: in function `PositionChildren'
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:1029: in function `SortUpdatedChildren'
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:926: in function `ReloadControlledChildren'
[string "@WeakAuras\RegionTypes\DynamicGroup.lua"]:1255: in function `modify'
[string "@WeakAuras\WeakAuras-3.1.1-9-g87a4b23.lua"]:2864: in function `SetRegion'
[string "@WeakAuras\WeakAuras-3.1.1-9-g87a4b23.lua"]:2693: in function <WeakAuras\WeakAuras.lua:2665>
[string "@WeakAuras\WeakAuras-3.1.1-9-g87a4b23.lua"]:2794: in function `Add'
[string "@WeakAuras\WeakAuras-3.1.1-9-g87a4b23.lua"]:1823: in function `Delete'
[string "@WeakAurasOptions\WeakAurasOptions-3.1.1-9-g87a4b23.lua"]:380: in function `OnAccept'
[string "@FrameXML\StaticPopup.lua"]:5053: in function `StaticPopup_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

error3

4x WeakAurasOptions\WeakAurasOptions-3.1.1-9-g87a4b23.lua:447: attempt to index local 'data' (a nil value)
[string "@WeakAurasOptions\WeakAurasOptions-3.1.1-9-g87a4b23.lua"]:447: in function <WeakAurasOptions\WeakAurasOptions.lua:445>
[string "=[C]"]: ?
[string "@BigWigs\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...igs\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@BigWigs\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function `Fire'
[string "@WeakAuras\WeakAuras-3.1.1-9-g87a4b23.lua"]:1734: in function `Delete'
[string "@WeakAurasOptions\WeakAurasOptions-3.1.1-9-g87a4b23.lua"]:380: in function `OnAccept'
[string "@FrameXML\StaticPopup.lua"]:5053: in function `StaticPopup_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

error4

4x WeakAuras\WeakAuras-3.1.1-9-g87a4b23.lua:1762: attempt to index field '?' (a nil value)
[string "@WeakAuras\WeakAuras-3.1.1-9-g87a4b23.lua"]:1762: in function `Delete'
[string "@WeakAurasOptions\WeakAurasOptions-3.1.1-9-g87a4b23.lua"]:380: in function `OnAccept'
[string "@FrameXML\StaticPopup.lua"]:5053: in function `StaticPopup_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

To Reproduce

Steps to reproduce the behavior:

error 1 can be reproduced as follows:

  1. Import wago.io/slraid1
  2. Expand the dynamic group
  3. Click on the dynamic group's green eye until it's fully open
  4. right click the dynamic group and hit delete to generate the delete window popup
  5. move the dynamic group via cursor
  6. wait until after the mini freeze is gone ad hit delete

error 2-4 can be reproduced as follows:

  1. Import wago.io/slraid1
  2. Expand the dynamic group
  3. right click the dynamic group and hit delete to generate the delete window popup
  4. Click on the dynamic group's green eye until it's fully open and hit delete shortly after
  5. After the freeze, error2 should occur, the delete window should still be open
  6. Hitting delete again will cause error 3+4 on each click

Screenshots
https://i.gyazo.com/af69288fe4b3b27b82ea6ecf4fcfd74e.gif

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

Which version of WeakAuras are you using?
3.1.1-9-g87a4b23

Are you on World of Warcraft Classic or Retail?

  • Classic
  • Retail

Was it working in a previous version? If yes, which was the last good one?
no

Additional Info