Quests by Zone Lua error
FuriousProgrammer opened this issue ยท 5 comments
Message: ...dOns\Questie\Modules\Journey\QuestieJourneyUtils.lua:14: bad argument #1 to 'pairs' (table expected, got nil)
Time: Tue Sep 6 15:55:39 2022
Count: 4
Stack: ...dOns\Questie\Modules\Journey\QuestieJourneyUtils.lua:14: bad argument #1 to 'pairs' (table expected, got nil)
[string "=[C]"]: in function `pairs'
[string "@Interface\AddOns\Questie\Modules\Journey\QuestieJourneyUtils.lua"]:14: in function `GetSortedZoneKeys'
[string "@Interface\AddOns\Questie\Modules\Journey\tabs\QuestsByZone\QuestsByZoneTab.lua"]:86: in function <...odules\Journey\tabs\QuestsByZone\QuestsByZoneTab.lua:77>
[string "@Interface\AddOns\Questie\Modules\Journey\tabs\QuestsByZone\QuestsByZoneTab.lua"]:44: in function `DrawTab'
[string "@Interface\AddOns\Questie\Modules\Journey\QuestieJourneyPrivates.lua"]:72: in function `HandleTabChange'
[string "@Interface\AddOns\Questie\Modules\Journey\QuestieJourney.lua"]:89: in function <...ce\AddOns\Questie\Modules\Journey\QuestieJourney.lua:89>
[string "=[C]"]: ?
[string "@Interface\AddOns\EasyFrames\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:72: in function <...ace\AddOns\EasyFrames\Libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@Interface\AddOns\EasyFrames\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:306: in function `Fire'
[string "@Interface\AddOns\EasyFrames\Libs\AceGUI-3.0\widgets\AceGUIContainer-TabGroup.lua"]:156: in function `SelectTab'
[string "@Interface\AddOns\EasyFrames\Libs\AceGUI-3.0\widgets\AceGUIContainer-TabGroup.lua"]:67: in function <...Libs\AceGUI-3.0\widgets\AceGUIContainer-TabGroup.lua:64>
Locals: <none>
Questie v7.0.2, Wrath Classic
The tab is bugged out when I open My Journey, and switching to the tab while it is inactive causes the above error to display, with an empty selection box. I can select a Continent, which triggers the following Lua error:
Message: ...odules\Journey\tabs\QuestsByZone\QuestsByZoneTab.lua:136: attempt to index upvalue 'zoneDropdown' (a nil value)
Time: Tue Sep 6 16:01:31 2022
Count: 7
Stack: ...odules\Journey\tabs\QuestsByZone\QuestsByZoneTab.lua:136: attempt to index upvalue 'zoneDropdown' (a nil value)
[string "@Interface\AddOns\Questie\Modules\Journey\tabs\QuestsByZone\QuestsByZoneTab.lua"]:136: in function <...odules\Journey\tabs\QuestsByZone\QuestsByZoneTab.lua:104>
[string "=[C]"]: ?
[string "@Interface\AddOns\EasyFrames\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:72: in function <...ace\AddOns\EasyFrames\Libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@Interface\AddOns\EasyFrames\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:306: in function `Fire'
[string "@Interface\AddOns\SexyMap\Libs\AceGUI-3.0\widgets\AceGUIWidget-DropDown.lua"]:436: in function <...ap\Libs\AceGUI-3.0\widgets\AceGUIWidget-DropDown.lua:427>
[string "=[C]"]: ?
[string "@Interface\AddOns\EasyFrames\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:72: in function <...ace\AddOns\EasyFrames\Libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@Interface\AddOns\EasyFrames\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:306: in function `Fire'
[string "@Interface\AddOns\SexyMap\Libs\AceGUI-3.0\widgets\AceGUIWidget-DropDown-Items.lua"]:351: in function <...s\AceGUI-3.0\widgets\AceGUIWidget-DropDown-Items.lua:341>
Locals: <none>
EDIT: It appears that this is only occuring in Bloodmyst Isle for me, Exodar and Azuremyst Isle are working as expected.
Thanks @FuriousProgrammer we will take a look at this ๐๐ป
I got the same error
16x ...dOns\Questie\Modules\Journey\QuestieJourneyUtils.lua:14: bad argument #1 to 'pairs' (table expected, got nil)
[string "=[C]"]: in function `pairs'
[string "@Questie\Modules\Journey\QuestieJourneyUtils.lua"]:14: in function `GetSortedZoneKeys'
[string "@Questie\Modules\Journey\tabs\QuestsByZone\QuestsByZoneTab.lua"]:86: in function <...odules\Journey\tabs\QuestsByZone\QuestsByZoneTab.lua:77>
[string "@Questie\Modules\Journey\tabs\QuestsByZone\QuestsByZoneTab.lua"]:44: in function `DrawTab'
[string "@Questie\Modules\Journey\QuestieJourneyPrivates.lua"]:72: in function `HandleTabChange'
[string "@Questie\Modules\Journey\QuestieJourney.lua"]:89: in function <...ceQuestie\Modules\Journey\QuestieJourney.lua:89>
[string "=[C]"]: ?
[string "@Accountant_Classic\Libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:72: in function <...ns\Accountant_Classic\Libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@Accountant_Classic\Libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:306: in function `Fire'
[string "@Accountant_Classic\Libs\AceGUI-3.0-41\widgets\AceGUIContainer-TabGroup.lua"]:156: in function `SelectTab'
[string "@Accountant_Classic\Libs\AceGUI-3.0-41\widgets\AceGUIContainer-TabGroup.lua"]:67: in function <...Libs\AceGUI-3.0\widgets\AceGUIContainer-TabGroup.lua:64>
I did a little digging and find that the zone table contain continent 530 but instead, 540 was trying to fetch from the table in "@Questie\Modules\Journey\tabs\QuestsByZone\QuestsByZoneTab.lua"]:86
It happened on Bloodmyst Isle location
Same issue in Borean Tundra:
Message: ...dOns\Questie\Modules\Journey\QuestieJourneyUtils.lua:14: bad argument #1 to 'pairs' (table expected, got nil)
Time: Tue Sep 27 10:59:40 2022
Count: 2
Stack: ...dOns\Questie\Modules\Journey\QuestieJourneyUtils.lua:14: bad argument #1 to 'pairs' (table expected, got nil)
[string "=[C]"]: in function `pairs'
[string "@Interface\AddOns\Questie\Modules\Journey\QuestieJourneyUtils.lua"]:14: in function `GetSortedZoneKeys'
[string "@Interface\AddOns\Questie\Modules\Journey\tabs\QuestsByZone\QuestsByZoneTab.lua"]:86: in function <...odules\Journey\tabs\QuestsByZone\QuestsByZoneTab.lua:77>
[string "@Interface\AddOns\Questie\Modules\Journey\tabs\QuestsByZone\QuestsByZoneTab.lua"]:44: in function `DrawTab'
[string "@Interface\AddOns\Questie\Modules\Journey\QuestieJourneyPrivates.lua"]:72: in function `HandleTabChange'
[string "@Interface\AddOns\Questie\Modules\Journey\QuestieJourney.lua"]:89: in function <...ce\AddOns\Questie\Modules\Journey\QuestieJourney.lua:89>
[string "=[C]"]: ?
[string "@Interface\AddOns\EasyFrames\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:72: in function <...ace\AddOns\EasyFrames\Libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@Interface\AddOns\EasyFrames\Libs\AceGUI-3.0\AceGUI-3.0.lua"]:306: in function `Fire'
[string "@Interface\AddOns\VuhDo\Libs\AceGUI-3.0\widgets\AceGUIContainer-TabGroup.lua"]:342: in function `SelectTab'
[string "@Interface\AddOns\VuhDo\Libs\AceGUI-3.0\widgets\AceGUIContainer-TabGroup.lua"]:200: in function <...Libs\AceGUI-3.0\widgets\AceGUIContainer-TabGroup.lua:197>
Locals: <none>
The weird thing is when I'm outside the zone, it works fine - but inside the zone it fails to load the table, yet other quests show. I took a stab at tracking it down, but wasn't able to find code that depended on what zone I'm currently in.