ToxiUI - ElvUI edit

ToxiUI - ElvUI edit

262k Downloads

ToxiUI Errors after update to latest

Stalmard opened this issue ยท 12 comments

commented

Started receiving LUA errors after updating to latest version. The error persisted even after renaming WTF folder. LUA error below:

10x ...I_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:43: attempt to index local 'configInfo' (a nil value)
[string "@ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua"]:43: in function `GetLoadoutName'
[string "@ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua"]:378: in function `UpdateElement'
[string "@ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua"]:408: in function `UpdateElements'
[string "@ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua"]:182: in function <...I_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:179>

Locals:
self = <table> {
 OnEnter = <function> defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:65
 spec2Text = FontString {
 }
 EnableModule = <function> defined @Decursive/Libs/AceAddon-3.0/AceAddon-3.0.lua:328
 modules = <table> {
 }
 baseName = "ElvUI_ToxiUI"
 IterateEmbeds = <function> defined @Decursive/Libs/AceAddon-3.0/AceAddon-3.0.lua:438
 LogTrace = <function> defined @ElvUI_ToxiUI/Core/Functions/Log.lua:148
 GetWrathCacheForSpec = <function> defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:189
 infoSpec = 3
 UpdatePosition = <function> defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:271
 defaultModuleState = true
 IsEnabled = <function> defined @Decursive/Libs/AceAddon-3.0/AceAddon-3.0.lua:447
 DisableModule = <function> defined @Decursive/Libs/AceAddon-3.0/AceAddon-3.0.lua:346
 ThrowError = <function> defined @ElvUI_ToxiUI/Core/Functions/Log.lua:83
 LogInfo = <function> defined @ElvUI_ToxiUI/Core/Functions/Log.lua:138
 UpdateSwitch = <function> defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:413
 forceHideSpec2 = false
 OnWunderBarUpdate = <function> defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:177
 enabledState = true
 infoText = FontString {
 }
 GetLoadoutName = <function> defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:35
 IterateModules = <function> defined @Decursive/Libs/AceAddon-3.0/AceAddon-3.0.lua:433
 UpdateElements = <function> defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:407
 isEnabled = false
 frame = Frame {
 }
 Module = TXUIWunderBarMiddlePanelModule1 {
 }
 UpdateSpecialization = <function> defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:227
 Enable = <function> defined @Decursive/Libs/AceAddon-3.0/AceAddon-3.0.lua:290
 numSpecs = 3
 Data = <table> {
 }
 GetModule = <function> defined @Decursive/Libs/AceAddon-3.0/AceAddon-3.0.lua:206
 specCache = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 CreateSwitch = <function> defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:421
 Initialized = true
 GetName = <function> defined @Decursive/Libs/AceAddon-3.0/AceAddon-3.0.lua:275
 name = "ElvUI_ElvUI_ToxiUI_WunderBar_SpecSwitch"
 SubModuleHolder = Frame {
 }
 UpdateInfoText = <function> defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:347
 Disable = <function> defined @Decursive/Libs/AceAddon-3.0/AceAddon-3.0.lua:310
 spec1Text = FontString {
 }
 OnInit = <function> defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:478
 SetDefaultModuleLibraries = <function> defined @Decursive/Libs/AceAddon-3.0/AceAddon-3.0.lua:363
 spec1 = 3
 IsModule = <function> defined @Decursive/Libs/AceAddon-3.0/AceAddon-3.0.lua:213
 NewModule = <function> defined @Decursive/Libs/AceAddon-3.0/AceAddon-3.0.lua:231
 SetDefaultModuleState = <function> defined @Decursive/Libs/AceAddon-3.0/AceAddon-3.0.lua:383
 OnClick = <function> defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:55
 OnLeave = <function> defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:75
 SetDefaultModulePrototype = <function> defined @Decursive/Libs/AceAddon-3.0/AceAddon-3.0.lua:405
 SpecEnter = <function> defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:85
 spec2Frame = Button {
 }
 LogWarning = <function> defined @ElvUI_ToxiUI/Core/Functions/Log.lua:133
 LogDebug = <function> defined @ElvUI_ToxiUI/Core/Functions/Log.lua:143
 spec1Icon = FontString {
 }
 SpecLeave = <function
commented

Would be great to have more information, like /tx status, how to reproduce, etc.

commented

image

I am not sure if that actually uploaded the /tx status screen snippet or not. Please let me know.

commented

@Stalmard I see you closed the issue, was the error resolved?

commented

Will do.

commented

No more fatalities! You are AWESOME!

commented

Awesome, thanks for the report!

commented

Sorry, I must have moved my mouse while sending the incident. The problem still exists.

commented

@Stalmard Have you noticed a pattern of when the error occurs? I haven't been able to reproduce it even once ๐Ÿ˜ž

commented

It happens on every log in to each toon. It will also happen each time you zone into a dungeon or instance. Those are the consistant ones I have. More than welcome to hop into discord and share my screen with you.

commented

Before we do that, could you show me what's the situation with your talent loadouts?
image

I also assume if you turn off Show Loadout Names, the error goes away?
image

commented

image

Error still happened after turning off "show load out names" with this info:

5x ...I_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:43: attempt to index local 'configInfo' (a nil value)
[string "@ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua"]:43: in function GetLoadoutName' [string "@ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua"]:378: in function UpdateElement'
[string "@ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua"]:408: in function `UpdateElements'
[string "@ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua"]:182: in function <...I_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:179>

