seblindfors / ConsolePort

ConsolePort - Game Controller Addon for World of Warcraft
Artistic License 2.0
182 stars 39 forks source link

Mapping Config - Empty categories list .. sometimes #97

Open negue opened 10 months ago

negue commented 10 months ago

Sometimes on the Mapping Config - the Categories list is empty - it only happens once in a while

I got two errors in BugSack, don't know if these are the errors for example that but who knows

Error 1:

39x ConsolePort/Model/Data/Shared.lua:14: Usage: local point, relativeTo, relativePoint, offsetX, offsetY = self:GetPoint([anchorIndex])
[string "=[C]"]: in function `?'
[string "@ConsolePort/Model/Data/Shared.lua"]:14: in function <ConsolePort/Model/Data/Shared.lua:12>
[string "@MoveAny/libs/db.lua"]:651: in function <MoveAny/libs/db.lua:647>

Error 2:

1x ...rfaceConsolePort_Config/Bindings/Manager.lua:415: Action[SetPoint] failed because[Cannot anchor to a region dependent on it]: attempted from: Frame:SetPoint.
[string "=[C]"]: in function `SetPoint'
[string "@ConsolePort_Config/Bindings/Manager.lua"]:415: in function `CreateHeader'
[string "@ConsolePort_Config/Bindings/Manager.lua"]:428: in function `DrawCategories'
[string "@ConsolePort_Config/Bindings/Manager.lua"]:393: in function <...rfaceConsolePort_Config/Bindings/Manager.lua:383>
[string "=[C]"]: in function `SetShown'
[string "@ConsolePort/Controller/Slash.lua"]:56: in function `?'
[string "@FrameXML/ChatFrame.lua"]:5291: in function <FrameXML/ChatFrame.lua:5237>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `ChatEdit_ParseText'
[string "@FrameXML/ChatFrame.lua"]:4948: in function <FrameXML/ChatFrame.lua:4947>
...
[string "=[C]"]: in function `ChatEdit_ParseText'
[string "@FrameXML/ChatFrame.lua"]:4948: in function <FrameXML/ChatFrame.lua:4947>
[string "=[C]"]: ?
[string "=[C]"]: in function `ChatEdit_SendText'
[string "@FrameXML/ChatFrame.lua"]:3181: in function <FrameXML/ChatFrame.lua:3175>
[string "=[C]"]: in function `RunMacroText'
[string "@FrameXML/SecureTemplates.lua"]:468: in function `handler'
[string "@FrameXML/SecureTemplates.lua"]:690: in function <FrameXML/SecureTemplates.lua:672>
[string "@FrameXML/SecureTemplates.lua"]:727: in function <FrameXML/SecureTemplates.lua:725>
[string "@FrameXML/SecureTemplates.lua"]:749: in function <FrameXML/SecureTemplates.lua:730>

Locals:
(*temporary) = Frame {
 0 = <userdata>
 LineBottomRight = Line {
 }
 OnLoad = <function> defined @ConsolePort_Config/Helpers.lua:222
 LineTopLeft = Line {
 }
 SetText = <function> defined @ConsolePort_Config/Helpers.lua:238
 BG = Texture {
 }
 LineTopRight = Line {
 }
 Text = FontString {
 }
 LineBottomLeft = Line {
 }
}
(*temporary) = "TOP"
(*temporary) = CheckButton {
 BottomLeftCorner = Texture {
 }
 OnEnter = <function> defined @ConsolePort_Config/Bindings/Manager.lua:57
 HiliteThumb = Line {
 }
 SetForceChecked = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:72
 drawOutline = true
 SetCheckedThumbColor = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:155
 KeySeparator = " | "
 SetSnappyChecked = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:117
 GetForceChecked = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:76
 CheckedThumb = Line {
 }
 SetSiblings = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:68
 ClearBackdrop = <function> defined @SharedXML/Backdrop.lua:282
 SetDrawOutline = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:121
 ThumbPosition = <table> {
 }
 GetBinding = <function> defined @ConsolePort_Config/Bindings/Manager.lua:28
 OnIndexButtonClick = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:40
 SetIcon = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:169
 HasBackdropInfo = <function> defined @SharedXML/Backdrop.lua:278
 UncheckSiblings = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:80
 GetEdgeSize = <function> defined @SharedXML/Backdrop.lua:188
 OnLoad = <function> defined @ConsolePort_Config/Bindings/Manager.lua:83
 TopEdge = Texture {
 }
 thumbPosition = "BOTTOM"
 BottomRightCorner = Texture {
 }
 SetBackdropColor = <function> defined @SharedXML/Backdrop.lua:399
 LeftEdge = Texture {
 }
 OnChecked = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:48
 GetBackgroundColor = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:100
 Label = FontString {
 }
 GetAction = <function> defined @ConsolePort_Config/Bindings/Manager.lua:33
 SetHiliteThumbColor = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:159
 TopLeftCorner = Texture {
 }
 OnClick = <function> defined @ConsolePort_Config/Bindings/Manager.lua:44
 GetOutlineColor = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:104
 ApplyBackdrop = <function> defined @SharedXML/Backdrop.lua:294
 SetBackdrop = <function> defined @SharedXML/Backdrop.lua:329
 GetBackdropBorderColor = <function> defined @SharedXML/Backdrop.lua:409
 GetBackdrop = <function> defined @SharedXML/Backdrop.lua:347
 IndexColors = <table> {
 }
 ToggleOutline = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:128
 SetTransparent = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:108
 Center = Texture {
 }
 OnIndexButtonLoad = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:23
 RightEdge = Texture {
 }
 ApplyBackground = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:113
 UpdateBinding = <function> defined @ConsolePort_Config/Bindings/Manager.lua:16
 BottomEdge = Texture {
 }
 backdropInfo = <table> {
 }
 OnIndexButtonEnter = <function> defined @ConsolePort/Widget/IndexButton/IndexButton.lua:28
 0 = <userdata>
 Slug = FontString {
 }
 OnLeave = <function> defined @ConsolePort_Config/Bindings/Manager.lua:76
 OnBackdropLoaded = <function>