ElvUI WindTools

ElvUI WindTools

3M Downloads

[Bug] LUA error after logging in

KurtzPT opened this issue ยท 7 comments

commented

Using latest WindTools (2.36), after logging in I get the following LUA error:

Message: ...s\ElvUI_WindTools\Modules\Skins\Widgets\CheckBox.lua:12: attempt to index field 'widgets' (a nil value)
Time: Mon May 23 17:23:21 2022
Count: 1
Stack: ...s\ElvUI_WindTools\Modules\Skins\Widgets\CheckBox.lua:12: attempt to index field 'widgets' (a nil value)
[string "@Interface\AddOns\ElvUI_WindTools\Modules\Skins\Widgets\CheckBox.lua"]:12: in function `HandleAce3CheckBox'
[string "@Interface\AddOns\ElvUI_WindTools\Modules\Skins\Widgets\CheckBox.lua"]:33: in function `Ace3_CheckBoxSetDesaturated'
[string "@Interface\AddOns\ElvUI\Core\Modules\Skins\Ace3.lua"]:158: in function <Interface\AddOns\ElvUI\Core\Modules\Skins\Ace3.lua:130>
[string "=[C]"]: in function `Ace3_RegisterAsWidget'
[string "@Interface\AddOns\ElvUI\Core\Modules\Skins\Ace3.lua"]:506: in function <Interface\AddOns\ElvUI\Core\Modules\Skins\Ace3.lua:504>
[string "=(tail call)"]: ?
[string "@Interface\AddOns\AddOnSkins\Libs\Ace3\AceGUI-3.0\AceGUI-3.0.lua"]:108: in function <...ddOns\AddOnSkins\Libs\Ace3\AceGUI-3.0\AceGUI-3.0.lua:97>
[string "@Interface\AddOns\AddOnSkins\Libs\Ace3\AceGUI-3.0\AceGUI-3.0.lua"]:146: in function `Create'
[string "@Interface\AddOns\MountJournalEnhanced\Settings\OptionsPanel.lua"]:8: in function <...ddOns\MountJournalEnhanced\Settings\OptionsPanel.lua:7>
[string "@Interface\AddOns\MountJournalEnhanced\Settings\OptionsPanel.lua"]:37: in function <...ddOns\MountJournalEnhanced\Settings\OptionsPanel.lua:24>
[string "@Interface\AddOns\MountJournalEnhanced\Settings\OptionsPanel.lua"]:56: in function <...ddOns\MountJournalEnhanced\Settings\OptionsPanel.lua:53>
[string "=[C]"]: ?
[string "@Interface\SharedXML\CallbackRegistry.lua"]:118: in function <Interface\SharedXML\CallbackRegistry.lua:117>
[string "=[C]"]: ?
[string "@Interface\SharedXML\CallbackRegistry.lua"]:121: in function `TriggerEvent'
[string "@Interface\AddOns\MountJournalEnhanced\MountJournalEnhanced.lua"]:57: in function <...AddOns\MountJournalEnhanced\MountJournalEnhanced.lua:46>
[string "=[C]"]: in function `LoadAddOn'
[string "@Interface\FrameXML\UIParent.lua"]:544: in function `UIParentLoadAddOn'
[string "@Interface\FrameXML\UIParent.lua"]:667: in function `TimeManager_LoadUI'
[string "@Interface\FrameXML\UIParent.lua"]:1454: in function <Interface\FrameXML\UIParent.lua:1337>
[string "=[C]"]: ?

Locals: self = <table> {
 SetDefaultModuleLibraries = <function> defined @Interface\AddOns\ElvUI\Libraries\Core\Ace\AceAddon-3.0\AceAddon-3.0.lua:367
 Enable = <function> defined @Interface\AddOns\ElvUI\Libraries\Core\Ace\AceAddon-3.0\AceAddon-3.0.lua:294
 NewModule = <function> defined @Interface\AddOns\ElvUI\Libraries\Core\Ace\AceAddon-3.0\AceAddon-3.0.lua:235
 IsUglyYellow = <function> defined @Interface\AddOns\ElvUI_WindTools\Modules\Skins\Widgets\Core.lua:12
 EnableModule = <function> defined @Interface\AddOns\ElvUI\Libraries\Core\Ace\AceAddon-3.0\AceAddon-3.0.lua:332
 modules = <table> {
 }
 GetModule = <function> defined @Interface\AddOns\ElvUI\Libraries\Core\Ace\AceAddon-3.0\AceAddon-3.0.lua:210
 IterateEmbeds = <function> defined @Interface\AddOns\ElvUI\Libraries\Core\Ace\AceAddon-3.0\AceAddon-3.0.lua:442
 SecureHookScript = <function> defined @Interface\AddOns\ElvUI\Libraries\Core\Ace\AceHook-3.0\AceHook-3.0.lua:410
 defaultModuleLibraries = <table> {
 }
 Ace3_RegisterAsContainer = <function> defined @Interface\AddOns\ElvUI_WindTools\Modules\Skins\Widgets\Core.lua:97
 RawHookScript = <function> defined @Interface\AddOns\ElvUI\Libraries\Core\Ace\AceHook-3.0\AceHook-3.0.lua:395
 GetName = <function> defined @Interface\AddOns\ElvUI\Libraries\Core\Ace\AceAddon-3.0\AceAddon-3.0.lua:279
 name = "ElvUI_WindTools_WidgetSkins"
 HandleTab = <function> defined @Interface\AddOns\ElvUI_WindTools\Modules\Skins\Widgets\Tab.lua:13
 IsEnabled = <function> defined @Interface\AddOns\ElvUI\Libraries\Core\Ace\AceAddon-3.0\AceAddon-3.0.lua:451
 orderedModules = <table> {
 }
 DisableModule = <function> defined @Interface\AddOns\ElvUI\Libraries\Core\Ace\AceAddon-3.0\AceAddon-3.0.lua:350

I can stop the error if I disable the following setting:

image

This just started after updating WindTools, before I didn't have it.

commented

did you test only with elvui+windtools?

commented

Ok just tried out with MountJournalEnhanced disabled and it doesn't error out. But I didn't update MountJournalEnhanced at all, only WindTools. Should I ask the MountJournalEnhanced dev for a fix?

commented

It seems the addon load too early

commented

@KurtzPT you can try 2.37-alpha-1, I have added some experimental codes may be helped.

commented

Tried out right now and it seems the error disappears.

commented

I hope it has been fixed :)
If you meet the errors again, reopen this issue.

commented

I got another error using the alpha after a bit of time. Opening another issue after I get it again since I forgot to copy the text.