BugSack when using PGF together with Project Azilroka (ElvUI)
Sifuedition opened this issue ยท 7 comments
I don't know what changed. I was using the addon earlier today and don't remember making any changes. When I open pre-made groups -> dungeons, the addon doens't load. When I try to select the box to open the addon, I get:
4x PremadeGroupsFilter\Dialog\Dialog.lua:52: attempt to index local 'model' (a nil value)
[string "@PremadeGroupsFilter\Dialog\Dialog.lua"]:52: in function <PremadeGroupsFilter\Dialog\Dialog.lua:49>
Locals:
self = UsePFGButton {
0 = <userdata>
isSkinned = true
SetCheckedTexture = <function> defined =[C]:-1
SetHighlightTexture = <function> defined =[C]:-1
SetPushedTexture = <function> defined =[C]:-1
text = UsePFGButtonText {.
}
backdrop = <unnamed> {
}
SetNormalTexture = <function> defined =[C]:-1
}
button = "LeftButton"
down = false
checked = true
model = nil
(*temporary) = nil
(*temporary) = 2
(*temporary) = "attempt to index local 'model' (a nil value)"
PGF = <table> {
PopupMenu_Toggle = <function> defined @PremadeGroupsFilter\Dialog\PopupMenu.lua:126
GetModel = <function> defined @PremadeGroupsFilter\Main.lua:77
Dialog_ResetPosition = <function> defined @PremadeGroupsFilter\Dialog\Setup.lua:132
Dialog_SetUpMinMaxField = <function> defined @PremadeGroupsFilter\Dialog\Setup.lua:175
GameTooltip_AddWhite = <function> defined @PremadeGroupsFilter\Dialog\Help.lua:25
ResetSearchEntries = <function> defined @PremadeGroupsFilter\Main.lua:114
previousSearchExpression = "true"
GetLockoutInfo = <function> defined @PremadeGroupsFilter\Modules\Lockout.lua:52
Empty = <function> defined @PremadeGroupsFilter\Modules\Util.lua:102
Table_Copy_Shallow = <function> defined @PremadeGroupsFilter\Modules\Util.lua:36
Table_Subtract = <function> defined @PremadeGroupsFilter\Modules\Util.lua:57
declinedGroups = <table> {
}
DoesPassThroughFilter = <function> defined @PremadeGroupsFilter\Modules\Expression.lua:46
previousSearchLeaders = <table> {
}
HasRemainingSlotsForLocalPlayerPartyRoles = <function> defined @PremadeGroupsFilter\Main.lua:136
Dialog_Reset = <function> defined @PremadeGroupsFilter\Dialog\Dialog.lua:121
DoFilterSearchResults = <function> defined @PremadeGroupsFilter\Main.lua:280
Dialog_OnMouseUp = <function> defined @PremadeGroupsFilter\Dialog\Setup.lua:72
RemoveCommentLines = <function> defined @PremadeGroupsFilter\Main.lua:67
GetDifficulty = <function> defined @PremadeGroupsFilter\Modules\Difficulty.lua:314
UsePFGButton = UsePFGButton {
}
ACTIVITY_TO_DIFFICULTY = <table> {
}
currentSearchExpression = "true"
Dialog_MaximizeButton_OnClick = <function> defined @PremadeGroupsFilter\Dialog\Setup.lua:82
IsDeclinedGroup = <function> defined @PremadeGroupsFilter\Main.lua:430
Dialog_MinimizeButton_OnClick = <function> defined @PremadeGroupsFilter\Dialog\Setup.lua:76
Popup_GetSelectedEntry = <function> defined @PremadeGroupsFilter\Dialog\PopupMenu.lua:130
Dialog_SetUpUsePGFCheckbox = <function> defined @PremadeGroupsFilter\Dialog\Setup.lua:186
GetMatchingBossInfo = <function> defined @PremadeGroupsFilter\Modules\Lockout.lua:80
PopupMenu_Hide = <function> defined @PremadeGroupsFilter\Dialog\PopupMenu.lua:121
GameTooltip_AddDoubleWhite = <function> defined @PremadeGroupsFilter\Dialog\Help.lua:29
Dialog_OnModelUpdate = <function> defined @PremadeGroupsFilter\Dialog\Dialog.lua:42
Dialog_Max_OnTabPressed = <function> defined @PremadeGroupsFilter\Dialog\Dialog.lua:166
OnLFGListSearchEntryOnEnter = <function> defined @ElvUI\Core\Core.lua:54
NotEmpty = <function> defined @PremadeGroupsFilter\Modules\Util.lua:101
Dialog_Toggle = <function> defined @PremadeGroupsFilter\Dialog\Dialog.lua:171
SHORTNAME_TO_DIFFICULTY = <table> {
}
Dialog_Min_OnTabPressed = <function> defined @PremadeGroupsFilter\Dialog\Dialog.lua:162
currentSearchLeaders = <table> {
}
Dialog_DifficultyDropdown_OnClick = <function> defined @PremadeGroupsFilter\Dialog\Dialog.lua:151
Dialog_ResetButton_OnClick = <function> defined @PremadeGroupsFilter\Dialog\Dialog.lua:145
Dialog_Ref
From my point of view, the error message attempt to index local 'model' (a nil value)
can only occur if one of the following two objects are falsy:
PVEFrame.activeTabIndex
LFGListFrame.SearchPanel.categoryID or LFGListFrame.CategorySelection.selectedCategory
I looked into the code of ProjectAzilroka on GitHub, but found nothing specific that could cause the problem even though there has to be something.
Maybe you need to involve Azil ?
He claims that the problem is not with his addon.
Same problem as in #110 - solution is to reset all addon data.
Hard to tell, but I assume the saved variables got corrupted somehow. Could you try to delete the PremadeGroupsFilter.lua filter in the WTF folder of your WoW installation?
I will try that. Oddly enough, if I run a Mythic or M+, it seems to start working again, but, it's character specific.
Finally, found the conflict. I'm using ElvUI with Project Azriloka. The conflict is in Project Azriloka. If I disable that addon, PGF works normally again.
Added an FAQ entry for the addon combination.