Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lua error when creating new spell trigger #5308

Closed
1 task done
Boneshockx opened this issue Aug 11, 2024 · 0 comments
Closed
1 task done

lua error when creating new spell trigger #5308

Boneshockx opened this issue Aug 11, 2024 · 0 comments
Labels
⏱ Awaiting Response This ticket hasn't been triaged yet. 🐛 Bug This is a problem with WeakAuras.

Comments

@Boneshockx
Copy link
Contributor

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

@Boneshockx Boneshockx added the 🐛 Bug This is a problem with WeakAuras. label Aug 11, 2024
@github-actions github-actions bot added the ⏱ Awaiting Response This ticket hasn't been triaged yet. label Aug 11, 2024
mrbuds added a commit to mrbuds/WeakAuras2 that referenced this issue Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⏱ Awaiting Response This ticket hasn't been triaged yet. 🐛 Bug This is a problem with WeakAuras.
Projects
None yet
Development

No branches or pull requests

1 participant