sfmict / HidingBar

Adds a custom panel for easy add-on management.
GNU General Public License v3.0
8 stars 1 forks source link

Lua error #24

Closed zeenk closed 1 year ago

zeenk commented 1 year ago

Not sure what I did to trigger it but was doing community feast on my rogue and used grappling hook then I heard the lua error sound from Bugsack.

3x StatusBar:GetPoint(): Action[FrameMeasurement] failed because[Can't measure restricted regions]: attempted from: StatusBar:GetPoint().
[string "=[C]"]: in function `GetPoint'
[string "@HidingBar/HidingBar.lua"]:2799: in function `isFocusParent'
[string "@HidingBar/HidingBar.lua"]:2810: in function <HidingBar/HidingBar.lua:2809>

Locals:
(*temporary) = StatusBar {
 0 = <userdata>
 OnLeave = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:626
 DisplayBarValue = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:581
 GlowCenter = Texture {
 }
 mouseOver = true
 BGLeft = Texture {
 }
 tooltipYOffset = 0
 value = 180
 barText = "180/250"
 GlowLeft = Texture {
 }
 BackgroundGlow = Texture {
 }
 tooltipContainsHyperLink = false
 Spark = Texture {
 }
 SparkMask = MaskTexture {
 }
 tooltip = "The better the smell, the better the soup... and the greater the danger!"
 SetBarText = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:592
 UpdateLabel = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:631
 SetTooltipOwner = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:53
 Setup = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:539
 overrideBarText = "Protect the Soup!"
 UpdateMouseEnabled = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:12
 partitionPool = <table> {
 }
 tooltipXOffset = 0
 overrideBarTextShownType = 0
 barTextHasStyleSettings = 4
 barTextSizeType = 4
 barValueTextType = 5
 barTextEnabledState = 3
 barTextFontType = 1
 range = 250
 displayedValue = 180
 barMin = 0
 barMax = 250
 SanitizeAndSetStatusBarValues = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:525
 tooltipLoc = 0
 Label = FontString {
 }
 OnEnter = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:621
 GlowRight = Texture {
 }
 BorderCenter = Texture {
 }
 tooltipAnchor = "ANCHOR_BOTTOMLEFT"
 BGRight = Texture {
 }
 defaultTooltipAnchor = "ANCHOR_BOTTOMLEFT"
 OnLoad = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:9
 OnReset = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:698
 UpdatePartitions = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:690
 BorderLeft = Texture {
 }
 BGCenter = Texture {
 }
 InitPartitions = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:656
 SetTooltip = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:23
 GetMaxTimeCount = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:613
 UpdateBar = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:569
 SetTooltipLocation = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:48
 BorderRight = Texture {
 }
 SetMouse = <function> defined @Blizzard_UIWidgets/Blizzard_UIWidgetTemplateBase.lua:650
}
(*temporary) = 1
sfmict commented 1 year ago

Hello, hmm, very interesting, I have some assumptions how this could happen, so i'll add some checks. Thx for the feedback :).

zeenk commented 1 year ago

Hello, hmm, very interesting, I have some assumptions how this could happen, so i'll add some checks. Thx for the feedback :).

Nice, oops I just saw some of the lua error msg wasn't showing after I did a quick edit, full error should show now if it helps to find the problem 🙂

sfmict commented 1 year ago

Mb will help, so I would be grateful).

sfmict commented 1 year ago

Fixed, so closed