Grid2

Grid2

11M Downloads

Class colors stopped working

Pudzianos opened this issue ยท 2 comments

commented

Hello, it seems like class colors for Grid2 stopped working
Wow_WIhkcBy3UK
Wow_nsQBJKtZuL

Bugsack error after I tried to change color manually:



1x Grid2Options/modules/statuses/StatusColor.lua:25: attempt to index local 'c' (a nil value)
[string "@Grid2Options/modules/statuses/StatusColor.lua"]:25: in function <Grid2Options/modules/statuses/StatusColor.lua:22>
[string "=[C]"]: ?
[string "@AdvancedInterfaceOptions/libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:45: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:43>
[string "@AdvancedInterfaceOptions/libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:839: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:661>
[string "=[C]"]: ?
[string "@Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <Ace3/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@Ace3/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@Ace3/AceGUI-3.0-41/widgets/AceGUIWidget-ColorPicker.lua"]:35: in function <...Ace3/AceGUI-3.0/widgets/AceGUIWidget-ColorPicker.lua:21>
[string "@Ace3/AceGUI-3.0-41/widgets/AceGUIWidget-ColorPicker.lua"]:74: in function `swatchFunc'
[string "@Blizzard_FrameXML/Mainline/ColorPickerFrame.lua"]:8: in function <...dOns/Blizzard_FrameXML/Mainline/ColorPickerFrame.lua:4>

Locals:
_ = <table> {
 1 = "statuses"
 2 = "color"
 3 = "classcolor"
 4 = "settings"
 5 = "color-SHAMAN"
 uiType = "dialog"
 type = "color"
 options = <table> {
 }
 option = <table> {
 }
 uiName = "AceConfigDialog-3.0"
 handler = <table> {
 }
 appName = "Grid2"
}
r = 0.364706
g = 0.439216
b = 1
a = 1
colorKey = "Shaman"
c = nil
(*temporary) = 0.364706
(*temporary) = 0.439216
(*temporary) = 1
(*temporary) = "attempt to index local 'c' (a nil value)"
status = <table> {
 indicators = <table> {
 }
 priorities = <table> {
 }
 dbx = <table> {
 }
 name = "classcolor"
 enabled = true
}
type = "SHAMAN"
translation = "Shaman"

commented

Working fine here (I am assuming your are playing retail):

  1. Verify the grid2 version (Goto General/About tab to view the version), should be 2.8.44 or 2.8.46 beta.
  2. Try disabling all other addons.
  3. Try with a different profile (maybe your profile is corrupted). If this is the case there is "Reset Colors" button in the classcolor status configuration that may fix the issue. Try pushing the reset colors button and reload the UI.
commented

Sorry, it was error on my end. I discovered I had "Class Colors" addon (last update 2018 lol) which broke it. After disabling it it works correctly.

Thanks :)