Lua error [Classic ERA]
waytoomuchgaming opened this issue ยท 10 comments
Bug description
While overring titan panel questie button.
Questie version
Which version of Questie are you using? You can find it by:
6.3.11
2x ...Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1457: attempt to index field '?' (a nil value)
...Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1457: in function `ToggleDropDownMenu'
...Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:233: in function <...Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:228>
...Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:324: in function <...Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:323>
Locals:
self =
UIDropDownMenu_SetButtonText = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1715
UIDropDownMenu_HandleGlobalMouseEvent = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1584
UIDropDownMenu_SetAnchor = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1674
Create_UIDropDownMenu = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:575
UIDropDownMenu_SetButtonWidth = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1619
UIDropDownMenu_DisableButton = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1707
ColorPicker_GetPreviousValues = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1783
ToggleDropDownMenu = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1329
UIDropDownCustomMenuEntryMixin =
}
UIDropDownMenuButton_OpenColorPicker = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1698
UIDropDownMenu_Refresh = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1158
Create_UIDropDownCustomMenuEntry = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1877
UIDropDownMenu_AddSeparator = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:730
UIDropDownMenu_Initialize = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:589
UIDropDownMenu_SetSelectedName = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1272
EasyMenu = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1939
UIDropDownMenu_GetValue = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1760
LargeDropDownMenuButtonMixin =
}
UIDropDownMenu_GetText = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1634
UIDropDownMenu_RefreshAll = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1241
UIDropDownMenu_SetInitializeFunction = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:613
EasyMenu_Initialize = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1947
OpenColorPicker = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1770
UIDropDownMenu_RegisterCustomFrame = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1099
UIDropDownMenu_GetSelectedID = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1298
UIDropDownMenu_SetDisplayMode = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:617
UIDropDownMenu_EnableDropDown = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1744
UIDropDownMenu_DisableDropDown = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1732
UIDropDownMenu_SetButtonClickable = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1728
UIDropDownMenu_SetButtonNotClickable = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1724
UIDropDownMenu_SetSelectedID = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1287
HideDropDownMenu = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1324
UIDropDownMenuButton_GetChecked = defined @Questie\Libs\LibUIDropDownMenu\LibUIDropDownMenu.lua:1690
DropDownExpandArrowMixin =
}
UIDropDownMenu_GetSelectedValue = defined
Please update to v6.3.12 and report if that helps @Altoholic
i still got errors about LibUIDropDownMenu, but now there's no mention of Questie in it.
it always happen when overring Titan drop down menus.
66x TBag\LibUIDropDownMenu\LibUIDropDownMenu.lua:1411: attempt to index field '?' (a nil value)
TBag\LibUIDropDownMenu\LibUIDropDownMenu.lua:1411: in function L_ToggleDropDownMenu' TBag\LibUIDropDownMenu\LibUIDropDownMenu.lua:553: in function
L_UIDropDownMenuButton_OnEnter'
TBag\LibUIDropDownMenu\LibUIDropDownMenu.lua:190: in function <TBag\LibUIDropDownMenu\LibUIDropDownMenu.lua:189>
Locals:
level = 3
value = "BugSack"
dropDownFrame = Titan_Bar__Display_BarRightClickMenu {
0 =
point = "TOPLEFT"
Right = Titan_Bar__Display_BarRightClickMenuRight {
}
Left = Titan_Bar__Display_BarRightClickMenuLeft {
}
displayMode = "MENU"
relativePoint = "BOTTOMLEFT"
initialize = defined @TitanClassic\TitanPanelClassic.lua:2108
Button = Titan_Bar__Display_BarRightClickMenuButton {
}
Icon = Titan_Bar__Display_BarRightClickMenuIcon {
}
Middle = Titan_Bar__Display_BarRightClickMenuMiddle {
}
Text = Titan_Bar__Display_BarRightClickMenuText {
}
}
anchorName = nil
xOffset = nil
yOffset = nil
menuList = nil
button = L_DropDownList2Button2 {
0 =
hasArrow = 1
checked = 1
invisibleButton = L_DropDownList2Button2InvisibleButton {
}
func = defined @TitanClassic\TitanPanelClassic.lua:2090
Highlight = L_DropDownList2Button2Highlight {
}
ExpandArrow = L_DropDownList2Button2ExpandArrow {
}
ColorSwatch = L_DropDownList2Button2ColorSwatch {
}
UnCheck = L_DropDownList2Button2UnCheck {
}
value = "BugSack"
keepShownOnClick = 1
Icon = L_DropDownList2Button2Icon {
}
Check = L_DropDownList2Button2Check {
}
}
autoHideDelay = nil
listFrameName = "L_DropDownList3"
listFrame = L_DropDownList3 {
0 =
parentLevel = 2
Button1 = L_DropDownList3Button1 {
}
MenuBackdrop = L_DropDownList3MenuBackdrop {
}
Border = L_DropDownList3Border {
}
maxWidth = 131.897408
dropdown = Titan_Bar__Display_BarRightClickMenu {
}
parentID = 1
shouldRefresh = false
numButtons = 5
parent = L_DropDownList2 {
}
}
tempFrame = L_DropDownList2 {
0 =
parentLevel = 1
Button1 = L_DropDownList2Button1 {
}
MenuBackdrop = L_DropDownList2MenuBackdrop {
}
Border = L_DropDownList2Border {
}
maxWidth = 183.470078
dropdown = Titan_Bar__Display_BarRightClickMenu {
}
parentID = 5
shouldRefresh = false
parent = L_DropDownList1 {
}
numButtons = 10
Backdrop = L_DropDownList2Backdrop {
}
}
point = "TOPLEFT"
relativePoint = "TOPRIGHT"
relativeTo = nil
uiScale = 0.650000
uiParentScale = 0.650000
anchorFrame = L_DropDownList2Button2 {
0 =
hasArrow = 1
checked = 1
invisibleButton = L_DropDownList2Button2InvisibleButton {
}
func = defined @TitanClassic\TitanPanelClassic.lua:2090
Highlight = L_DropDownList2Button2Highlight {
}
ExpandArrow = L_DropDownList2Button2ExpandArrow {
}
ColorSwatch = L_DropDownList2Button2ColorSwatch {
}
UnCheck = L_DropDownList2Button2UnCheck {
}
value = "BugSack"
keepShownOnClick = 1
Icon = L_DropDownList2Button2Icon {
}
Check = L_DropDownList2Button2Check {
}
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = "Backdrop"
(*temporary) = L_DropDownList2Button2 {
0 =
hasArrow = 1
checked = 1
invisibleButton = L_DropDownList2Button2InvisibleButton {
}
func = defined @TitanClassic\TitanPanelClassic.lua:2090
Highlight = L_DropDownList2Button2Highlight {
}
ExpandArrow = L_DropDownList2Button2ExpandArrow {
}
ColorSwatch = L_DropDownList2Button2ColorSwatch {
}
UnCheck = L_DropDownList2Button2UnCheck {
}
value = "BugSack"
keepShownOnClick = 1
Icon = L_DropDownList2Button2Icon {
}
Check = L_DropDownList2Button2Check {
}
}
(*temporary) = "TOPRIGHT"
(*temporary) = 0
(*temporary) = 0
(*temporary) =
(*temporary) = 3
(*temporary) = 2
(*temporary) = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
L_UIDropDownMenuDelegate = {
0 =
}
_G =
UpdateOnBarHighlightMarksBySpell = defined @FrameXML\ActionButton.lua:70
ERR_OUT_OF_CHI = "Not enough chi"
DH_HAVOC_CORE_ABILITY_2 = "Strong melee attack that consumes Fury. If it critical strikes, some Fury is refunded."
MerchantItem9ItemButtonStock = MerchantItem9ItemButtonStock {
}
GetTrainerServiceTypeFilter = defined =[C]:-1
UNIT_NAMES_COMBATLOG_TOOLTIP = "Color unit names."
aux.frame11Shine10 = aux.frame11Sh
I also have that one at each login
16x Questie\Modules\Map\QuestieMap.lua:185: attempt to index field 'char' (a nil value)
Questie\Modules\Map\QuestieMap.lua:185: in function GetScaleValue' Questie\Modules\Map\QuestieMap.lua:201: in function
OnMapChanged'
...aceBlizzard_MapCanvas\Blizzard_MapCanvas.lua:529: in function OnMapChanged' ...rfaceBlizzard_WorldMap\Blizzard_WorldMap.lua:115: in function
OnMapChanged'
...aceBlizzard_MapCanvas\Blizzard_MapCanvas.lua:37: in function SetMapID' TitanClassicLocation\TitanClassicLocation-1.2.10.11307.lua:75: in function
TitanPanelLocationButton_OnShow'
[string ":OnShow"]:1: in function <[string ":OnShow"]:1>
[C]: in function Show' TitanClassic\TitanPanelClassic.lua:1475: in function
TitanPanel_InitPanelButtons'
TitanClassic\TitanClassicVariables.lua:1045: in function TitanVariables_UseSettings' TitanClassic\TitanPanelClassic.lua:400: in function <TitanClassic\TitanPanelClassic.lua:327> [C]: in function
pcall'
TitanClassic\TitanPanelClassic.lua:467: in function `?'
TitanClassic\TitanPanelClassic.lua:309: in function <TitanClassic\TitanPanelClassic.lua:308>
Locals:
self =
zoneWaypointColorOverrides =
}
ShowNPC = defined @Questie\Modules\Map\QuestieMap.lua:276
GetManualFrames = defined @Questie\Modules\Map\QuestieMap.lua:96
UnloadQuestFrames = defined @Questie\Modules\Map\QuestieMap.lua:74
utils =
}
UnloadManualFrames = defined @Questie\Modules\Map\QuestieMap.lua:109
GetNearestSpawn = defined @Questie\Modules\Map\QuestieMap.lua:772
zoneWaypointHoverColorOverrides =
}
GetNearestQuestSpawn = defined @Questie\Modules\Map\QuestieMap.lua:806
manualFrames =
}
private =
}
_minimapDrawQueue =
}
questIdFrames =
}
DrawWaypoints = defined @Questie\Modules\Map\QuestieMap.lua:890
FindClosestStarter = defined @Questie\Modules\Map\QuestieMap.lua:652
ResetManualFrames = defined @Questie\Modules\Map\QuestieMap.lua:119
DrawWorldIcon = defined @Questie\Modules\Map\QuestieMap.lua:493
DrawManualIcon = defined @Questie\Modules\Map\QuestieMap.lua:402
DrawLineIcon = defined @Questie\Modules\Map\QuestieMap.lua:383
ShowObject = defined @Questie\Modules\Map\QuestieMap.lua:335
ProcessQueue = defined @Questie\Modules\Map\QuestieMap.lua:243
QueueDraw = defined @Questie\Modules\Map\QuestieMap.lua:232
ProcessShownMinimapIcons = defined @Questie\Modules\Map\QuestieMap.lua:208
ICON_MAP_TYPE = "MAP"
GetFramesForQuest = defined @Questie\Modules\Map\QuestieMap.lua:61
RescaleIcons = defined @Questie\Modules\Map\QuestieMap.lua:127
InitializeQueue = defined @Questie\Modules\Map\QuestieMap.lua:149
GetScaleValue = defined @Questie\Modules\Map\QuestieMap.lua:175
_mapDrawQueue =
}
ICON_MINIMAP_TYPE = "MINIMAP"
}
mapId = 1414
scaling = 1
(*temporary) = nil
(*temporary) = "attempt to index field 'char' (a nil value)"
HBDPins =
minimapPins =
}
SetMinimapObject = defined @Questie\Libs\HereBeDragons\HereBeDragons-Pins-2.0.lua:656
worldmapPinsPool =
}
RemoveMinimapIcon = defined @Questie\Libs\HereBeDragons\HereBeDragons-Pins-2.0.lua:630
IsMinimapIconOnEdge = defined @Questie\Libs\HereBeDragons\HereBeDragons-Pins-2.0.lua:619
Minimap = Minimap {
}
RemoveAllWorldMapIcons = defined @Questie\Libs\HereBeDragons\HereBeDragons-Pins-2.0.lua:778
worldmapPins =
}
RemoveAllMinimapIcons = defined @Questie\Libs\HereBeDragons\HereBeDragons-Pins-2.0.lua:643
worldmapProviderPin =
}
worldmapProvider =
}
updateFrame = {
}
GetVectorToIcon = defined @Questie\Libs\HereBeDragons\HereBeDragons-Pins-2.0.lua:793
RemoveWorldMapIcon = defined @Questie\Libs\HereBeDragons\HereBeDragons-Pins-2.0.lua:764
AddMinimapIconWorld = defined @Questie\Libs\HereBeDragons\HereBeDragons-Pins-2.0.lua:555
AddMinimapIconMap = defined @Questie\Libs\HereBeDragons\HereBeDragons-Pins-2.0.lua:595
AddWorldMapIconMap = defined @Questie\Libs\HereBeDragons\HereBeDragons-Pins-2.0.lua:724
AddWorldMapIconWorld = defined @Questie\Libs\HereBeDragons\HereBeDragons-Pins-2.0.lua:683
MinimapGroup = QuestieFrameGroup {
}
worldmapPinRegistry =
}
activeMinimapPins =
}
minimapPinRegistry =
}
}
The latter issue will be fixed with the next release. Would be nice @waytoomuchgaming if you could report back here if the other issue is fixed as well with v6.3.13 (once it is out).
The latter issue have disappeared with 6.3.13.
The first one is still there.
So it only happend when you hover over the Titan Panel location toolbar? I have to check again but I think I wasn't able to reproduce this issue.
So it only happend when you hover over the Titan Panel location toolbar?
Not the location one: any sub menu will trigger the error.
And only in sub sub menus (the first sub menu don't trigger the error, i must go one sub menu deeper).
I believe it's because they haven't updated LibUIDropDownMenu from 2.0 to 4.0.
So unless he fixes that, more and more addons that update to latest LibUIDropDownMenu will break Titan Panel:
https://sourceforge.net/p/titan-panel-classic/tickets/42/