Hello everyone, I have just started using OUF, and moved away from ElvUi. I have a strange issue when I right click on a target other than myself. ie if i click my frame to make me the target and I right click no errors, but if I make another player or NPC the target and I right click I get this error in bug sack. So I dont know if I have done something wrong or what. I have gotten the latest oUF release from p3lim's github.
I started by using oUF_lumen, I have tried oUF _Karma, oUF_Simple.
If i'm the target I can right click and get the drop down box for set focus, loot spec etc. Right click anyone other than myself I get this error in bugsack.
Code:
8x FrameXML\UnitPopup.lua:604: attempt to index local 'cntButton' (a nil value)
FrameXML\UnitPopup.lua:604: in function <FrameXML\UnitPopup.lua:270>
[C]: in function `UnitPopup_ShowMenu'
FrameXML\SecureTemplates.lua:237: in function `initFunction'
FrameXML\UIDropDownMenu.lua:69: in function `UIDropDownMenu_Initialize'
FrameXML\UIDropDownMenu.lua:937: in function <FrameXML\UIDropDownMenu.lua:802>
[C]: in function `ToggleDropDownMenu'
FrameXML\SecureTemplates.lua:309: in function `handler'
FrameXML\SecureTemplates.lua:619: in function `SecureActionButton_OnClick'
FrameXML\SecureTemplates.lua:659: in function <FrameXML\SecureTemplates.lua:651>
Locals:
dropdownMenu = SecureTemplatesDropdown {
0 = <userdata>
openedFor = oUF_karmaTarget {
}
Text = SecureTemplatesDropdownText {
}
selectedLootThreshold = "Uncommon"
unit = "target"
selectedLootMethod = "Loot: Personal"
displayMode = "MENU"
name = "Nikovera"
initialize = <function> defined @FrameXML\SecureTemplates.lua:196
Button = SecureTemplatesDropdownButton {
}
server = "Gnomeregan"
Icon = SecureTemplatesDropdownIcon {
}
which = "PLAYER"
}
which = "PLAYER"
unit = "target"
name = "Nikovera"
userData = nil
server = "Gnomeregan"
count = 12
inParty = false
inInstance = false
instanceType = "none"
isLeader = false
showLootOptions = false
lootOption = nil
toggleDifficultyID = nil
_ = "Broken Isles"
instanceType = "none"
instanceDifficultyID = 0
_ = ""
_ = 5
_ = 0
isDynamicInstance = false
inPublicParty = false
specPopupButton = <table> {
specializationID = -1
text = "spec4"
checkable = 1
dist = 0
}
specIndex = 1
sex = 2
info = <table> {
isUninteractable = true
dist = 0
notCheckable = true
func = <function> defined =[C]:-1
value = "CANCEL"
tSizeX = 0
tSizeY = 8
text = "Cancel"
tFitDropDownSizeX = true
tooltipTitle = "Cancel"
}
color = nil
icon = nil
tooltipText = nil
subsectionTitleValue = nil
subsectionTitleIndex = nil
previousWasSubsectionTitle = false
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
1 = "RAID_TARGET_ICON"
2 = "SET_FOCUS"
3 = "ADD_FRIEND"
4 = "ADD_FRIEND_MENU"
5 = "INTERACT_SUBSECTION_TITLE"
6 = "RAF_SUMMON"
7 = "RAF_GRANT_LEVEL"
8 = "INVITE"
9 = "SUGGEST_INVITE"
10 = "REQUEST_INVITE"
11 = "WHISPER"
12 = "INSPECT"
13 = "ACHIEVEMENTS"
14 = "TRADE"
15 = "FOLLOW"
16 = "DUEL"
17 = "PET_BATTLE_PVP_DUEL"
18 = "OTHER_SUBSECTION_TITLE"
19 = "MOVE_PLAYER_FRAME"
20 = "MOVE_TARGET_FRAME"
21 = "REPORT_PLAYER"
22 = "CANCEL"
23 = "SUBSECTION_SEPARATOR"
24 = "SWARM_MENU_BUTTON"
25 = "SUBSECTION_SEPARATOR"
}
(for control) = 23
index = 23
value = "SUBSECTION_SEPARATOR"
cntButton = nil
(*temporary) = 1
(*temporary) = "SUBSECTION_SEPARATOR"
(*temporary) = SecureTemplatesDropdown {
0 = <userdata>
openedFor = oUF_karmaTarget {
}
Text = SecureTemplatesDropdownText {
}
selectedLootThreshold = "Uncommon"
unit = "target"
selectedLootMethod = "Loot: Personal"
displayMode = "MENU"
name = "Nikovera"
initialize = <function> defined @FrameXML\SecureTemplates.lua:196
Button = SecureTemplatesDropdownButton {
}
server = "Gnomeregan"
Icon = SecureTemplatesDropdownIcon {
}
which = "PLAYER"
}
(*temporary) = <table> {
space = 1
text = "Cancel"
dist = 0
}
(*temporary) = "CANCEL"
(*temporary) = "attempt to index local 'cntButton' (a nil value)"
So I don't know if I have done something wrong but since it does it on several different oUF Frames I wasn't sure.