tullamods / tullaRange

Colors actionbuttons when out of range
https://tullamods.com/tullaRange
MIT License
18 stars 6 forks source link

Error after 11.0.0 update #35

Closed 40P3 closed 3 months ago

40P3 commented 4 months ago

Many thanks for the update I was waiting for it like a Messiah! :D Still error: 1x tullaRange_Config/colorOptions.lua:83: attempt to index local 'selector' (a nil value) [string "@tullaRange_Config/colorOptions.lua"]:83: in function UpdateWidgets' [string "@tullaRange_Config/colorOptions.lua"]:42: in function <tullaRange_Config/colorOptions.lua:41> [string "=[C]"]: in functionShow' [string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:968: in function DisplayLayout' [string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:909: in functionDisplayCategory' [string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:851: in function <.../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:844>

[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:144: in function <...eBlizzard_SharedXMLBase/CallbackRegistry.lua:143>

[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: in function `TriggerEvent' [string "@Blizzard_Settings_Shared/Blizzard_CategoryList.lua"]:143: in function <...s/Blizzard_Settings_Shared/Blizzard_CategoryList.lua:141>

Locals: self = tullaRangeColorOptions { name = "tullaRange" } (for state) =

{ 1 = "oor" 2 = "oom" 3 = "unusable" } (for control) = 1 = 1 type = "oor" selector = nil (temporary) = tullaRange_ColorOptions { name = "tullaRange" } (temporary) = nil (*temporary) = "attempt to index local 'selector' (a nil value)"

40P3 commented 4 months ago

3x tullaRange_Config/colorOptions.lua:96: attempt to index field 'ColorSelector' (a nil value) [string "@tullaRange_Config/colorOptions.lua"]:96: in function CreateColorSelector' [string "@tullaRange_Config/colorOptions.lua"]:54: in functionAddWidgets' [string "@tullaRange_Config/colorOptions.lua"]:32: in function `Load' [string "@tullaRange_Config/colorOptions.lua"]:111: in main chunk

string "=[C]": in function LoadAddOn' [string "@tullaRange/tullaRange.lua"]:26: in function <tullaRange/tullaRange.lua:25> [string "=[C]"]: in functionShow' [string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:483: in function SetUIPanel' [string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:290: in functionShowUIPanel' [string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:169: in function <...ParentPanelManager/Mainline/UIParentPanelManager.lua:164> string "=[C]": in function SetAttribute' [string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:874: in functionShowUIPanel' [string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:377: in function <.../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:375>

[string "@Blizzard_GameMenu/Standard/GameMenuFrame.lua"]:68: in function <Blizzard_GameMenu/Standard/GameMenuFrame.lua:65>

Locals: self = tullaRange_ColorOptions { name = "tullaRange" } type = "oor" (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (*temporary) = "attempt to index field 'ColorSelector' (a nil value)" Addon =

{ Slider = Slider { } L =
{ } ColorOptions = tullaRange_ColorOptions { } OptionsPanel = Frame { } }

40P3 commented 4 months ago

3x ...etullaRange_Config/widgets/colorSelector.lua:99: attempt to call global 'GetSpellBookItemTexture' (a nil value) [string "@tullaRange_Config/widgets/colorSelector.lua"]:99: in main chunk

string "=[C]": in function LoadAddOn' [string "@tullaRange/tullaRange.lua"]:26: in function <tullaRange/tullaRange.lua:25> [string "=[C]"]: in functionShow' [string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:483: in function SetUIPanel' [string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:290: in functionShowUIPanel' [string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:169: in function <...ParentPanelManager/Mainline/UIParentPanelManager.lua:164> string "=[C]": in function SetAttribute' [string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:874: in functionShowUIPanel' [string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:377: in function <.../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:375>

[string "@Blizzard_GameMenu/Standard/GameMenuFrame.lua"]:68: in function <Blizzard_GameMenu/Standard/GameMenuFrame.lua:65>

Locals: _ = "tullaRangeConfig" Addon =

{ L =
{ } } L =
{ oor = "Out of Range" Blue = "Blue" oom = "Out of Mana" Desaturate = "Desaturate" Green = "Green" unusable = "Unusable" ColorSettingsTitle = "tullaRange color configuration settings" ColorSettings = "Colors" Red = "Red" } tullaRange =
{ sets =
{ } frame = Frame { } } ColorChannels =
{ 1 = "Red" 2 = "Green" 3 = "Blue" 4 = "Opacity" } ColorSelector = Frame { mt =
{ } } SpellIcons =
{ } (for index) = 1 (for limit) = 5 (for step) = 1 i = 1 = "General" _ = 136830 offset = 0 numSlots = 20 tabEnd = 20 (for index) = 0 (for limit) = 19 (for step) = 1 j = 0 (temporary) = nil (temporary) = 0 (temporary) = "player" (temporary) = "attempt to call global 'GetSpellBookItemTexture' (a nil value)"

b-morgan commented 4 months ago

(I think this is a duplicate) 1x tullaRange_Config/colorOptions.lua:96: attempt to index field 'ColorSelector' (a nil value) [string "@tullaRange_Config/colorOptions.lua"]:96: in function CreateColorSelector' [string "@tullaRange_Config/colorOptions.lua"]:54: in functionAddWidgets' [string "@tullaRange_Config/colorOptions.lua"]:32: in function `Load' [string "@tullaRange_Config/colorOptions.lua"]:111: in main chunk

string "=[C]": in function LoadAddOn' [string "@tullaRange/tullaRange.lua"]:26: in function <tullaRange/tullaRange.lua:25> [string "=[C]"]: in functionShow' [string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:483: in function SetUIPanel' [string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:290: in functionShowUIPanel' [string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:169: in function <...ParentPanelManager/Mainline/UIParentPanelManager.lua:164> string "=[C]": in function SetAttribute' [string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:874: in function <...ParentPanelManager/Mainline/UIParentPanelManager.lua:852> [string "=[C]"]: in functionShowUIPanel' [string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:377: in function Open' [string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:384: in functionOpenToCategory' [string "@Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua"]:130: in function <.../Blizzard_Settings_Shared/Blizzard_SettingsPanel.lua:127> string "=[C]": in function `SetAttribute' [string "@Blizzard_Settings_Shared/Blizzard_SettingsInbound.lua"]:31: in function <...lizzard_Settings_Shared/Blizzard_SettingsInbound.lua:30>

[string "@Skillet/Skillet.lua"]:1610: in function `ShowOptions'

Locals: self = tullaRange_ColorOptions { name = "tullaRange" } type = "oor" (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (*temporary) = "attempt to index field 'ColorSelector' (a nil value)" Addon =

{ Slider = Slider { } L =
{ } ColorOptions = tullaRange_ColorOptions { } OptionsPanel = Frame { } }

Tuller commented 3 months ago

This was fixed in 11.0.0