WeakAuras

WeakAuras

206M Downloads

SetPoint lua error on profiling

Acrivec opened this issue ยท 5 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

I've turned on profiling during Superseed to see why I have 11 FPS on my computer.
After /wa pstop I could not send /wa pprint. Checked buggrabber, this was there.
And amount increased each time I tried hitting enter. (hitting enter would not 'send' the command, it stayed in the input field active'

Code block collapsed, click to show
14x WeakAuras/Profiling.lua:402: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: WeakAurasProfilingReport:SetPoint.
[string "=[C]"]: in function `SetPoint'
[string "@WeakAuras/Profiling.lua"]:402: in function `PrintProfile'
[string "@WeakAuras/WeakAuras.lua"]:187: in function `?'
[string "@FrameXML/ChatFrame.lua"]:5291: in function <FrameXML/ChatFrame.lua:5237>
[string "=[C]"]: ?
[string "=[C]"]: in function `ChatEdit_ParseText'
[string "@FrameXML/ChatFrame.lua"]:4948: in function <FrameXML/ChatFrame.lua:4947>
[string "=[C]"]: in function `ChatEdit_SendText'
[string "@FrameXML/ChatFrame.lua"]:4984: in function <FrameXML/ChatFrame.lua:4980>
[string "=[C]"]: in function `ChatEdit_OnEnterPressed'
[string "*ChatFrame.xml:141_OnEnterPressed"]:1: in function <[string "*ChatFrame.xml:141_OnEnterPressed"]:1>

Locals:
(*temporary) = WeakAurasProfilingReport {
 0 = <userdata>
 GetPortrait = <function> defined @SharedXML/PortraitFrame.lua:63
 SetBorder = <function> defined @SharedXML/PortraitFrame.lua:67
 layoutType = "PortraitFrameTemplate"
 AddText = <function> defined @WeakAuras/Profiling.lua:107
 SetPortraitShown = <function> defined @SharedXML/PortraitFrame.lua:102
 SetFrameLevelsFromBaseLevel = <function> defined @SharedXML/PortraitFrame.lua:120
 SetPortraitToBag = <function> defined @SharedXML/PortraitFrame.lua:80
 SetPortraitAtlasRaw = <function> defined @SharedXML/PortraitFrame.lua:88
 SetPortraitToUnit = <function> defined @SharedXML/PortraitFrame.lua:76
 messageFrame = EditBox {
 }
 SetPortraitTexCoord = <function> defined @SharedXML/PortraitFrame.lua:98
 PortraitContainer = Frame {
 }
 SetPortraitTextureRaw = <function> defined @SharedXML/PortraitFrame.lua:84
 SetTitleFormatted = <function> defined @SharedXML/PortraitFrame.lua:40
 SetPortraitToClassIcon = <function> defined @SharedXML/PortraitFrame.lua:92
 TopTileStreaks = Texture {
 }
 Bg = WeakAurasProfilingReportBg {
 }
 TitleContainer = Frame {
 }
 SetPortraitToAsset = <function> defined @SharedXML/PortraitFrame.lua:72
 SetTitleMaxLinesAndHeight = <function> defined @SharedXML/PortraitFrame.lua:49
 SetTitleColor = <function> defined @SharedXML/PortraitFrame.lua:32
 CloseButton = WeakAurasProfilingReportCloseButton {
 }
 NineSlice = Frame {
 }
 GetTitleText = <function> defined @SharedXML/PortraitFrame.lua:28
 SetTitleOffsets = <function> defined @SharedXML/PortraitFrame.lua:54
 SetTitle = <function> defined @SharedXML/PortraitFrame.lua:36
 SetPortraitTextureSizeAndOffset = <function> defined @SharedXML/PortraitFrame.lua:106
}
(*temporary) = "TOPLEFT"
(*temporary) = UIParent {
 0 = <userdata>
 SetScale = <function> defined =[C]:-1
 PixelSnapDisabled = true
 firstTimeLoaded = 1
 Show = <function> defined =[C]:-1
 Tabs = <table> {
 }
 variablesLoaded = true
 SetAlpha = <function> defined =[C]:-1
 Hide = <function> defined =[C]:-1
}
(*temporary) = "TOPLEFT"
(*temporary) = 977.000183
(*temporary) = -120.499878

WeakAuras Version

5.10.1

World of Warcraft Flavor

Retail (Default)

World of Warcraft Region

US/NA

Tested with only WeakAuras

  • Yes

Lua Error

No response

Reproduction Steps

Described what I did in first field.

Last Good Version

No response

Screenshots

No response

Export String

No response

commented

No response from reporter.

commented

That doesn't answer the queston I asked. Can you reproduce it everytime, or easily?

commented

Just got it again, /wa pprint was correct when I was still in Ashran BG. After quitting the battleground and doing /wa pprint again this error.

Code block collapsed, click to show
23x WeakAuras/Profiling.lua:402: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: WeakAurasProfilingReport:SetPoint.
[string "=[C]"]: in function `SetPoint'
[string "@WeakAuras/Profiling.lua"]:402: in function `PrintProfile'
[string "@WeakAuras/WeakAuras.lua"]:187: in function `?'
[string "@FrameXML/ChatFrame.lua"]:5291: in function <FrameXML/ChatFrame.lua:5237>
[string "=[C]"]: ?
[string "=[C]"]: in function `ChatEdit_ParseText'
[string "@FrameXML/ChatFrame.lua"]:4948: in function <FrameXML/ChatFrame.lua:4947>
[string "=[C]"]: in function `ChatEdit_SendText'
[string "@FrameXML/ChatFrame.lua"]:4984: in function <FrameXML/ChatFrame.lua:4980>
[string "=[C]"]: in function `ChatEdit_OnEnterPressed'
[string "*ChatFrame.xml:141_OnEnterPressed"]:1: in function <[string "*ChatFrame.xml:141_OnEnterPressed"]:1>

Locals:
(*temporary) = WeakAurasProfilingReport {
 0 = <userdata>
 GetPortrait = <function> defined @SharedXML/PortraitFrame.lua:63
 SetBorder = <function> defined @SharedXML/PortraitFrame.lua:67
 layoutType = "PortraitFrameTemplate"
 AddText = <function> defined @WeakAuras/Profiling.lua:107
 SetPortraitShown = <function> defined @SharedXML/PortraitFrame.lua:102
 SetFrameLevelsFromBaseLevel = <function> defined @SharedXML/PortraitFrame.lua:120
 SetPortraitToBag = <function> defined @SharedXML/PortraitFrame.lua:80
 SetPortraitAtlasRaw = <function> defined @SharedXML/PortraitFrame.lua:88
 SetPortraitToUnit = <function> defined @SharedXML/PortraitFrame.lua:76
 messageFrame = EditBox {
 }
 SetPortraitTexCoord = <function> defined @SharedXML/PortraitFrame.lua:98
 PortraitContainer = Frame {
 }
 SetPortraitTextureRaw = <function> defined @SharedXML/PortraitFrame.lua:84
 SetTitleFormatted = <function> defined @SharedXML/PortraitFrame.lua:40
 SetPortraitToClassIcon = <function> defined @SharedXML/PortraitFrame.lua:92
 TopTileStreaks = Texture {
 }
 Bg = WeakAurasProfilingReportBg {
 }
 TitleContainer = Frame {
 }
 SetPortraitToAsset = <function> defined @SharedXML/PortraitFrame.lua:72
 SetTitleMaxLinesAndHeight = <function> defined @SharedXML/PortraitFrame.lua:49
 SetTitleColor = <function> defined @SharedXML/PortraitFrame.lua:32
 CloseButton = WeakAurasProfilingReportCloseButton {
 }
 NineSlice = Frame {
 }
 GetTitleText = <function> defined @SharedXML/PortraitFrame.lua:28
 SetTitleOffsets = <function> defined @SharedXML/PortraitFrame.lua:54
 SetTitle = <function> defined @SharedXML/PortraitFrame.lua:36
 SetPortraitTextureSizeAndOffset = <function> defined @SharedXML/PortraitFrame.lua:106
}
(*temporary) = "TOPLEFT"
(*temporary) = UIParent {
 0 = <userdata>
 SetScale = <function> defined =[C]:-1
 PixelSnapDisabled = true
 firstTimeLoaded = 1
 Show = <function> defined =[C]:-1
 Tabs = <table> {
 }
 variablesLoaded = true
 SetAlpha = <function> defined =[C]:-1
 Hide = <function> defined =[C]:-1
}
(*temporary) = "TOPLEFT"
(*temporary) = 977.000183
(*temporary) = -120.499878
commented

I suspect that you have a addon installed that skins WeakAuras and does so in an incorrect way. The only way to debug that would be if you can reproduce it and disable other addons.

commented

Can you reproduce that everytime?