TheKrowi / Krowi_AchievementFilter

Achievement Filter completely replaces the default Achievements tab and adds several tabs to the Achievement Window that order the achievements by expansion, pvp, events or other curated lists.
Other
14 stars 9 forks source link

Lua error with 66.0 - does not occur when using 65.0 #181

Closed Mike160770 closed 11 months ago

Mike160770 commented 11 months ago

1x Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:132: attempt to index field 'db' (a nil value) [string "@Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua"]:132: in function SetAchievementFrameHeight' [string "@Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua"]:82: in functionLoadWithBlizzard_AchievementUI' [string "@Interface/AddOns/Krowi_AchievementFilter/Krowi_AchievementFilter.lua"]:70: in function <.../Krowi_AchievementFilter/Krowi_AchievementFilter.lua:69> [string "@Interface/AddOns/Krowi_AchievementFilter/Krowi_AchievementFilter.lua"]:112: in function <.../Krowi_AchievementFilter/Krowi_AchievementFilter.lua:106>

string "=[C]": in function LoadAddOn' [string "@Interface/FrameXML/UIParent.lua"]:542: in functionUIParentLoadAddOn' [string "@Interface/FrameXML/UIParent.lua"]:677: in function AchievementFrame_LoadUI' [string "@Interface/FrameXML/UIParent.lua"]:923: in functionToggleAchievementFrame' [string "@Interface/FrameXML/MainMenuBarMicroButtons.lua"]:728: in function <Interface/FrameXML/MainMenuBarMicroButtons.lua:726>

Locals: self =

