Simple Addon Manager (SAM)

Simple Addon Manager (SAM)

39.5k Downloads

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

tflo opened this issue ยท 0 comments

commented

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

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