Drift

Drift

33.5k Downloads

Error with Drift in TBC Classic

Teng3n opened this issue ยท 10 comments

commented

The first error seems to happen when I log on the second seems to happen whenever I open a changed frame.

1x Interface_TBC\FrameXML\UIParent.lua:2208: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: FriendsFrame:SetPoint.
[string "=[C]"]: in function SetPoint' [string "@Interface_TBC\FrameXML\UIParent.lua"]:2208: in function UpdateUIPanelPositions'
[string "@Interface_TBC\FrameXML\UIParent.lua"]:1829: in function <Interface_TBC\FrameXML\UIParent.lua:1818>
[string "=[C]"]: in function SetAttribute' [string "@Interface_TBC\FrameXML\UIParent.lua"]:2839: in function <Interface_TBC\FrameXML\UIParent.lua:2837> [string "=[C]"]: in function securecall'
[string "@Interface_TBC\FrameXML\UIParent.lua"]:2105: in function SetUIPanel' [string "@Interface_TBC\FrameXML\UIParent.lua"]:1954: in function ShowUIPanel'
[string "@Interface_TBC\FrameXML\UIParent.lua"]:1822: in function <Interface_TBC\FrameXML\UIParent.lua:1818>
[string "=[C]"]: in function SetAttribute' [string "@Interface_TBC\FrameXML\UIParent.lua"]:2596: in function ShowUIPanel'
[string "@Interface_TBC\FrameXML\FriendsFrame.lua"]:1180: in function `ToggleFriendsFrame'
[string "TOGGLEGUILDTAB"]:1: in function <[string "TOGGLEGUILDTAB"]:1>

Locals:
(*temporary) = FriendsFrame {
0 =
TitleText = FriendsFrameTitleText {
}
portrait = FriendsFramePortrait {
}
LeftBorder = FriendsFrameLeftBorder {
}
DriftModifiable = true
backdrop = {
}
selectedFriend = 1
FriendsTabHeader = FriendsTabHeader {
}
DriftSticky = true
TopRightCorner = FriendsFrameTopRightCorner {
}
TopLeftCorner = FriendsFrameTopLeftCorner {
}
Bg = FriendsFrameBg {
}
playerStatusFrame = 1
guildStatus = 0
TopBorder = FriendsFrameTopBorder {
}
selectedIgnore = 1
TopTileStreaks = FriendsFrameTopTileStreaks {
}
TitleBg = FriendsFrameTitleBg {
}
BottomBorder = FriendsFrameBottomBorder {
}
selectedSquelchType = 1
OnLoad = defined @SharedXML\SharedUIPanelTemplates.lua:857
numTabs = 4
BotRightCorner = FriendsFrameBotRightCorner {
}
Inset = FriendsFrameInset {
}
CloseButton = FriendsFrameCloseButton {
}
BotLeftCorner = FriendsFrameBotLeftCorner {
}
PortraitFrame = FriendsFramePortraitFrame {
}
selectedTab = 3
RightBorder = FriendsFrameRightBorder {
}
}
(*temporary) = "TOPLEFT"
(*temporary) = "UIParent"
(*temporary) = "TOPLEFT"
(*temporary) = 16
(*temporary) = -116

85x Drift\DriftHelpers.lua:258: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: FriendsFrame:SetPoint.
[string "=[C]"]: in function SetPoint' [string "@Drift\DriftHelpers.lua"]:258: in function <Drift\DriftHelpers.lua:232> [string "@Drift\DriftHelpers.lua"]:312: in function <Drift\DriftHelpers.lua:311> [string "=[C]"]: ? [string "=[C]"]: in function Show'
[string "@Interface_TBC\FrameXML\UIParent.lua"]:2109: in function SetUIPanel' [string "@Interface_TBC\FrameXML\UIParent.lua"]:1954: in function ShowUIPanel'
[string "@Interface_TBC\FrameXML\UIParent.lua"]:1822: in function <Interface_TBC\FrameXML\UIParent.lua:1818>
[string "=[C]"]: in function SetAttribute' [string "@Interface_TBC\FrameXML\UIParent.lua"]:2596: in function ShowUIPanel'
[string "@Interface_TBC\FrameXML\FriendsFrame.lua"]:1180: in function `ToggleFriendsFrame'
[string "TOGGLEGUILDTAB"]:1: in function <[string "TOGGLEGUILDTAB"]:1>

