Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ovi'nax: Script ran too long #5516

Open
1 task done
Floppy012 opened this issue Nov 2, 2024 · 3 comments
Open
1 task done

Ovi'nax: Script ran too long #5516

Floppy012 opened this issue Nov 2, 2024 · 3 comments
Labels
⏱ Awaiting Response This ticket hasn't been triaged yet. 🐛 Bug This is a problem with WeakAuras.

Comments

@Floppy012
Copy link

Floppy012 commented Nov 2, 2024

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

When pulling Ovi'nax on Mythic with TWWDungeons by Causese installed I get this Lua error and my raid pack (Northern Sky Nerub'ar Palace) no longer works (other WAs like my Class Aura still work)

I wasn't able to test it with just the WeakAuras addon since no one else in my raid seems to have this issue and I don't want to delay progress. Disabling the TWWDungeons pack or completely removing it prevents the error from occurring.

The error first occured to me on 27th October. We did also pull Ovi'nax on 24th where the error did not occur. The error always contains the same WeakAura ([TD-Trash] Abyssal Blast) that should not even be loaded in that zone according to its settings

image

WeakAuras Version

5.17.4

World of Warcraft Flavor

Retail (Default)

World of Warcraft Region

EU

Tested with only WeakAuras

I got this issue with only WeakAuras enabled

Lua Error

Error from October 27th:
24x WeakAuras/RegionTypes/Group.lua:108: script ran too long
[string "@WeakAuras/RegionTypes/Group.lua"]:108: in function `modify'
[string "@WeakAuras/WeakAuras.lua"]:3288: in function `SetRegion'
[string "@WeakAuras/WeakAuras.lua"]:3353: in function <WeakAuras/WeakAuras.lua:3333>
[string "@WeakAuras/WeakAuras.lua"]:3363: in function `EnsureRegion'
[string "@WeakAuras/WeakAuras.lua"]:1780: in function <WeakAuras/WeakAuras.lua:1648>
[string "@WeakAuras/WeakAuras.lua"]:1847: in function `ScanForLoads'
[string "@WeakAuras/WeakAuras.lua"]:1917: in function <WeakAuras/WeakAuras.lua:1915>

