Originally Posted by Phanx
I think you may have made an error in applying the corrections, as line 509 in NameViolation.lua does not reference dropdownFrame. I'll try to test tomorrow.
|
I was having issues with Notepad++ I'll start over and try to apply the corrections again and see if that's it.
Here is the latest attempt I replaces the name I used with asdfg:
Message: Interface\FrameXML\UnitPopup.lua:1218: attempt to index local 'self' (a nil value)
Time: 12/16/10 16:32:40
Count: 4
Stack: Interface\FrameXML\UnitPopup.lua:1218: in function <Interface\FrameXML\UnitPopup.lua:1216>
Interface\AddOns\NameViolation\NameViolation.lua:493: in function `func'
Interface\FrameXML\UIDropDownMenu.lua:636: in function `UIDropDownMenuButton_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>
Locals: self = nil
dropdownFrame = TargetFrameDropDown {
0 = <userdata>
unit = "target"
displayMode = "MENU"
name = "asdfg"
initialize = <function> defined @Interface\FrameXML\TargetFrame.lua:672
selectedLootMethod = "Loot: Group Loot"
selectedLootThreshold = "Uncommon"
which = "NAME_VIOLATION"
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'self' (a nil value)"