[Bug]: Lua error when using "Reverse bar growth"
Slackluster opened this issue · 1 comments
Are you using the latest version of the addon?
- Yes
- No
Addon Version
Skada: Version: 1.8.87 - Date: 2024-03-23 @ 11:22 UTC
Did you try having only this addon enabled?
- Yes
- No
Current Behavior
A Lua error appears sometimes. It happened when joining/leaving a raid group in combat, but I'm not sure that's relevant.
Seems to be an issue with the SpecializedLibBars.
Expected Behavior
For there to be no Lua errors.
Lua Error
3x ...bs/SpecializedLibBars-1.0-90029/SpecializedLibBars-1.0.lua:1692: Action[SetPoint] failed because[Cannot anchor to a region dependent on it]: attempted from: Frame:SetPoint.
[string "=[C]"]: in function SetPoint' [string "@Skada/Libs/SpecializedLibBars-1.0-90029/SpecializedLibBars-1.0.lua"]:1692: in function
SortBars'
[string "@Skada/Libs/SpecializedLibBars-1.0-90029/SpecializedLibBars-1.0.lua"]:1050: in function CreateBar' [string "@Skada/Libs/SpecializedLibBars-1.0-90029/SpecializedLibBars-1.0.lua"]:1060: in function
NewBar'
[string "@Skada/Core/Display/Bar.lua"]:414: in function CreateBar' [string "@Skada/Core/Display/Bar.lua"]:775: in function
Update'
[string "@Skada/Core/Core.lua"]:691: in function UpdateDisplay' [string "@Skada/Core/Core.lua"]:2056: in function
UpdateDisplay'
[string "@Skada/Core/Core.lua"]:2759: in function SetModes' [string "@Skada/Core/Core.lua"]:2634: in function <Skada/Core/Core.lua:2574> [string "@Skada/Core/Core.lua"]:2842: in function
func'
[string "@ChoreTracker/Libs/AceTimer-3.0-17/AceTimer-3.0.lua"]:57: in function <...dOns/ChoreTracker/Libs/AceTimer-3.0/AceTimer-3.0.lua:50>
Locals:
(*temporary) = Frame {
0 =
class = "EVOKER"
ownerGroup = SkadaBarWindowSkada {
}
role = "DAMAGER"
fg = Texture {
}
iconFrame = Frame {
}
value = 13094675
length = 298.000275
icon = Texture {
}
maxValue = 67565161
hg = Texture {
}
text = "Adamantag-Bloodscalp"
timerLabel = FontString {
}
name = "Player-1091-0ADC8628"
targetdist = 298.000275
win =
}
label = FontString {
}
_CreateFontString = defined =[C]:-1
CreateTexture = defined @Skada/Libs/SpecializedLibBars-1.0/SpecializedLibBars-1.0.lua:136
fixed = true
spec = 1467
showIcon = true
_zlevels =
}
spark = Texture {
}
targetamt = 0.193808
id = "Player-1091-0ADC8628"
lockColor = true
CreateFontString = defined @Skada/Libs/SpecializedLibBars-1.0/SpecializedLibBars-1.0.lua:143
thickness = 18
colors =
}
emphathize_set = false
lastanimated = 0
lastamt = 0.504721
_CreateTexture = defined =[C]:-1
bg = Texture {
}
}
(*temporary) = "BOTTOMLEFT"
(*temporary) = Frame {
0 =
class = "DRUID"
ownerGroup = SkadaBarWindowSkada {
}
role = "DAMAGER"
fg = Texture {
}
iconFrame = Frame {
}
value = 14086136
length = 298.000275
icon = Texture {
}
maxValue = 67565161
hg = Texture {
}
text = "Haydën-MarécagedeZangar"
timerLabel = FontString {
}
name = "Player-1621-0B546810"
targetdist = 298.000275
win =
}
label = FontString {
}
_CreateFontString = defined =[C]:-1
CreateTexture = defined @Skada/Libs/SpecializedLibBars-1.0/SpecializedLibBars-1.0.lua:136
spec = 0
showIcon = true
_zlevels =
}
spark = Texture {
}
targetamt = 0.208482
id = "Player-1621-0B546810"
lockColor = true
CreateFontString = defined @Skada/Libs/SpecializedLibBars-1.0/SpecializedLibBars-1.0.lua:143
thickness = 18
colors =
}
emphathize_set = false
lastanimated = 0
lastamt = 0.107613
_CreateTexture = defined =[C]:-1
bg = Texture {
}
}
(*temporary) = "TOPLEFT"
(*temporary) = 0
(*temporary) = 0
Reproduction Steps
I was not able to reliably reproduce the error. An anchor dependency loop seems straightforward, though.
Last Good Version
No response
Screenshots
No response