Locals:
parent = WeakAurasFrame {
}
region = Frame {
 values = <table> {
 }
 xOffset = 0
 yOffset = 218.803467
 bly = -112
 subRegionEvents = <table> {
 }
 finishFormatters = <table> {
 }
 toShow = true
 anchorPoint = "CENTER"
 trx = 200
 startFormatters = <table> {
 }
 blx = -200
 subRegions = <table> {
 }
 cloneId = ""
 border = Frame {
 }
 yOffsetAnim = 0
 regionType = "group"
 xOffsetAnim = 0
 relativePoint = "CENTER"
 relativeTo = WeakAurasFrame {
 }
 try = 40
 id = "Causese"
 alpha = 1
 xOffsetRelative = 0
 yOffsetRelative = 0
}
data = <table> {
 backdropColor = <table> {
 }
 controlledChildren = <table> {
 }
 borderBackdrop = "Blizzard Tooltip"
 scale = 0.750000
 borderEdge = "Square Full White"
 border = false
 yOffset = 218.803467
 anchorPoint = "CENTER"
 borderSize = 2
 animation = <table> {
 }
 borderColor = <table> {
 }
 xOffset = 0
 actions = <table> {
 }
 triggers = <table> {
 }
 regionType = "group"
 borderOffset = 4
 authorOptions = <table> {
 }
 selfPoint = "CENTER"
 id = "Causese"
 internalVersion = 77
 alpha = 1
 anchorFrameType = "SCREEN"
 uid = "MEFmY3RwTfB"
 config = <table> {
 }
 load = <table> {
 }
 subRegions = <table> {
 }
 frameStrata = 1
 conditions = <table> {
 }
 information = <table> {
 }
 borderInset = 1
}
border = Frame {
}
leftest = -120
rightest = 120
lowest = -112
highest = 40
(for state) = <table> {
 backdropColor = <table> {
 }
 controlledChildren = <table> {
 }
 borderBackdrop = "Blizzard Tooltip"
 scale = 0.750000
 borderEdge = "Square Full White"
 border = false
 yOffset = 218.803467
 anchorPoint = "CENTER"
 borderSize = 2
 animation = <table> {
 }
 borderColor = <table> {
 }
 xOffset = 0
 actions = <table> {
 }
 triggers = <table> {
 }
 regionType = "group"
 borderOffset = 4
 authorOptions = <table> {
 }
 selfPoint = "CENTER"
 id = "Causese"
 internalVersion = 77
 alpha = 1
 anchorFrameType = "SCREEN"
 uid = "MEFmY3RwTfB"
 config = <table> {
 }
 load = <table> {
 }
 subRegions = <table> {
 }
 frameStrata = 1
 conditions = <table> {
 }
 information = <table> {
 }
 borderInset = 1
}
(for control) = <table> {
 iconSource = -1
 wagoID = "tcIVwLsy9"
 xOffset = 0
 adjustedMax = ""
 adjustedMin = ""
 yOffset = 0
 anchorPoint = "CENTER"
 cooldownSwipe = true
 cooldownEdge = false
 icon = true
 triggers = <table> {
 }
 internalVersion = 77
 keepAspectRatio = false
 animation = <table> {
 }
 desaturate = false
 version = 79
 subRegions = <table> {
 }
 height = 80
 load = <table> {
 }
 useAdjustededMax = false
 anchorFrameType = "SCREEN"
 source = "import"
 url = "https://wago.io/twwdungeons/79"
 actions = <table> {
 }
 information = <table> {
 }
 conditions = <table> {
 }
 useAdjustededMin = false
 regionType = "icon"
 color = <table> {
 }
 parent = "Regular Icons"
 uid = "1noG0PR0PUZ"
 alpha = 1
 anchorFrameParent = false
 frameStrata = 1
 cooldownTextDisabled = true
 zoom = 0.300000
 semver = "1.0.78"
 tocversion = 110002
 id = "[TD-TRASH] Abyssal Blast"
 selfPoint = "CENTER"
 useCooldownModRate = true
 width = 80
 authorOptions = <table> {
 }
 config = <table> {
 }
 inverse = false
 preferToUpdate = true
 displayIcon = ""
 cooldown = true
 progressSource = <table> {
 }
}
child = <table> {
 iconSource = -1
 wagoID = "tcIVwLsy9"
 xOffset = 0
 adjustedMax = ""
 adjustedMin = ""
 yOffset = 0
 anchorPoint = "CENTER"
 cooldownSwipe = true
 cooldownEdge = false
 icon = true
 triggers = <table> {
 }
 internalVersion = 77
 keepAspectRatio = false
 animation = <table> {
 }
 desaturate = false
 version = 79
 subRegions = <table> {
 }
 height = 80
 load = <table> {
 }
 useAdjustededMax = false
 anchorFrameType = "SCREEN"
 source = "import"
 url = "https://wago.io/twwdungeons/79"
 actions = <table> {
 }
 information = <table> {
 }
 conditions = <table> {
 }
 useAdjustededMin = false
 regionType = "icon"
 color = <table> {
 }
 parent = "Regular Icons"
 uid = "1noG0PR0PUZ"
 alpha = 1
 anchorFrameParent = false
 frameStrata = 1
 cooldownTextDisabled = true
 zoom = 0.300000
 semver = "1.0.78"
 tocversion = 110002
 id = "[TD-TRASH] Abyssal Blast"
 selfPoint = "CENTER"
 useCooldownModRate = true
 width = 80
 aut
Error from November 1st:
33x WeakAuras/RegionTypes/Group.lua:108: script ran too long
[string "@WeakAuras/RegionTypes/Group.lua"]:108: in function `modify'
[string "@WeakAuras/WeakAuras.lua"]:3288: in function `SetRegion'
[string "@WeakAuras/WeakAuras.lua"]:3353: in function <WeakAuras/WeakAuras.lua:3333>
[string "@WeakAuras/WeakAuras.lua"]:3363: in function `EnsureRegion'
[string "@WeakAuras/WeakAuras.lua"]:1780: in function <WeakAuras/WeakAuras.lua:1648>
[string "@WeakAuras/WeakAuras.lua"]:1847: in function `ScanForLoads'
[string "@WeakAuras/WeakAuras.lua"]:1917: in function <WeakAuras/WeakAuras.lua:1915>

Locals:
parent = WeakAurasFrame {
}
region = Frame {
 values = <table> {
 }
 xOffset = 0
 yOffset = 218.803467
 bly = -112
 subRegionEvents = <table> {
 }
 finishFormatters = <table> {
 }
 toShow = true
 anchorPoint = "CENTER"
 trx = 200
 startFormatters = <table> {
 }
 blx = -200
 subRegions = <table> {
 }
 cloneId = ""
 border = Frame {
 }
 yOffsetAnim = 0
 regionType = "group"
 xOffsetAnim = 0
 relativePoint = "CENTER"
 relativeTo = WeakAurasFrame {
 }
 try = 40
 id = "Causese"
 alpha = 1
 xOffsetRelative = 0
 yOffsetRelative = 0
}
data = <table> {
 backdropColor = <table> {
 }
 controlledChildren = <table> {
 }
 borderBackdrop = "Blizzard Tooltip"
 scale = 0.750000
 borderEdge = "Square Full White"
 border = false
 yOffset = 218.803467
 anchorPoint = "CENTER"
 borderSize = 2
 animation = <table> {
 }
 borderColor = <table> {
 }
 xOffset = 0
 actions = <table> {
 }
 triggers = <table> {
 }
 regionType = "group"
 borderOffset = 4
 authorOptions = <table> {
 }
 selfPoint = "CENTER"
 id = "Causese"
 internalVersion = 77
 alpha = 1
 anchorFrameType = "SCREEN"
 uid = "MEFmY3RwTfB"
 config = <table> {
 }
 load = <table> {
 }
 subRegions = <table> {
 }
 frameStrata = 1
 conditions = <table> {
 }
 information = <table> {
 }
 borderInset = 1
}
border = Frame {
}
leftest = -120
rightest = 120
lowest = -112
highest = 40
(for state) = <table> {
 backdropColor = <table> {
 }
 controlledChildren = <table> {
 }
 borderBackdrop = "Blizzard Tooltip"
 scale = 0.750000
 borderEdge = "Square Full White"
 border = false
 yOffset = 218.803467
 anchorPoint = "CENTER"
 borderSize = 2
 animation = <table> {
 }
 borderColor = <table> {
 }
 xOffset = 0
 actions = <table> {
 }
 triggers = <table> {
 }
 regionType = "group"
 borderOffset = 4
 authorOptions = <table> {
 }
 selfPoint = "CENTER"
 id = "Causese"
 internalVersion = 77
 alpha = 1
 anchorFrameType = "SCREEN"
 uid = "MEFmY3RwTfB"
 config = <table> {
 }
 load = <table> {
 }
 subRegions = <table> {
 }
 frameStrata = 1
 conditions = <table> {
 }
 information = <table> {
 }
 borderInset = 1
}
(for control) = <table> {
 iconSource = -1
 wagoID = "tcIVwLsy9"
 xOffset = 0
 adjustedMax = ""
 adjustedMin = ""
 yOffset = 0
 anchorPoint = "CENTER"
 cooldownSwipe = true
 cooldownEdge = false
 icon = true
 triggers = <table> {
 }
 internalVersion = 77
 keepAspectRatio = false
 animation = <table> {
 }
 desaturate = false
 version = 79
 subRegions = <table> {
 }
 height = 80
 load = <table> {
 }
 useAdjustededMax = false
 anchorFrameType = "SCREEN"
 source = "import"
 url = "https://wago.io/twwdungeons/79"
 actions = <table> {
 }
 information = <table> {
 }
 conditions = <table> {
 }
 useAdjustededMin = false
 regionType = "icon"
 color = <table> {
 }
 parent = "Regular Icons"
 uid = "1noG0PR0PUZ"
 alpha = 1
 anchorFrameParent = false
 frameStrata = 1
 cooldownTextDisabled = true
 zoom = 0.300000
 semver = "1.0.78"
 tocversion = 110002
 id = "[TD-TRASH] Abyssal Blast"
 selfPoint = "CENTER"
 useCooldownModRate = true
 width = 80
 authorOptions = <table> {
 }
 config = <table> {
 }
 inverse = false
 preferToUpdate = true
 displayIcon = ""
 cooldown = true
 progressSource = <table> {
 }
}
child = <table> {
 iconSource = -1
 wagoID = "tcIVwLsy9"
 xOffset = 0
 adjustedMax = ""
 adjustedMin = ""
 yOffset = 0
 anchorPoint = "CENTER"
 cooldownSwipe = true
 cooldownEdge = false
 icon = true
 triggers = <table> {
 }
 internalVersion = 77
 keepAspectRatio = false
 animation = <table> {
 }
 desaturate = false
 version = 79
 subRegions = <table> {
 }
 height = 80
 load = <table> {
 }
 useAdjustededMax = false
 anchorFrameType = "SCREEN"
 source = "import"
 url = "https://wago.io/twwdungeons/79"
 actions = <table> {
 }
 information = <table> {
 }
 conditions = <table> {
 }
 useAdjustededMin = false
 regionType = "icon"
 color = <table> {
 }
 parent = "Regular Icons"
 uid = "1noG0PR0PUZ"
 alpha = 1
 anchorFrameParent = false
 frameStrata = 1
 cooldownTextDisabled = true
 zoom = 0.300000
 semver = "1.0.78"
 tocversion = 110002
 id = "[TD-TRASH] Abyssal Blast"
 selfPoint = "CENTER"
 useCooldownModRate = true
 width = 80
 aut

Reproduction Steps

Cannot really tell since other people in my raid don't have this problem. I'd love to help debugging this but I'm to unfamiliar with WoW lua stuff to know where to start.

As it may be performance related, here are my specs:

OS: Windows 11 Pro (10.0.22631)
CPU: AMD Ryzen 5 5600X
RAM: 32GB DDR4
GPU: RTX 3060
Game is running on an NVMe SSD

Last Good Version

No response

Video

Please also have a look a the following video: https://youtu.be/hmIaRvVqVVs

The video is from November 1st and shows the error occurring.

  1. Right at the beginning of the fight I have a Lag followed by the error. I assume the lag is causing the error (wow aborting the script)
  2. After the lag some auras still work and some don't (like my raid pack and the interrupt weakaura). I assume because they could not be properly initialized since wow has aborted WeakAuras during the initialization of the auras
  3. The error caught references a WeakAura from TWWDungeons that has the url = "https://wago.io/twwdungeons/79 property. When I'm about to delete the TWWDungeons pack you can see the version installed is 1.0.93 with the url https://wago.io/twwdungeons/94. Version 1.0.78 (url /twwdungeons/79) is from September 8th. I keep my auras up to date using WeakAuras Companion so there should not be any aura of that version installed. (see in "Stuff I have tried" for a possible explanation)
  4. After I have deleted the pack and reloaded in the next pull the error occurs again referencing the same aura that should not even exist (see in "Stuff I have tried" for a possible explanation)
  5. Once I have also deleted the twwraid pack (it kind of doesn't make sense, cause the aura is not part of that pack but I didn't know how to otherwise help myself) the error no longer occurs and all the remaining auras work as intended

On October 27th, I did not delete the pack but simply set all auras to never load, which helped back then.

Export String

WeakAuras_2024_10_26.zip
WeakAuras_2024_10_31.zip

Stuff I have tried

I've restored the backup from October 31st and iterated over all auras trying to find the uid of the report using the follwowing script:

/run for _,d in pairs(WeakAurasSaved.displays) do if d.uid == "1noG0PR0PUZ" then print(d.id) print(d.url) end end

It found the correct aura and d.url resulted in https://wago.io/twwdungeons/94 which is the expected version.


I have performed a full-text search across all files in the SavedVariables folder and found the error in BugGrabber. It has the message, and also the locals containing the twwdungeons/79 URL.

I had a look at BugBrabber's source and it only sets the locals upon seeing an error for the first time. Every additional occurrence of an error that produces the same sanitized message will only cause a counter increment and an update of the session id (related). That's probably why the error still contains the old URL. According to BugGrabber the error first occurred on September 12th at 21:43. I looked it up in WCL and at that exact time we were pulling Sikran on heroic. I probably didn't notice the auras not working since it was only heroic ...

@Floppy012 Floppy012 added the 🐛 Bug This is a problem with WeakAuras. label Nov 2, 2024
@github-actions github-actions bot added the ⏱ Awaiting Response This ticket hasn't been triaged yet. label Nov 2, 2024
@emptyrivers
Copy link
Contributor

The savedvariables you attached don't include the group you mentioned. Did you remove that group before uploading the SV file?

@Floppy012
Copy link
Author

@emptyrivers yes. That was my bad I deleted the pack yesterday to be able to raid. I corrected the attachments. I've attached two backups from the respective days before each progress day.

One thing I find rather strange: In the error message the aura properties shown contain the part url = "https://wago.io/twwdungeons/79". However, I cannot find that URL anywhere in the WeakAuras.lua file. I keep my auras up to date using the wago client. I even checked the vod from yesterday evening where It clearly showed that Version 1.0.93 ( twwdungeons/94) was installed:

image

Another strange thing is, that even after I have deleted the pack and did a /reload the error occurred again still having references to twwdungeons/79.

I do also have a WeakAurasArchive.lua at ~27MB if that helps. I'll cut the VoD and will also provide that here.

@Floppy012
Copy link
Author

VoD is added with some additional notes and I collapsed the errors into spoilers for better readability

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⏱ Awaiting Response This ticket hasn't been triaged yet. 🐛 Bug This is a problem with WeakAuras.
Projects
None yet
Development

No branches or pull requests

2 participants