Armory can't be enabled due to Shadow & Light, which is no longer installed
Quaantt opened this issue ยท 5 comments
I had installed S&L to toy with it, but I've since disabled and uninstalled. Toxi is stuck thinking S&L Armory is enabled.
Reinstalled S&L to troubleshoot. I get this error when both S&L and Toxi are enabled:
ElvUI_ToxiUI/Core/Requirements.lua:44: attempt to index field 'enchant' (a nil value)
[string "@ElvUI_ToxiUI/Core/Requirements.lua"]:44: in function CheckRequirements' [string "@ElvUI_ToxiUI/Core/Requirements.lua"]:7: in function
HasRequirements'
[string "@ElvUI_ToxiUI/ModulesDeconstruct.lua"]:795: in function callback' [string "@ElvUI_ToxiUI/Core/Functions/Event.lua"]:285: in function
ContinueOutOfCombat'
[string "@ElvUI_ToxiUI/ModulesDeconstruct.lua"]:790: in function <...eElvUI_ToxiUI/ModulesDeconstruct.lua:786>
[string "=(tail call)"]: ?
[string "@ElvUI_ToxiUI/Core/Functions/Event.lua"]:252: in function <ElvUI_ToxiUI/Core/Functions/Event.lua:250>
[string "=[C]"]: ?
[string "@ElvUI_ToxiUI/Core/Functions/Event.lua"]:170: in function <ElvUI_ToxiUI/Core/Functions/Event.lua:169>
[string "=[C]"]: ?
[string "@ElvUI_ToxiUI/Core/Functions/Event.lua"]:173: in function TriggerEvent' [string "@ElvUI_ToxiUI/Core/Core.lua"]:132: in function
callback'
[string "@ElvUI_ToxiUI/Core/Functions/Event.lua"]:285: in function ContinueOutOfCombat' [string "@ElvUI_ToxiUI/Core/Core.lua"]:130: in function
callback'
[string "@ElvUI_ToxiUI/Core/Functions/Event.lua"]:312: in function ContinueAfter' [string "@ElvUI_ToxiUI/Core/Functions/Event.lua"]:351: in function
ContinueAfterElvUIUpdate'
[string "@ElvUI_ToxiUI/Core/Core.lua"]:101: in function <ElvUI_ToxiUI/Core/Core.lua:99>
[string "@ElvUI_ToxiUI/Core/Functions/Event.lua"]:379: in function <ElvUI_ToxiUI/Core/Functions/Event.lua:374>
[string "=[C]"]: ?
[string "@ElvUI_ToxiUI/Core/Functions/Event.lua"]:170: in function <ElvUI_ToxiUI/Core/Functions/Event.lua:169>
[string "=[C]"]: ?
[string "@ElvUI_ToxiUI/Core/Functions/Event.lua"]:173: in function `TriggerEvent'
[string "@ElvUI_ToxiUI/Core/Functions/Event.lua"]:388: in function <ElvUI_ToxiUI/Core/Functions/Event.lua:387>
Locals:
self =
SetDefaultModuleLibraries = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:363
IsRetail = true
DevTag = ""
EnableModule = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:328
modules =
}
CancelTimer = defined @ElvUI_Libraries/Core/Ace3/AceTimer-3.0/AceTimer-3.0.lua:147
IterateEmbeds = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:438
SecureHookScript = defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:409
LogTrace = defined @ElvUI_ToxiUI/Core/Functions/Log.lua:148
DevRelease = false
MetaFlavor = "Mainline"
HandleDevExports = defined @ElvUI_ToxiUI/Core/Commands.lua:52
Printf = defined @ElvUI_Libraries/Core/Ace3/AceConsole-3.0/AceConsole-3.0.lua:65
SetDefaultModulePrototype = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:405
HasRequirements = defined @ElvUI_ToxiUI/Core/Requirements.lua:6
defaultModuleState = true
IsEnabled = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:447
ScheduleTimer = defined @ElvUI_Libraries/Core/Ace3/AceTimer-3.0/AceTimer-3.0.lua:94
DisableModule = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:346
ThrowError = defined @ElvUI_ToxiUI/Core/Functions/Log.lua:83
RegisterModule = defined @ElvUI_ToxiUI/Core/Core.lua:23
RegisteredModules =
}
LogLevel = 3
GetArgs = defined @ElvUI_Libraries/Core/Ace3/AceConsole-3.0/AceConsole-3.0.lua:140
hooks =
}
UpdateProfiles = defined @ElvUI_ToxiUI/Core/Core.lua:27
SetEnabledState = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:420
Hook = defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:273
enabledState = true
HandleDevProfiles = defined @ElvUI_ToxiUI/Core/Commands.lua:6
IterateModules = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:433
Title = "|cffffffffToxi|r|cff18a8ffUI|r"
RawHook = defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:312
isEnabled = false
Enable = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:290
RegisterChatCommand = defined @ElvUI_Libraries/Core/Ace3/AceConsole-3.0/AceConsole-3.0.lua:81
Changelog =
}
GetModule = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:206
ExportProfile = defined @ElvUI_ToxiUI/Core/Export.lua:100
IsClassic = false
defaultModuleLibraries =
}
TimeLeft = defined @ElvUI_Libraries/Core/Ace3/AceTimer-3.0/AceTimer-3.0.lua:172
GitHash = "v6.5.0"
UnregisterChatCommand = defined @ElvUI_Libraries/Core/Ace3/AceConsole-3.0/AceConsole-3.0.lua:107
initializedSafe = true
ScheduleRepeatingTimer = defined @ElvUI_Libraries/Core/Ace3/AceTimer-3.0/AceTimer-3.0.lua:129
CancelAllTimers = defined @ElvUI_Libraries/Core/Ace3/AceTimer-3.0/AceTimer-3.0.lua:160
initialized = true
RawHookScript = defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:394
GetName = defined @ElvUI_Libraries/Core/Ace3/AceAddon-3.0/AceAddon-3.0.lua:275
LogInfo = defined @ElvUI_ToxiUI/Core/Functions/Log.lua:138
SetupDevRelease = defined @ElvUI_ToxiUI/Core/Core.lua:40
LogWarning = def
Can you attach a /tx status
image?
It should not error out on that line cause it does first check if S&L is enabled at all:
if F.IsAddOnEnabled("ElvUI_SLE") and E.private.sle and (E.private.sle.professions.deconButton.enable or E.private.sle.professions.enchant.enchScroll) then
I do see an issue with armory checking though, basically we check if the S&L armory is disabled in the database and we do not check for enabled addon at all, so you could have S&L uninstalled but the database would still show it as enabled. I'll fix that
@Quaantt I've released a v6.5.1-beta.7
build that includes some improvements for this issue. Could you please test with that and let me know if it resolves your issue?
edit: https://github.com/Toxicom/toxiui/releases/tag/v6.5.1-beta.7