WeakAuras

WeakAuras

206M Downloads

TSU Progress Bar with model, would result in anchor family connection

Surarn opened this issue ยท 2 comments

commented

Description

1x WeakAuras/SubRegionTypes/Model.lua:251: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: Frame:SetPoint.

Using model on a progress bar. Model is only shown when boolean value in allstates is true, done using conditions.

WeakAuras Version

WeakAuras 5.3.6

World of Warcraft Flavor

Retail (Default)

Tested with only WeakAuras

  • Yes
  • No

Lua Error

1x WeakAuras/SubRegionTypes/Model.lua:251: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: Frame:SetPoint.
[string "=[C]"]: in function `SetPoint'
[string "@WeakAuras/SubRegionTypes/Model.lua"]:251: in function `modify'
[string "@WeakAuras/RegionTypes/RegionPrototype.lua"]:579: in function `modifyFinish'
[string "@WeakAuras/RegionTypes/AuraBar.lua"]:1408: in function `modify'
[string "@WeakAuras/WeakAuras.lua"]:3114: in function `SetRegion'
[string "@WeakAuras/WeakAuras.lua"]:3151: in function <WeakAuras/WeakAuras.lua:3147>
[string "=(tail call)"]: ?
[string "@WeakAuras/WeakAuras.lua"]:4336: in function <WeakAuras/WeakAuras.lua:4324>
[string "@WeakAuras/WeakAuras.lua"]:4472: in function `UpdatedTriggerState'
[string "@WeakAuras/GenericTrigger.lua"]:764: in function `ScanEventsInternal'
[string "@WeakAuras/GenericTrigger.lua"]:720: in function `ScanEvents'
[string "@WeakAuras/GenericTrigger.lua"]:893: in function <WeakAuras/GenericTrigger.lua:878>

Locals:
(*temporary) = Frame {
 OnSizeChanged = <function> defined @WeakAuras/SubRegionTypes/Model.lua:189
 type = "submodel"
 toosmall = false
 parent_visible = false
 parent = Frame {
 }
 visible = false
 PreHide = <function> defined @WeakAuras/SubRegionTypes/Model.lua:185
 PreShow = <function> defined @WeakAuras/SubRegionTypes/Model.lua:181
 SetAlpha = <function> defined @WeakAuras/SubRegionTypes/Model.lua:157
 SetVisible = <function> defined @WeakAuras/SubRegionTypes/Model.lua:153
 alpha = 0.700000
 parentType = "aurabar"
 UpdateVisible = <function> defined @WeakAuras/SubRegionTypes/Model.lua:166
 data = <table> {
 }
 0 = <userdata>
 AlphaChanged = <function> defined @WeakAuras/SubRegionTypes/Model.lua:163
}
(*temporary) = "TOPLEFT"
(*temporary) = Frame {
 OnSizeChanged = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:441
 GetAdditionalBarsInverse = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:490
 directionInverse = false
 GetTexCoord = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:204
 GetOrientation = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:522
 SetMinMaxSmoothedValue = <function> defined @SharedXML/SmoothStatusBar.lua:45
 UpdateAdditionalBars = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:319
 fg = Texture {
 }
 SetOrientation = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:511
 value = 1
 SetAdditionalBarsInverse = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:494
 bg = Texture {
 }
 additionalBarsMin = 0
 SetForegroundColor = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:552
 extraTextures = <table> {
 }
 max = 1
 totalWidth = 300
 fgMask = MaskTexture {
 }
 GetRealSize = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:597
 iconHeight = 40
 additionalBarsMax = 1
 horizontal = true
 alignSpark = "RIGHT"
 0 = <userdata>
 SetAdditionalBars = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:479
 GetTexture = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:575
 UpdateProgress = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:288
 ResetSmoothedValue = <function> defined @SharedXML/SmoothStatusBar.lua:31
 UpdateAnchors = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:245
 Update = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:434
 rotate = true
 SetVertexColor = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:579
 SetBackgroundColor = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:566
 additionalBarsInverse = false
 additionalBarsTextures = <table> {
 }
 align2 = "BOTTOMLEFT"
 additionalBarsColors = <table> {
 }
 SetStatusBarTexture = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:539
 iconWidth = 40
 totalHeight = 40
 GetValue = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:506
 spark = Texture {
 }
 SetTexture = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:571
 SetSmoothedValue = <function> defined @SharedXML/SmoothStatusBar.lua:41
 GetRotatesTexture = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:534
 SetValue = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:471
 SetAdditionalBarColor = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:499
 min = 0
 SetRotatesTexture = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:527
 GetStatusBarTexture = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:547
 GetMinMaxValues = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:466
 orientation = "HORIZONTAL"
 SetMinMaxValues = <function> defined @WeakAuras/RegionTypes/AuraBar.lua:

Reproduction Steps

The aura is triggered when you recieve loot in m+/raid/some world content.

F.e looting any of the professions specific items that grant 1 knowledge or the disenchanting items.

Last Good Version

No response

Screenshots

No response

Export String

https://wago.io/loNlRKhcV/1.1.3
commented

I cannot reproduce that with the WA. Though I had to edit your aura to make the condition always true, as obviously otherwise it would require looting a socketed item.

When you reproduced the error, you undoubtely had several auras/addons loaded.

You need to figure out what the minimal reproductions steps are and see that it actually reproduces with that minimal setup.

commented

Edited the weakaura to not contain model for now, important to download version https://wago.io/loNlRKhcV/1.1.3 if testing