WeakAuras / WeakAuras2

World of Warcraft addon that provides a powerful framework to display customizable graphics on your screen.
https://weakauras.wtf
GNU General Public License v2.0
1.27k stars 312 forks source link

Template throwing error #5439

Closed aromagnoli closed 2 hours ago

aromagnoli commented 2 hours ago

Is there an existing issue for this?

Description

As a Discipline Priest I tried to make a WA using the Templates feature and a GetSpellInfo error was thrown when I tried to create a Voidwrath tracker.

WeakAuras Version

WeakAuras 5.17.1

World of Warcraft Flavor

Retail (Default)

World of Warcraft Region

US/NA

Tested with only WeakAuras

I got this issue with only WeakAuras enabled

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"]:876: 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 = "Summon a Voidwraith for 15 sec that casts Void Flay from afar. Void Flay deals bonus damage to high health enemies, up to a maximum of 50% if they are full health.

|cFFFFFFFFGenerates 0.5% Mana each time the Voidwraith attacks.|r"
 totem = true
 title = "Voidwraith"
 herotalent = 123841
 load = <table> {
 }
 requiresTarget = true
 icon = 615099
 spell = 451235
}
(*temporary) = <table> {
}
(*temporary) = <table> {
 type = "spell"
 event = "Totem"
 use_totemName = true
}
(*temporary) = nil
(*temporary) = 451235
(*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

As Disc Priest > Open WA > New Aura > Premade Aura > Icon > Cooldowns > Voidwrath > Show CD and Totem Info

Last Good Version

Never tried.

Screenshots

image

Export String

I can't export. I can't create it.

Bisector Report

No response

InfusOnWoW commented 2 hours ago

That's already fixed for the next release.