{ Calendar =
{ } OverwriteAdjustAnchors = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:453 WorldMapButton =
{ } PrepareTabsOrder = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:144 RefreshView = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:386 SummaryFrame =
{ } ShowStatusBarTooltip = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:268 EventReminderAlertSystem =
{ } RefreshViewAfterPlayerLogin = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:395 LoadWithAddon = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:9 Tabs =
{ } AchievementsObjectives =
{ } LoadWithBlizzard_AchievementUI = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:78 EventReminderSideButtonSystem =
{ } SetFrameToLastPosition = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:370 AchievementTooltip =
{ } FloatingAchievementTooltip =
{ } FilterButton =
{ } TabsOrderGetActiveKeys = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:352 DataManager =
{ } UpdateTabsLayout = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:219 ResetAchievementFrameWidth = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:127 RightClickMenu =
{ } HandleCloseButtonOnKeyDown = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:421 CategoriesFrame =
{ } AchievementsFrame =
{ } AchievementFrameTabButtonFactory =
{ } SetAchievementFrameHeight = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:131 AchievementFrameHeader =
{ } SubFrames =
{ } ResetAchievementFrameHeight = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:138 ShowHideTabs = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:234 ToggleAchievementFrame = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:185 SetAchievementFrameWidth = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:122 Search =
{ } RegisterSafeCloseButtonDuringCombat = defined @Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:406 } (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (*temporary) = "attempt to index field 'db' (a nil value)" addon =
{ WorldMapButtons =
{ } ExcludeAchievement = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:210 Diagnostics =
{ } BuildCacheAsync = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:362 GetAchievementInfoTable = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:644 GetUsableSets = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:708 Modifiers =
{ } Metadata =
{ } IsCustomModifierKeyDown = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:766 GetInstanceInfoName = defined @Interface/AddOns/Krowi_AchievementFilter/Localization/GlobalStrings.lua:8 ChangeAchievementMicroButtonOnClick = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:738 Util =
{ } IsWrathClassic = false WatchAchievement = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:159 SearchOptions =
{ } GetAchievementsInZone = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:20 GetVariantSetIDs = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:720 GetLFGDungeonInfo = defined @Interface/AddOns/Krowi_AchievementFilter/Localization/GlobalStrings.lua:32 Plugins =
{ } Icon =
{ } Credits =
{ } GetActiveCovenant = defined @Interface/AddOns/Krowi_Achievement

Pantasaron commented 11 months ago

Getting following error after logon, after updating to 66

1x ...mentFilter/Libs/Krowi_Util/Options/InjectOptions.lua:63: attempt to index local 'destTable' (a nil value) [string "@Krowi_AchievementFilter/Libs/Krowi_Util/Options/InjectOptions.lua"]:63: in function TableExists' [string "@Krowi_AchievementFilter/API.lua"]:392: in functionKrowiAF_RegisterDeSelectAllEventOptions' [string "@Krowi_AchievementFilter/Data/Retail/ExportedWidgetEvents.lua"]:40: in function `InjectDynamicOptions' [string "@Krowi_AchievementFilter/Krowi_AchievementFilter.lua"]:43: in function <.../Krowi_AchievementFilter/Krowi_AchievementFilter.lua:37> [string "@Krowi_AchievementFilter/Krowi_AchievementFilter.lua"]:110: in function <.../Krowi_AchievementFilter/Krowi_AchievementFilter.lua:106>

Locals: self =

{ TableExists = defined @Krowi_AchievementFilter/Libs/Krowi_Util/Options/InjectOptions.lua:59 PlusPlusAutoOrder = defined @Krowi_AchievementFilter/Libs/Krowi_Util/Options/InjectOptions.lua:30 GetTable = defined @Krowi_AchievementFilter/Libs/Krowi_Util/Options/InjectOptions.lua:50 AutoOrderPlusPlus = defined @Krowi_AchievementFilter/Libs/Krowi_Util/Options/InjectOptions.lua:24 AddPluginTable = defined @Krowi_AchievementFilter/Libs/Krowi_Util/Options/InjectOptions.lua:86 AdjustedWidth = defined @Krowi_AchievementFilter/Libs/Krowi_Util/Options/InjectOptions.lua:19 AddTable = defined @Krowi_AchievementFilter/Libs/Krowi_Util/Options/InjectOptions.lua:35 DefaultsExists = defined @Krowi_AchievementFilter/Libs/Krowi_Util/Options/InjectOptions.lua:77 AddDefaults = defined @Krowi_AchievementFilter/Libs/Krowi_Util/Options/InjectOptions.lua:68 } destTablePath = "EventReminders.args.WorldEvents.args.Dragonflight.args.GemeinschaftlichesFestmahl.args.SelectAll" destTable = nil pathParts =
{ 1 = "EventReminders" 2 = "args" 3 = "WorldEvents" 4 = "args" 5 = "Dragonflight" 6 = "args" 7 = "GemeinschaftlichesFestmahl" 8 = "args" 9 = "SelectAll" } (for generator) = defined =[C]:-1 (for state) =
{ 1 = "EventReminders" 2 = "args" 3 = "WorldEvents" 4 = "args" 5 = "Dragonflight" 6 = "args" 7 = "GemeinschaftlichesFestmahl" 8 = "args" 9 = "SelectAll" } (for control) = 6 _ = 6 part = "args" (temporary) = 6 (temporary) = "attempt to index local 'destTable' (a nil value)" addon =
{ WorldMapButtons =
{ } ExcludeAchievement = defined @Krowi_AchievementFilter/Globals.lua:210 Diagnostics =
{ } BuildCacheAsync = defined @Krowi_AchievementFilter/Globals.lua:362 GetAchievementInfoTable = defined @Krowi_AchievementFilter/Globals.lua:644 GetUsableSets = defined @Krowi_AchievementFilter/Globals.lua:708 Modifiers =
{ } Metadata =
{ } IsCustomModifierKeyDown = defined @Krowi_AchievementFilter/Globals.lua:766 GetInstanceInfoName = defined @Krowi_AchievementFilter/Localization/GlobalStrings.lua:8 ChangeAchievementMicroButtonOnClick = defined @Krowi_AchievementFilter/Globals.lua:738 Util =
{ } IsWrathClassic = false WatchAchievement = defined @Krowi_AchievementFilter/Globals.lua:159 SearchOptions =
{ } GetAchievementsInZone = defined @Krowi_AchievementFilter/Globals.lua:20 GetVariantSetIDs = defined @Krowi_AchievementFilter/Globals.lua:720 GetLFGDungeonInfo = defined @Krowi_AchievementFilter/Localization/GlobalStrings.lua:32 Plugins =
{ } Icon =
{ } Credits =
{ } GetActiveCovenant = defined @Krowi_AchievementFilter/Globals.lua:16 GetAchievementNumCriteria = defined @Krowi_AchievementFilter/Globals.lua:691 Options =
{ } AddToTrackingAchievementsCategories = defined @Krowi_AchievementFilter/Globals.lua:172 Event =
{ } IsDragonflightRetail = true Data =
{ } TooltipData =
{ } EventData =
{ } OnAchievementEarned = defined @Krowi_AchievementFilter/Globals.lua:403 GetNextAchievement = defined @Krowi_AchievementFilter/Globals.lua:668 Tabs =
{ } Faction =
{ } Libs =
{ } LoadBlizzardApiChanges = defined @Krowi_AchievementFilter/Globals.lua:481 GetCategoryInfoTitle = defined @Inter

TheKrowi commented 11 months ago

@Pantasaron that one should be fixed in 66.1, just pushed it. @Mike160770 can you please let me know if yours is too?

The problem was non English clients.

Kammihou commented 11 months ago

Unfortunately 66.1 does not Fix it on German Client

TheKrowi commented 11 months ago

So the 1x Interface/AddOns/Krowi_AchievementFilter/Gui/Gui.lua:132: attempt to index field 'db' (a nil value) is still a problem?

Kammihou commented 11 months ago

Sorry, my bad. It Works now ...

Pantasaron commented 11 months ago

Works like a charm .. thanks