Spell list not showing
yannnss opened this issue ยท 13 comments
Can confirm this is happening to me as well.
Message: Interface\AddOns\OmniBar\Options.lua:120: bad argument #2 to 'format' (string expected, got nil)
Time: Wed Dec 12 02:27:37 2018
Count: 1
Stack: Interface\AddOns\OmniBar\Options.lua:120: bad argument #2 to 'format' (string expected, got nil)
[C]: in function `format'
Interface\AddOns\OmniBar\Options.lua:120: in function `member'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:220: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:168>
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:342: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:315>
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:959: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:955>
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1012: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:989>
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1670: in function `FeedGroup'
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1508: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1492>
[C]: ?
...ace\AddOns\BigDebuffs\Libs\AceGUI-3.0\AceGUI-3.0.lua:71: in function <...ace\AddOns\BigDebuffs\Libs\AceGUI-3.0\AceGUI-3.0.lua:69>
...ace\AddOns\BigDebuffs\Libs\AceGUI-3.0\AceGUI-3.0.lua:285: in function `Fire'
...Libs\AceGUI-3.0\widgets\AceGUIContainer-TabGroup.lua:156: in function `SelectTab'
...Libs\AceGUI-3.0\widgets\AceGUIContainer-TabGroup.lua:67: in function <...Libs\AceGUI-3.0\widgets\AceGUIContainer-TabGroup.lua:64>
I was able to fix this by adding a check for spell texture on line 101:
local spellTexture = GetSpellTexture(spellID) or ""
and passed spellTexture into the format call on line 121:
return format("|T%s:20|t %s", spellTexture, text)
I posted a solution above. Download my fork if you are too lazy to modify two lines of text..
@sammysammysammy you need to install the OmniBar addon from the zip file in your addons directory.
@Heavyballs in Options.lua