ElvUI Enhanced Again (DF)

ElvUI Enhanced Again (DF)

1M Downloads

Indexing 'nil' value field

evazquez00 opened this issue ยท 3 comments

commented

With the update of ElvUI to v11.341, I did a complete wipe and re-configure of my UI.

There was quite a bit of new weirdness, so I stripped everything out except for ElvUI and CodeNameBlaze (my two main mods).

I then started adding previous mods one-by-one.

When I got to ElvUI_Enhanced_Again, oddness started again, so I removed everything except ElvUI and Enhanced_Again.

On calling the ElvUI Configurator /ec, an error was displayed:

Time: Wed Feb  5 12:06:29 2020
Count: 1
Stack: Interface\AddOns\ElvUI_Enhanced\config\options.lua:530: attempt to index field 'general' (a nil value)
[string "=[C]"]: ?
[string "@Interface\AddOns\ElvUI_Enhanced\config\options.lua"]:530: in function `TooltipOptions'
[string "@Interface\AddOns\ElvUI_Enhanced\config\options.lua"]:778: in function `callback'
[string "@Interface\AddOns\ElvUI\Libraries\LibElvUIPlugin-1.0\LibElvUIPlugin-1.0.lua"]:162: in function <...\Libraries\LibElvUIPlugin-1.0\LibElvUIPlugin-1.0.lua:156>
[string "=[C]"]: ?
[string "@Interface\AddOns\ElvUI\Core\Config.lua"]:1038: in function `?'
[string "@Interface\AddOns\ElvUI\Libraries\Ace3\AceConsole-3.0\AceConsole-3.0.lua"]:94: in function `?'
[string "@Interface\FrameXML\ChatFrame.lua"]:4859: in function `ChatEdit_ParseText'
[string "@Interface\FrameXML\ChatFrame.lua"]:4523: in function `ChatEdit_SendText'
[string "@Interface\FrameXML\ChatFrame.lua"]:4559: in function <Interface\FrameXML\ChatFrame.lua:4555>
[string "=[C]"]: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals:

As there's not a lot of detail, I added the tool "!Swatter" from the Auctioneer add-on, which gives a lot of good debug info:

ID: 11
Error occured in: Global
Count: 1
Message: ..\AddOns\ElvUI_Enhanced\config\options.lua line 530:
   attempt to index field 'general' (a nil value)
Debug:
   [string "@ElvUI_Enhanced\config\options.lua"]:530: TooltipOptions()
   [string "@ElvUI_Enhanced\config\options.lua"]:778: callback()
   [string "@ElvUI\Libraries\LibElvUIPlugin-1.0\LibElvUIPlugin-1.0.lua"]:162:
      ...\Libraries\LibElvUIPlugin-1.0\LibElvUIPlugin-1.0.lua:156
   [string "=[C]"]: ?
   [string "@ElvUI\Core\Config.lua"]:1038: ?()
   [string "@ElvUI\Libraries\Ace3\AceConsole-3.0\AceConsole-3.0.lua"]:94: ?()
   [string "@..\FrameXML\ChatFrame.lua"]:4859: ChatEdit_ParseText()
   [string "@..\FrameXML\ChatFrame.lua"]:4523: ChatEdit_SendText()
   [string "@..\FrameXML\ChatFrame.lua"]:4559:
      ..\FrameXML\ChatFrame.lua:4555
   [string "=[C]"]: ChatEdit_OnEnterPressed()
   [string "*:OnEnterPressed"]:1:
      [string "*:OnEnterPressed"]:1
Locals:
self = <table> {
 SetDefaultModuleLibraries = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:367
 Enable = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:294
 NewModule = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:235
 EnableModule = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:332
 modules = <table> {
 }
 GetModule = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:210
 IterateEmbeds = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:442
 defaultModuleLibraries = <table> {
 }
 WatchFrame = <function> defined @Interface\AddOns\ElvUI_Enhanced\config\options.lua:701
 MiscOptions = <function> defined @Interface\AddOns\ElvUI_Enhanced\config\options.lua:394
 SetDefaultModulePrototype = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:409
 GetOptions = <function> defined @Interface\AddOns\ElvUI_Enhanced\config\options.lua:771
 MapOptions = <function> defined @Interface\AddOns\ElvUI_Enhanced\config\options.lua:258
 name = "ElvUI_EnhancedOptions"
 Initialize = <function> defined @Interface\AddOns\ElvUI_Enhanced\config\options.lua:834
 IsEnabled = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:451
 orderedModules = <table> {
 }
 DisableModule = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:350
 RegisterMessage = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
 UnregisterMessage = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
 IncompatibleAddOn2 = <function> defined @Interface\AddOns\ElvUI_Enhanced\config\options.lua:811
 baseName = "ElvUI_Enhanced"
 CheckIncompatible = <function> defined @Interface\AddOns\ElvUI_Enhanced\config\options.lua:819
 IsModule = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:217
 EquipmentOptions = <function> defined @Interface\AddOns\ElvUI_Enhanced\config\options.lua:85
 SetDefaultModuleState = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:387
 IncompatibleAddOn = <function> defined @Interface\AddOns\ElvUI_Enhanced\config\options.lua:800
 UnitFramesOptions = <function> defined @Interface\AddOns\ElvUI_Enhanced\config\options.lua:538
 SetEnabledState = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:424
 TooltipOptions = <function> defined @Interface\AddOns\ElvUI_Enhanced\config\options.lua:529
 enabledState = true
 RaidMarkerOptions = <function> defined @Interface\AddOns\ElvUI_Enhanced\config\options.lua:460
 RegisterEvent = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
 UnregisterAllMessages = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
 NameplateOptions = <function> defined @Interface\AddOns\ElvUI_Enhanced\config\options.lua:445
 UnregisterAllEvents = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
 DataTextOptions = <function> defined @Interface\AddOns\ElvUI_Enhanced\config\options.lua:43
 IterateModules = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:437
 defaultModuleState = true
 SendMessage = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:59
 GetName = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:279
 moduleName = "EnhancedOptions"
 UnregisterEvent = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
 Disable = <function> defined @Interface\AddOns\ElvUI\Libraries\Ace3\AceAddon-3.0\AceAddon-3.0.lua:314
}
(*temporary) = nil
(*tempora
AddOns:
  Swatter, v8.3.BETA-4-4 (NzothsFolly)
  ElvUI, v11.341
  ElvUIEnhanced, v3.4.3
  ElvUIOptionsUI, v1.07
  BlizRuntimeLib_enUS v8.3.0.80300 <none>
  (ck=132)

I'm not sure if this is a change in the ElvUI libraries, or a change in _Enhanced_Again, but the overall impact beyond the errors, is that configuration "tabs" for other add-ons such as CodeNameBlaze vanish from the Config Interface (and thus cannot be managed, configured, etc.).

Once _Enhanced_Again is removed /disabled, the tabs are visible in the Config Interface.

Version (please complete the following information):

  • Version ElvUI retail 11.341
  • Version Elvui_Enhanced tag 9d2e08906429dcf554725cbef699b9646702f659 3.4.3
commented

Thanks for the report. It seems this comes up with a clean install. I'll try to reproduce this tonight.

commented

#102 Will fix this error. It's just some changes to E.Options.

commented

Thanks to @cr4ckp0t this should be fix with version 3.4.4