Eliote / SimpleAddonManager

A simple to use Addon Manager with profile, search, category filter, and more.
https://www.curseforge.com/wow/addons/simple-addon-manager
MIT License
5 stars 3 forks source link

[bug] Error when selecting 'Enable this addon and its dependencies' #16

Closed tflo closed 1 year ago

tflo commented 1 year ago

When I select 'Enable this addon and its dependencies' from the contextual menu I get attempt to call method 'EnableAddon' (a nil value)

Details ```text 1x SimpleAddonManager/AddonListFrame.lua:57: attempt to call method 'EnableAddon' (a nil value) [string "@SimpleAddonManager/AddonListFrame.lua"]:57: in function [string "@SimpleAddonManager/AddonListFrame.lua"]:115: in function `func' [string "@SimpleAddonManager/Libs/ElioteDropDownMenu-1.0-11/ElioteDropDownMenu-1.0.lua"]:1245: in function <...bs/ElioteDropDownMenu-1.0/ElioteDropDownMenu-1.0.lua:1211> Locals: addonIndex = "ArmoryGuildBank" requiredDeps = { 1 = "Armory" } (for generator) = defined =[C]:-1 (for state) =
{ 1 = "Armory" } (for control) = 1 _ = 1 depName = "Armory" (*temporary) = nil (*temporary) = SimpleAddonManager { 0 = DidAddonStateChanged = defined @SimpleAddonManager/MainFrame.lua:30 DisableAllAddOns = defined @SimpleAddonManager/Core.lua:304 GetTitleText = defined @SharedXML/PortraitFrame.lua:28 SetPortraitTexCoord = defined @SharedXML/PortraitFrame.lua:87 GetDb = defined @SimpleAddonManager/Core.lua:39 EnableAddOn = defined @SimpleAddonManager/Core.lua:289 CATEGORY_SIZE_W = 250 GetPlayerInfo = defined @SimpleAddonManager/Core.lua:311 TitleContainer = Frame { } UpdateOkButton = defined @SimpleAddonManager/MainFrame.lua:48 ValidateCategoryName = defined @SimpleAddonManager/CategoryFrame.lua:355 IsAddonInstalled = defined @SimpleAddonManager/Core.lua:284 RegisterModule = defined @SimpleAddonManager/Core.lua:262 ADDON_LOADED = defined @SimpleAddonManager/Core.lua:334 SetCharacter = defined @SimpleAddonManager/Core.lua:179 CategoryFrame = Frame { } MIN_SIZE_W = 470 HookMenuButton = defined @SimpleAddonManager/Core.lua:381 CancelButton = Button { } SetPortraitAtlasRaw = defined @SharedXML/PortraitFrame.lua:83 Bg = SimpleAddonManagerBg { } initialized = true ShowConfirmDialog = defined @SimpleAddonManager/Core.lua:154 NineSlice = Frame { } SetPortraitTextureSizeAndOffset = defined @SharedXML/PortraitFrame.lua:95 GetCharacter = defined @SimpleAddonManager/Core.lua:175 edited = true CategoryButton = Button { } SearchBox = EditBox { } SetCategoryVisibility = defined @SimpleAddonManager/CategoryFrame.lua:384 PLAYER_ENTERING_WORLD = defined @SimpleAddonManager/Core.lua:365 IsAddonCollapsed = defined @SimpleAddonManager/Filters.lua:163 ShowInputDialog = defined @SimpleAddonManager/Core.lua:140 SetPortraitShown = defined @SharedXML/PortraitFrame.lua:91 GetModule = defined @SimpleAddonManager/Core.lua:271 ResultOptionsButton = Button { } DisableAllButton = Button { } EnableAllButton = Button { } OkButton = Button { } CharacterDropDown = SAM_CharacterDropDown { } ScrollFrame = ScrollFrame { } SetPortraitTextureRaw = defined @SharedXML/PortraitFrame.lua:79 Sizer = Button { } SetsButton = Button { } ConfigButton = Button { } isMenuHooked = true ShowDialog = defined @SimpleAddonManager/Core.lua:106 UpdateCategoryFrame = defined @SimpleAddonManager/CategoryFrame.lua:378 EnableAllAddOns = defined @SimpleAddonManager/Core.lua:299 MIN_SIZE_H = 400 DisableAddOn = defined @SimpleAddonManager/Core.lua:294 SetTitleMaxLinesAndHeight = defined @SharedXML/PortraitFrame.lua:49 Initialize = defined @SimpleAddonManager/Core.lua:200 GetCategoryTable = defined @SimpleAddonManager/CategoryFrame.lua:362 DefaultPortraitTextureSizeAndOffset = defined @SharedXML/PortraitFrame.lua:101 LocalizeCategoryName = defined @SimpleAddonManager/CategoryFrame.lua:329 UpdateMemoryTickerPeriod = defined @SimpleAddonManager/AddonListFrame.lua:404 UpdateListFilters = defined @SimpleAddonManager/Filters.lua:300 Ge ```