10.0.7 - Lua errors
Fargotroniac opened this issue ยท 3 comments
Hello,
After update to new version of addon:
Message: ...ce/AddOns/Krowi_AchievementFilter/Data/SavedData.lua:148: attempt to index global 'SavedData' (a nil value) Time: Wed Mar 22 09:36:08 2023 Count: 1 Stack: ...ce/AddOns/Krowi_AchievementFilter/Data/SavedData.lua:148: attempt to index global 'SavedData' (a nil value) [string "@Interface/AddOns/Krowi_AchievementFilter/Data/SavedData.lua"]:148: in function
solution'
[string "@Interface/AddOns/Krowi_AchievementFilter/Data/SavedData.lua"]:119: in function <...ce/AddOns/Krowi_AchievementFilter/Data/SavedData.lua:112>
[string "@Interface/AddOns/Krowi_AchievementFilter/Data/SavedData.lua"]:54: in function `Load'
[string "@Interface/AddOns/Krowi_AchievementFilter/Krowi_AchievementFilter.lua"]:49: in function <.../Krowi_AchievementFilter/Krowi_AchievementFilter.lua:34>
[string "@Interface/AddOns/Krowi_AchievementFilter/Krowi_AchievementFilter.lua"]:102: in function <.../Krowi_AchievementFilter/Krowi_AchievementFilter.lua:98>
Locals: prevBuild = "10.0.7"
currBuild = "10.0.7"
prevVersion = "53.1"
currVersion = "54.0"
firstTime = false
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'SavedData' (a nil value)"
diagnostics =
TraceEnabled = defined @Interface/AddOns/Krowi_AchievementFilter/Diagnostics.lua:36
Debug = defined @Interface/AddOns/Krowi_AchievementFilter/Diagnostics.lua:9
DebugEnabled = defined @Interface/AddOns/Krowi_AchievementFilter/Diagnostics.lua:33
Print = defined @Interface/AddOns/Krowi_AchievementFilter/Diagnostics.lua:41
Trace = defined @Interface/AddOns/Krowi_AchievementFilter/Diagnostics.lua:26
Load = defined @Interface/AddOns/Krowi_AchievementFilter/Diagnostics.lua:32
DebugTable = defined @Interface/AddOns/Krowi_AchievementFilter/Diagnostics.lua:15
}
addon =
ReplaceVarsWithReloadReq = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:545
WorldMapButtons =
}
GUI =
}
SearchOptions =
}
Filters =
}
ExcludeAchievement = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:210
Data =
}
GetAchievementNumCriteria = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:589
ChangeAchievementMicroButtonOnClick = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:627
Objects =
}
IsWrathClassic = false
DelayObjects =
}
OnAchievementEarned = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:365
DelayFunction = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:646
Options =
}
Diagnostics =
}
IsCustomModifierKeyDown = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:673
TooltipData =
}
EventData =
}
GlobalStrings =
}
MakeWindowMovable = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:525
GetUsableSets = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:597
Modifiers =
}
GetAchievementCriteriaInfo = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:578
GetNextAchievement = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:566
ExtraWrathStrings =
}
Tabs =
}
GetInstanceInfoName = defined @Interface/AddOns/Krowi_AchievementFilter/Localization/GlobalStrings.lua:10
GetMapName = defined @Interface/AddOns/Krowi_AchievementFilter/Localization/GlobalStrings.lua:38
GetAchievementInfo = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:554
Util =
}
MetaData =
}
GetFirstAchievementId = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:3
GetSecondsSince = defined @Interface/AddOns/Krowi_AchievementFilter/Globals.lua:535
WatchAchievement = defined @interfac
Message: ...ace/AddOns/Krowi_AchievementFilter/Plugins/ElvUI.lua:670: hooksecurefunc(): setUpFunction is not a functionTime: Wed Mar 22 09:36:17 2023
Count: 1
Stack: ...ace/AddOns/Krowi_AchievementFilter/Plugins/ElvUI.lua:670: hooksecurefunc(): setUpFunction is not a function
[string "=[C]"]: ?
[string "=[C]"]: in function
hooksecurefunc' [string "@Interface/AddOns/Krowi_AchievementFilter/Plugins/ElvUI.lua"]:670: in function <...ace/AddOns/Krowi_AchievementFilter/Plugins/ElvUI.lua:665> [string "@Interface/AddOns/Krowi_AchievementFilter/Plugins/ElvUI.lua"]:679: in function
OnEvent'[string "@Interface/AddOns/Krowi_AchievementFilter/Plugins/Plugins.lua"]:11: in function <...e/AddOns/Krowi_AchievementFilter/Plugins/Plugins.lua:8>
Locals:
Message: .../Krowi_AchievementFilter/Krowi_AchievementFilter.lua:130: attempt to call field 'ShowActiveEventsOnPlayerEnteringWorld' (a nil value)
Time: Wed Mar 22 09:36:23 2023
Count: 1
Stack: .../Krowi_AchievementFilter/Krowi_AchievementFilter.lua:130: attempt to call field 'ShowActiveEventsOnPlayerEnteringWorld' (a nil value)
[string "=[C]"]: in function `ShowActiveEventsOnPlayerEnteringWorld'
[string "@Interface/AddOns/Krowi_AchievementFilter/Krowi_AchievementFilter.lua"]:130: in function <.../Krowi_AchievementFilter/Krowi_AchievementFilter.lua:129>
Locals: `
After open achievement window:
Message: Interface/AddOns/Krowi_AchievementFilter/Filters.lua:200: attempt to index field 'Completion' (a nil value)
Time: Wed Mar 22 09:41:02 2023
Count: 1
Stack: Interface/AddOns/Krowi_AchievementFilter/Filters.lua:200: attempt to index field 'Completion' (a nil value)
[string "=[C]"]: ?
[string "@Interface/AddOns/Krowi_AchievementFilter/Filters.lua"]:200: in function Validate' [string "@Interface/AddOns/Krowi_AchievementFilter/Globals.lua"]:56: in function
GetAchievementNumbers'
[string "@Interface/AddOns/Krowi_AchievementFilter/Objects/Category.lua"]:123: in function <.../AddOns/Krowi_AchievementFilter/Objects/Category.lua:118>
[string "@Interface/AddOns/Krowi_AchievementFilter/Objects/Category.lua"]:158: in function GetAchievementNumbers' [string "@Interface/AddOns/Krowi_AchievementFilter/GUI/WindowFrames/CategoriesFrame/CategoriesFrameMixin.lua"]:27: in function <...indowFrames/CategoriesFrame/CategoriesFrameMixin.lua:22> [string "@Interface/AddOns/Krowi_AchievementFilter/GUI/WindowFrames/CategoriesFrame/CategoriesFrameMixin.lua"]:63: in function
Update'
[string "@Interface/AddOns/Krowi_AchievementFilter/GUI/WindowFrames/CategoriesFrame/CategoriesFrame.lua"]:51: in function <...GUI/WindowFrames/CategoriesFrame/CategoriesFrame.lua:41>
[string "=[C]"]: in function SetShown' [string "@Interface/AddOns/Krowi_AchievementFilter/GUI/GUI.lua"]:103: in function
ShowSubFrame'
[string "@Interface/AddOns/Krowi_AchievementFilter/GUI/GUI.lua"]:76: in function <Interface/AddOns/Krowi_AchievementFilter/GUI/GUI.lua:75>
[string "=[C]"]: in function AchievementFrame_ShowSubFrame' [string "@Interface/AddOns/Krowi_AchievementFilter/GUI/Misc/AchievementFrameTabButton.lua"]:78: in function
OnClick'
[string "@Interface/AddOns/Krowi_AchievementFilter/GUI/Misc/AchievementFrameTabButton.lua"]:138: in function Select' [string "@Interface/AddOns/Krowi_AchievementFilter/GUI/GUI.lua"]:187: in function
SelectTab'
[string "@Interface/AddOns/Krowi_AchievementFilter/GUI/GUI.lua"]:225: in function ToggleAchievementFrame' [string "@Interface/AddOns/Krowi_AchievementFilter/API.lua"]:174: in function
KrowiAF_ToggleAchievementFrame'
[string "KrowiAF_OPEN_TAB_Achievements"]:1: in function <[string "KrowiAF_OPEN_TAB_Achievements"]:1>
Locals:
Message: Interface/AddOns/Krowi_AchievementFilter/Filters.lua:200: attempt to index field 'Completion' (a nil value)
Time: Wed Mar 22 09:41:02 2023
Count: 1
Stack: Interface/AddOns/Krowi_AchievementFilter/Filters.lua:200: attempt to index field 'Completion' (a nil value)
[string "=[C]"]: ?
[string "@Interface/AddOns/Krowi_AchievementFilter/Filters.lua"]:200: in function Validate' [string "@Interface/AddOns/Krowi_AchievementFilter/Globals.lua"]:56: in function
GetAchievementNumbers'
[string "@Interface/AddOns/Krowi_AchievementFilter/Objects/Category.lua"]:123: in function <.../AddOns/Krowi_AchievementFilter/Objects/Category.lua:118>
[string "@Interface/AddOns/Krowi_AchievementFilter/Objects/Category.lua"]:158: in function GetAchievementNumbers' [string "@Interface/AddOns/Krowi_AchievementFilter/GUI/WindowFrames/SummaryFrame/SummaryFrameMixin.lua"]:38: in function
CategoriesStatusBar_Update'
[string "@Interface/AddOns/Krowi_AchievementFilter/GUI/WindowFrames/SummaryFrame/SummaryFrameMixin.lua"]:7: in function Update' [string "@Interface/AddOns/Krowi_AchievementFilter/GUI/WindowFrames/SummaryFrame/SummaryFrame.lua"]:238: in function <...ilter/GUI/WindowFrames/SummaryFrame/SummaryFrame.lua:236> [string "=[C]"]: ? [string "=[C]"]: in function
Show'
[string "@Interface/AddOns/Krowi_AchievementFilter/GUI/Misc/AchievementFrameTabButton.lua"]:80: in function OnClick' [string "@Interface/AddOns/Krowi_AchievementFilter/GUI/Misc/AchievementFrameTabButton.lua"]:138: in function
Select'
[string "@Interface/AddOns/Krowi_AchievementFilter/GUI/GUI.lua"]:187: in function SelectTab' [string "@Interface/AddOns/Krowi_AchievementFilter/GUI/GUI.lua"]:225: in function
ToggleAchievementFrame'
[string "@Interface/AddOns/Krowi_AchievementFilter/API.lua"]:174: in function `KrowiAF_ToggleAchievementFrame'
[string "KrowiAF_OPEN_TAB_Achievements"]:1: in function <[string "KrowiAF_OPEN_TAB_Achievements"]:1>
Locals:
Screenshot: https://i.ibb.co/hsrbfMk/Wo-WScrn-Shot-032223-094112.jpg