Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lua error #4

Open
Meilinn opened this issue Aug 6, 2024 · 6 comments
Open

Lua error #4

Meilinn opened this issue Aug 6, 2024 · 6 comments

Comments

@Meilinn
Copy link

Meilinn commented Aug 6, 2024

I get this error every time I click something from the Outfitter menu. Thank you

Message: ...tter/Libraries/MC2UIElementsLib/MC2UIElementsLib.lua:1422: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: LibDropdownFrame0:SetPoint.

Time: Wed Jul 31 08:54:31 2024

Count: 1

Stack: ...tter/Libraries/MC2UIElementsLib/MC2UIElementsLib.lua:1422: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: LibDropdownFrame0:SetPoint.

[string "@Interface/AddOns/Outfitter/Libraries/MC2UIElementsLib/MC2UIElementsLib.lua"]:1422: in function `Show'

[string "@Interface/AddOns/Outfitter/Libraries/MC2UIElementsLib/MC2UIElementsLib.lua"]:1558: in function `ToggleMenu'

[string "@Interface/AddOns/Outfitter/Libraries/MC2UIElementsLib/MC2UIElementsLib.lua"]:1504: in function <...tter/Libraries/MC2UIElementsLib/MC2UIElementsLib.lua:1503>

Locals: self =

{

menuFrame = LibDropdownFrame0 {

}

}

items =

{

type = "group"

args =

{

}

}

point = "TOPLEFT"

relativeTo = OutfitterItem3OutfitMenu {

point = "TOPLEFT"

xOffset = 0

AutoSelectValue = true

Icon = OutfitterItem3OutfitMenuIcon {

}

relativeTo = OutfitterItem3OutfitMenu {

}

dropDownMenu =

{

}

yOffset = 3

relativePoint = "TOPRIGHT"

ParentItem = OutfitterItem3 {

}

AnchorPoint = "TOPLEFT"

items =

{

}

AnchorRelativePoint = "TOPRIGHT"

Button = Button {

}

}

relativePoint = "TOPRIGHT"

xOffset = 0

yOffset = 3

thank you

@nulian
Copy link
Owner

nulian commented Aug 6, 2024

I'm going to put up a new version of outfitter with updated version of libdropdown if you can say if that solves it for you. It at least makes outfitter use the same version as all other addons and I don't really see a side effect.

@Meilinn
Copy link
Author

Meilinn commented Aug 6, 2024

I've just downloaded the new version and the error is still there. ty

Message: ...tter/Libraries/MC2UIElementsLib/MC2UIElementsLib.lua:1422: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: LibDropdownFrame0:SetPoint.
Time: Tue Aug 6 19:43:55 2024
Count: 1
Stack: ...tter/Libraries/MC2UIElementsLib/MC2UIElementsLib.lua:1422: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: LibDropdownFrame0:SetPoint.
[string "@Interface/AddOns/Outfitter/Libraries/MC2UIElementsLib/MC2UIElementsLib.lua"]:1422: in function Show' [string "@Interface/AddOns/Outfitter/Libraries/MC2UIElementsLib/MC2UIElementsLib.lua"]:1558: in function ToggleMenu'
[string "@Interface/AddOns/Outfitter/Libraries/MC2UIElementsLib/MC2UIElementsLib.lua"]:1504: in function <...tter/Libraries/MC2UIElementsLib/MC2UIElementsLib.lua:1503>

Locals: self =

{
menuFrame = LibDropdownFrame0 {
}
}
items =
{
type = "group"
args =
{
}
}
point = "TOPLEFT"
relativeTo = OutfitterItem2OutfitMenu {
point = "TOPLEFT"
xOffset = 0
AutoSelectValue = true
Icon = OutfitterItem2OutfitMenuIcon {
}
relativeTo = OutfitterItem2OutfitMenu {
}
dropDownMenu =
{
}
yOffset = 3
relativePoint = "TOPRIGHT"
ParentItem = OutfitterItem2 {
}
AnchorPoint = "TOPLEFT"
items =
{
}
AnchorRelativePoint = "TOPRIGHT"
Button = Button {
}
}
relativePoint = "TOPRIGHT"
xOffset = 0
yOffset = 3

@nulian
Copy link
Owner

nulian commented Aug 6, 2024

It's probably caused by another addon. Things that can move interface elements freely addons are high chance of causing this. So testing without other addons would be nice.
Did see some fix weakauras addon used for this in the past but would be nice to know how I can reproduce this myself. With knowing which addon this interaction happens with would be nice.

@Meilinn
Copy link
Author

Meilinn commented Aug 7, 2024

I'll try to find the culprit, I don't use Weakauras addon.

EDIT: Found it! DeModal addon. I just found another addon that works the same without causing errors. Thank you so much

@b-morgan
Copy link

b-morgan commented Aug 9, 2024

@Meilinn Which other addon?

@Meilinn
Copy link
Author

Meilinn commented Aug 9, 2024

@b-morgan BlizzMove

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants