WeakAuras

WeakAuras

200M Downloads

lua error when creating new spell trigger

Boneshockx opened this issue ยท 0 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

Error happens from f3a839c and later

WeakAuras Version

Dev f3a839

World of Warcraft Flavor

Beta (WoW 11.0)

World of Warcraft Region

EU

Tested with only WeakAuras

I got this issue with only WeakAuras enabled

Lua Error

20x bad argument #1 to '?' (Usage: local name = C_Spell.GetSpellName(spellIdentifier))
[string "=[C]"]: in function `GetSpellName'
[string "@WeakAuras/GenericTrigger.lua"]:3406: in function `GetEffectiveSpellId'
[string "@WeakAuras/Prototypes.lua"]:2205: in function `GetNameAndIcon'
[string "@WeakAuras/GenericTrigger.lua"]:1028: in function <WeakAuras/GenericTrigger.lua:1014>
[string "@WeakAuras/GenericTrigger.lua"]:1064: in function `CreateFakeStates'
[string "@WeakAuras/WeakAuras.lua"]:4527: in function `UpdateFakeStatesFor'
[string "@WeakAuras/WeakAuras.lua"]:4503: in function `FakeStatesFor'
[string "@WeakAuras/WeakAuras.lua"]:3191: in function <WeakAuras/WeakAuras.lua:3046>
[string "@WeakAuras/WeakAuras.lua"]:3215: in function `Add'
[string "@WeakAurasOptions/CommonOptions.lua"]:1734: in function <WeakAurasOptions/CommonOptions.lua:1726>
[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 "@AdvancedInterfaceOptions/libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <...ancedInterfaceOptions/libs/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@AdvancedInterfaceOptions/libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@AdvancedInterfaceOptions/libs/AceGUI-3.0-41/widgets/AceGUIWidget-DropDown.lua"]:432: in function <...ns/libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown.lua:423>
[string "=[C]"]: ?
[string "@AdvancedInterfaceOptions/libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <...ancedInterfaceOptions/libs/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@AdvancedInterfaceOptions/libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@AdvancedInterfaceOptions/libs/AceGUI-3.0-41/widgets/AceGUIWidget-DropDown-Items.lua"]:351: in function <...s/AceGUI-3.0/widgets/AceGUIWidget-DropDown-Items.lua:341>

Locals:
(*temporary) = "bad argument #1 to '?' (Usage: local name = C_Spell.GetSpellName(spellIdentifier))"

Reproduction Steps

Add a Trigger type: Spell to any aura

Last Good Version

5.14.4 or commit 05f7fd

Screenshots

No response

Export String

No response

Bisector Report

No response