Locals:
(*temporary) = FriendsFrame {
0 =
TitleText = FriendsFrameTitleText {
}
portrait = FriendsFramePortrait {
}
LeftBorder = FriendsFrameLeftBorder {
}
playersInBotRank = 0
DriftSticky = true
DriftModifiable = true
backdrop = {
}
selectedFriend = 1
FriendsTabHeader = FriendsTabHeader {
}
selectedFriendType = 2
TopRightCorner = FriendsFrameTopRightCorner {
}
TopLeftCorner = FriendsFrameTopLeftCorner {
}
Bg = FriendsFrameBg {
}
playerStatusFrame = 1
guildStatus = 0
TopBorder = FriendsFrameTopBorder {
}
selectedIgnore = 1
TopTileStreaks = FriendsFrameTopTileStreaks {
}
TitleBg = FriendsFrameTitleBg {
}
BottomBorder = FriendsFrameBottomBorder {
}
selectedSquelchType = 1
OnLoad = defined @SharedXML\SharedUIPanelTemplates.lua:857
numTabs = 5
BotRightCorner = FriendsFrameBotRightCorner {
}
Inset = FriendsFrameInset {
}
CloseButton = FriendsFrameCloseButton {
}
BotLeftCorner = FriendsFrameBotLeftCorner {
}
PortraitFrame = FriendsFramePortraitFrame {
}
selectedTab = 3
RightBorder = FriendsFrameRightBorder {
}
}
(*temporary) = "CENTER"
(*temporary) = "UIParent"
(*temporary) = "CENTER"
(*temporary) = -600.287048
(*temporary) = 111.540108

commented

Hi @Teng3n - thanks for reporting this issue! Unfortunately, I was unable to reproduce these error messages. It is possible your interface got into a bad state. Can you do a couple things:

  1. Try to reset the interface. Instructions to reset the interface are here https://us.battle.net/support/en/article/7549
  2. Send me a screenshot of your Drift settings. For example, these are my settings:
    driftsettings

Let me know if resetting the interface removes the error messages. Thanks!

commented
commented

Interesting, thanks for the detail! If you let me know all the addons you are using, I can investigate as well.

commented
commented

Thanks for the repro steps! I will investigate.

commented

Hello again! I wanted to add something I hadn't noticed before but it's also happening with the 'CharaterSheet' window as well. Same issue as previously mentioned just not only happening on the social window

Drift\DriftHelpers.lua:258: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: CharacterFrame:SetPoint.
[string "=[C]"]: in function SetPoint' [string "@Drift\DriftHelpers.lua"]:258: in function <Drift\DriftHelpers.lua:232> [string "@Drift\DriftHelpers.lua"]:312: in function <Drift\DriftHelpers.lua:311> [string "=[C]"]: ? [string "=[C]"]: in function Show'
[string "@Interface_TBC\FrameXML\UIParent.lua"]:2109: in function SetUIPanel' [string "@Interface_TBC\FrameXML\UIParent.lua"]:1954: in function ShowUIPanel'
[string "@Interface_TBC\FrameXML\UIParent.lua"]:1822: in function <Interface_TBC\FrameXML\UIParent.lua:1818>
[string "=[C]"]: in function SetAttribute' [string "@Interface_TBC\FrameXML\UIParent.lua"]:2596: in function ShowUIPanel'
[string "@Interface_TBC\FrameXML\CharacterFrame.lua"]:23: in function `ToggleCharacter'
[string "TOGGLECHARACTER0"]:1: in function <[string "TOGGLECHARACTER0"]:1>

Locals:
(*temporary) = CharacterFrame {
0 =
numTabs = 5
DriftSticky = true
backdrop = {
}
selectedTab = 1
DriftModifiable = true
}
(*temporary) = "CENTER"
(*temporary) = "UIParent"
(*temporary) = "CENTER"
(*temporary) = -516.965576
(*temporary) = 74.942383

commented

I started to investigate this issue, and I am able to reproduce it with both the Social frame and the Character frame as you have described. Unfortunately, I am not quite sure why it's happening yet.

commented
commented

Hello @Teng3n - I was able to fix the errors on my end! Can you try the attached (modified) version of Drift and let me know if the errors are fixed for you as well?
drift-v1.1.1-bcc.zip

commented

I released this fix in v1.1.2.