WeakAuras

WeakAuras

206M Downloads

A nil value in new format options (again)

Nightwarden24 opened this issue · 0 comments

commented

Describe the bug

Using some text replacements (%s, %t, %n, %p and possibly others), %unit format and relevant options causes an error (a nil value). I can’t determine which particular combination of option values (Color, Realm name, Abbreviate) ​​leads to this. Each case seems to have its own.

Do you have an error log of what happened?

1x WeakAuras\AuraEnvironment.lua:94: attempt to index local 'input' (a nil value)
[string "@WeakAuras\AuraEnvironment.lua"]:94: in function <WeakAuras\AuraEnvironment.lua:90>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "@WeakAuras\WeakAuras-2.17.12.lua"]:6567: in function <WeakAuras\WeakAuras.lua:6545>
[string "@WeakAuras\WeakAuras-2.17.12.lua"]:6739: in function `ReplacePlaceHolders'
[string "@WeakAuras\SubRegionTypes\SubText.lua"]:256: in function `?'
[string "@WeakAuras\RegionTypes\RegionPrototype.lua"]:33: in function `Notify'
[string "@WeakAuras\WeakAuras-2.17.12.lua"]:6317: in function <WeakAuras\WeakAuras.lua:6314>
[string "@WeakAuras\WeakAuras-2.17.12.lua"]:6400: in function <WeakAuras\WeakAuras.lua:6367>
[string "@WeakAuras\WeakAuras-2.17.12.lua"]:6484: in function `UpdatedTriggerState'
[string "@WeakAuras\WeakAuras-2.17.12.lua"]:6254: in function `UpdateFakeStatesFor'
[string "@WeakAuras\WeakAuras-2.17.12.lua"]:6227: in function `FakeStatesFor'
[string "@WeakAuras\WeakAuras-2.17.12.lua"]:4730: in function <WeakAuras\WeakAuras.lua:4618>
[string "@WeakAuras\WeakAuras-2.17.12.lua"]:4750: in function `Add'
[string "@WeakAurasOptions\WeakAurasOptions-2.17.12.lua"]:2704: in function <WeakAurasOptions\WeakAurasOptions.lua:2693>
[string "=[C]"]: ?
[string "@WeakAuras\Libs\AceConfig-3.0-3\AceConfigDialog-3.0\AceConfigDialog-3.0-79.lua"]:51: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:49>
[string "@WeakAuras\Libs\AceConfig-3.0-3\AceConfigDialog-3.0\AceConfigDialog-3.0-79.lua"]:843: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:664>
[string "=[C]"]: ?
[string "@WeakAuras\Libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:72: in function <...faceWeakAuras\Libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@WeakAuras\Libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:306: in function `Fire'
[string "@WeakAuras\Libs\AceGUI-3.0-41\widgets\AceGUIWidget-CheckBox.lua"]:68: in function <...as\Libs\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:57>

To Reproduce

Steps to reproduce the behavior:
Minimal example

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?
Addons are disabled at the moment

Which version of WeakAuras are you using?

2.17.12

Are you on World of Warcraft Classic or Retail?

  • Retail

Was it working in a previous version? If yes, which was the last good one?
I have no clue

Additional Info

By the way, the Max char slider shouldn't accept, set and display non-integer numbers