Locals:
self =

{
OnEnter = defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:65
spec2Text = FontString {
}
EnableModule = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:328
modules =
{
}
baseName = "ElvUI_ToxiUI"
IterateEmbeds = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:438
LogTrace = defined @ElvUI_ToxiUI/Core/Functions/Log.lua:148
GetWrathCacheForSpec = defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:189
UpdatePosition = defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:271
defaultModuleState = true
IsEnabled = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:447
DisableModule = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:346
ThrowError = defined @ElvUI_ToxiUI/Core/Functions/Log.lua:83
LogInfo = defined @ElvUI_ToxiUI/Core/Functions/Log.lua:138
UpdateSwitch = defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:413
forceHideSpec2 = false
OnWunderBarUpdate = defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:177
enabledState = true
infoText = FontString {
}
GetLoadoutName = defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:35
IterateModules = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:433
UpdateElements = defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:407
isEnabled = false
frame = Frame {
}
Module = TXUIWunderBarMiddlePanelModule1 {
}
UpdateSpecialization = defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:227
Enable = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:290
numSpecs = 3
Data =
{
}
GetModule = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:206
specCache =
{
}
defaultModuleLibraries =
{
}
CreateSwitch = defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:421
Initialized = true
GetName = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:275
name = "ElvUI_ElvUI_ToxiUI_WunderBar_SpecSwitch"
SubModuleHolder = Frame {
}
UpdateInfoText = defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:347
Disable = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:310
spec1Text = FontString {
}
OnInit = defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:478
SetDefaultModuleLibraries = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:363
spec1 = 3
IsModule = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:213
NewModule = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:231
SetDefaultModuleState = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:383
OnClick = defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:55
OnLeave = defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:75
SetDefaultModulePrototype = defined @!KalielsTracker/Libs/AceAddon-3.0/AceAddon-3.0.lua:405
SpecEnter = defined @ElvUI_ToxiUI/Modules/WunderBar/SubModules/SpecSwitch.lua:85
spec2Frame = Button {
}
LogWarning = defined @ElvUI_ToxiUI/Core/Functions/Log.lua:133
LogDebug = defined @ElvUI_ToxiUI/Core/Fun

commented

Okay, it looks like you don't have a loadout selected and therefore it's erroring, which is weird, cause I did test this with a new character who also didn't have a loadout selected..

Regardless, I've added some extra code to check if the configInfo object is available before accessing it and releasing a v6.5.6-beta.1 as we speak -- do you mind testing with that beta build and see if that resolved your issue?

Build v6.5.6-beta.1