Arxareon / WidgetTools

World of Warcraft addon providing a development toolset as a foundation for other addons mainly focused on utilities and UI widget management.
2 stars 0 forks source link

TWW lua error = [, character] #2

Open n0proxy opened 2 months ago

n0proxy commented 2 months ago

Since TWW, I've been getting a lua error pop up quite often when clicking on other addons or when in the Blizzard options menu. I don't notice anything actually broken because of it, but I'm seeing it pop up quite often. Bugsack:

39x WidgetTools/Main.lua:500: bad argument #1 to 'GetAddOnEnableState' (Usage: local state = C_AddOns.GetAddOnEnableState(name [, character]))
[string "=[C]"]: in function `GetAddOnEnableState'
[string "@WidgetTools/Main.lua"]:500: in function `convertLoad'
[string "@WidgetTools/WidgetToolbox.lua"]:1343: in function `LoadOptionsData'
[string "@WidgetTools/WidgetToolbox.lua"]:2992: in function `load'
[string "@WidgetTools/WidgetToolbox.lua"]:3053: in function `OnRefresh'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:9: in function <.../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:7>
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:514: in function <.../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:513>
[string "=[C]"]: in function `xpcall'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:477: in function <.../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:474>
[string "=[C]"]: in function `secureexecuterange'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:481: in function <.../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:474>
[string "=[C]"]: in function `secureexecuterange'
...
[string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:888: in function <...ParentPanelManager/Mainline/UIParentPanelManager.lua:866>
[string "=[C]"]: in function `ShowUIPanel'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:262: in function `Open'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:269: in function `OpenToCategory'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsInbound.lua"]:158: in function <...lizzard_Settings_Shared/Blizzard_SettingsInbound.lua:155>
[string "=[C]"]: in function `SetAttribute'
[string "@Blizzard_Settings_Shared/Blizzard_SettingsInbound.lua"]:61: in function <...lizzard_Settings_Shared/Blizzard_SettingsInbound.lua:60>
[string "=(tail call)"]: ?
[string "@MinimapRangeExtender/config.lua"]:130: in function `OnClick'
[string "@ChocolateBar/Chocolate.lua"]:295: in function <ChocolateBar/Chocolate.lua:292>

Locals:
(*temporary) = nil
(*temporary) = "WidgetTools"
Mindriel commented 1 month ago

Hi there, I second this. Same behaviour. Pretty annoying. Tried to fix it on my own, but didn't get very far with debugging.

Arxareon commented 1 month ago

This should be fixed with the next update. Try version 2.0 of WidgetTools (currently in beta) - used by 3.0 beta of Movement Speed.