WeakAuras

WeakAuras

200M Downloads

LUA Error on GetSpellInfo when attempting to create a weakaura via the premade template

duraz0rz opened this issue ยท 1 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

I was attempting to use the premade auras way to add a new weakaura for Healing Stream Totem.

When I selected the "Show Totem and Charge Information" option, a LUA error gets thrown, preventing the aura from being created.

The other options do work, but it would be nice for that option to work again. Creating a weakaura for paladin's Consecration also throws a similar error.

WeakAuras Version

5.17.1

World of Warcraft Flavor

Retail (Default)

World of Warcraft Region

US/NA

Tested with only WeakAuras

I have a Bisector Report

Lua Error

1x ...rfaceWeakAurasTemplates/TriggerTemplates.lua:324: attempt to call global 'GetSpellInfo' (a nil value)
[string "@WeakAurasTemplates/TriggerTemplates.lua"]:324: in function <...rfaceWeakAurasTemplates/TriggerTemplates.lua:318>
[string "@WeakAurasTemplates/TriggerTemplates.lua"]:681: in function `createTriggers'
[string "@WeakAurasTemplates/TriggerTemplates.lua"]:1290: in function <...rfaceWeakAurasTemplates/TriggerTemplates.lua:1288>
[string "@WeakAurasTemplates/TriggerTemplates.lua"]:1320: in function <...rfaceWeakAurasTemplates/TriggerTemplates.lua:1315>
[string "@WeakAurasTemplates/TriggerTemplates.lua"]:1557: in function <...rfaceWeakAurasTemplates/TriggerTemplates.lua:1542>

Locals:
triggers = <table> {
}
position = 1
item = <table> {
 type = "ability"
 description = "Summons a totem at your feet for 21 sec that heals an injured party or raid member within 52 yards for 24,566 every 1.7 sec.

If you already know |cffffffffHealing Stream Totem|r, instead gain 1 additional charge of |cffffffffHealing Stream Totem|r."
 talent = 127863
 title = "Healing Stream Totem"
 load = <table> {
 }
 spell = 5394
 totem = true
 icon = 135127
 charges = true
}
(*temporary) = <table> {
}
(*temporary) = <table> {
 type = "spell"
 event = "Totem"
 use_totemName = true
}
(*temporary) = nil
(*temporary) = 5394
(*temporary) = "attempt to call global 'GetSpellInfo' (a nil value)"
WeakAuras = <table> {
 normalWidth = 1.300000
 StopMotion = <table> {
 }
 raidUnits = <table> {
 }
 buildType = "release"
 EJIcons = <table> {
 }
 defaultFont = "Friz Quadrata TT"
 HiddenFrames = WeakAurasHiddenFrames {
 }
 partyUnits = <table> {
 }
 versionString = "5.17.1"
 newFeatureString = "|TInterface\OptionsFrame\UI-OptionsFrame-NewFeatureIcon:0|t"
 class_types = <table> {
 }
 L = <table> {
 }
 doubleWidth = 2.600000
 buildTime = "20240908210358"
 raidpetUnits = <table> {
 }
 class_ids = <table> {
 }
 spellCache = <table> {
 }
 GrowFunctions = <table> {
 }
 SortFunctions = <table> {
 }
 petUnitToUnit = <table> {
 }
 spec_types_specific = <table> {
 }
 genericTriggerTypes = <table> {
 }
 partypetUnits = <table> {
 }
 timer = <table> {
 }
 halfWidth = 0.650000
 BuildInfo = 110002
 item_weapon_types = <table> {
 }
 race_types = <table> {
 }
 defaultFontSize = 12
 unitToPetUnit = <table> {
 }
}

Reproduction Steps

  1. Click "+ New Aura"
  2. Select "Premade Auras" under the Simple header.
  3. Select "Icon"
  4. Select "Medium" (although any size probably works)
  5. For the class/spec, pick Shaman and Restoration.
  6. Select Cooldowns, then Healing Stream Totem.
  7. Click "Show Totem and Charge Information"
  8. Error gets thrown here.

Last Good Version

No response

Screenshots

No response

Export String

No response

Bisector Report

Bisect results:

report version: 2
addon version: v1.3.0
mode at print: done
bisect origin: cli
last test result: bad
Bisect took 1 out of (6-74) steps
Hints taken: 1
Addons ruled out: 36
Addons proved: 0

Narrowest set of addons that reproduces the issue:
|-- H:WeakAuras @ 5.17.1
|  |-- D:WeakAuras Archive @ 5.17.1
|  |-- D:WeakAuras Companion @ 5.2.4
|  |-- d:WeakAuras Model Paths @ 5.17.1
|  |-- d:WeakAuras Options @ 5.17.1
|  |  |--WeakAuras Model Paths...(see above)
|  |  |-- d:WeakAuras Templates @ 5.17.1
|  |--WeakAuras Templates...(see above)
|-- A:Bisector @ 1.1.2
|-- A:BugGrabber @ v10.2.6
|-- A:BugSack @ v11.0.0

Libraries:
LibCompress @ 90083
AceSerializer-3.0 @ 5
SpellRange-1.0 @ 24
AceGUISharedMediaWidgets-1.0 @ 9004
AceGUI-3.0 @ 41
LibUIDropDownMenu-4.0 @ 90135
AceConfigRegistry-3.0 @ 21
LibAPIAutoComplete-1.0 @ 3
AceGUI-3.0-DropDown-ItemBase @ 2000
LibSharedMedia-3.0 @ 8020003
AceConfig-3.0 @ 3
LibDeflate @ 1
AceConfigDialog-3.0 @ 87
LibSerialize @ 1
LibDataBroker-1.1 @ 4
LibGetFrame-1.0 @ 62
LibRangeCheck-3.0 @ 26
LibDispel-1.0 @ 10
LibSpecialization @ 10
CallbackHandler-1.0 @ 8
AceComm-3.0 @ 14
AceTimer-3.0 @ 17
LibCustomGlow-1.0 @ 20
LibDBIcon-1.0 @ 55
AceConfigCmd-3.0 @ 14