nickbock / ElvUI_Enhanced_Again

https://www.curseforge.com/wow/addons/elvui-enhanced-again
MIT License
11 stars 13 forks source link

SetPoint Error (similar to one reported in #137 #144

Open tpsaunders opened 1 year ago

tpsaunders commented 1 year ago

ElvUI ver: 13.10 ElvUI EA ver: 4.1.3

Immediately after updating to ElvUI v 13.10, the following error pops up. The location bar is once again in the middle of the screen. Disabling the minimap functionality of Enhanced Again stops the error

Error Message: ...dOns/ElvUI_Enhanced/modules/maps/minimaplocation.lua:113: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: EnhancedLocationPanel:SetPoint.

Stack: ...dOns/ElvUI_Enhanced/modules/maps/minimaplocation.lua:113: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: EnhancedLocationPanel:SetPoint.

string "=[C]": in function SetPoint' [string "@Interface/AddOns/ElvUI_Enhanced/modules/maps/minimaplocation.lua"]:113: in functionCreateFrame' [string "@Interface/AddOns/ElvUI_Enhanced/modules/maps/minimaplocation.lua"]:146: in function `Initialize' [string "@Interface/AddOns/ElvUI_Enhanced/modules/maps/o_minimap.lua"]:26: in function <...ace/AddOns/ElvUI_Enhanced/modules/maps/o_minimap.lua:23> [string "@Interface/AddOns/ElvUI_Enhanced/modules/maps/o_minimap.lua"]:72: in function <...ace/AddOns/ElvUI_Enhanced/modules/maps/o_minimap.lua:72>

[string "@Interface/AddOns/ElvUI_Libraries/Core/Ace3/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua"]:45: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:43> [string "@Interface/AddOns/ElvUI_Libraries/Core/Ace3/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua"]:860: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:682>

[string "@Interface/AddOns/ElvUI_Libraries/Core/Ace3/AceGUI-3.0/AceGUI-3.0.lua"]:66: in function <.../ElvUI_Libraries/Core/Ace3/AceGUI-3.0/AceGUI-3.0.lua:64> [string "@Interface/AddOns/ElvUI_Libraries/Core/Ace3/AceGUI-3.0/AceGUI-3.0.lua"]:300: in function `Fire' [string "@Interface/AddOns/ElvUI_Libraries/Core/Ace3/AceGUI-3.0/widgets/AceGUIWidget-CheckBox.lua"]:64: in function <...re/Ace3/AceGUI-3.0/widgets/AceGUIWidget-CheckBox.lua:53>

Locals:

tpsaunders commented 1 year ago

Not identical, but similar to this comment on #137

skupfer commented 1 year ago

Workaround1: Disable ElvUI Enhanced -> Minimap Coordinates Workaround2: Create new profile and setup everything again (is my ElvUI Profile broken?)

Formatted

2x ...dOns/ElvUI_Enhanced/modules/maps/minimaplocation.lua:113: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: EnhancedLocationPanel:SetPoint.
[string "=[C]"]: in function `SetPoint'
[string "@ElvUI_Enhanced/modules/maps/minimaplocation.lua"]:113: in function `CreateFrame'
[string "@ElvUI_Enhanced/modules/maps/minimaplocation.lua"]:146: in function <...dOns/ElvUI_Enhanced/modules/maps/minimaplocation.lua:144>
[string "=[C]"]: ?
[string "@ElvUI/Core/General/Core.lua"]:1794: in function `CallLoadFunc'
[string "@ElvUI/Core/General/Core.lua"]:1809: in function `CallLoadedModule'
[string "@ElvUI/Core/General/Core.lua"]:1835: in function `InitializeModules'
[string "@ElvUI/Core/General/Core.lua"]:1944: in function `Initialize'
[string "@ElvUI/Core/init.lua"]:222: in function <ElvUI/Core/init.lua:221>
[string "=[C]"]: ?
[string "@ElvUI_Libraries/Core/Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <...UI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@ElvUI_Libraries/Core/Ace3/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function `EnableAddon'
...
[string "@FrameXML/UIParent.lua"]:741: in function `MajorFactions_LoadUI'
[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:100: in function `SetUpMajorFactionList'
[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:93: in function `RefreshMajorFactionList'
[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:88: in function `RefreshOverlay'
[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:80: in function <...sionLandingPage/Blizzard_DragonflightLandingPage.lua:76>
[string "=[C]"]: ?
[string "=[C]"]: in function `CreateFrame'
[string "@Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:49: in function `CreateOverlay'
[string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:63: in function `RefreshExpansionOverlay'
[string "@Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:35: in function <...pansionLandingPage/Blizzard_ExpansionLandingPage.lua:33>
dakhran commented 1 year ago

I had the same issue, but was able to fix with a simple one-line change on line 112:

local holder = M.MapHolder

Hope that helps!

tpsaunders commented 1 year ago

@dakhran That did the trick, thank you so much

nickbock commented 1 year ago

Sorry for the long wait. This should be fixed in 4.14.

tpsaunders commented 1 year ago

@nickbock It's all good, I know all devs are exceptionally busy at expansion release time. Appreciate you getting it fixed.

The comment from Dakhran fixed it up for me.