WeakAuras

WeakAuras

208M Downloads

Lua Error- Hunter Specific - Freezing Trap

Tinkrtrain701 opened this issue ยท 1 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

Since the latest update for TWW, I get a Lua error. The function and expected result of the weak Aura seems to be working just fine just with a Lua errror. I am not an intelligent person so this is probably a simple fix. Feel free to explain it to me like I am 5, if I need to make a correction somewhere. I did test with only WeakAura enabled and the error still happens.

WeakAuras Version

5.16.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

Message: Lua error in aura 'Freezing Trap': init
WeakAuras Version: 5.16.1
Aura Version: 1.0.2
Stack trace:
[string "return function() aura_env.playerGUID = Uni..."]:5: attempt to call global 'GetSpellInfo' (a nil value)
Time: Sun Aug 18 12:24:42 2024
Count: 1
Stack: Lua error in aura 'Freezing Trap': init
WeakAuras Version: 5.16.1
Aura Version: 1.0.2
Stack trace:
[string "return function() aura_env.playerGUID = Uni..."]:5: attempt to call global 'GetSpellInfo' (a nil value)
[string "@Interface/AddOns/Blizzard_SharedXML/SharedBasicControls.lua"]:260: in function `DisplayMessage'
[string "@Interface/AddOns/Blizzard_SharedXML/SharedBasicControls.lua"]:363: in function <...ce/AddOns/Blizzard_SharedXML/SharedBasicControls.lua:361>
[string "@Interface/AddOns/Blizzard_SharedXML/SharedBasicControls.lua"]:378: in function <...ce/AddOns/Blizzard_SharedXML/SharedBasicControls.lua:377>
[string "@Interface/AddOns/WeakAuras/WeakAuras.lua"]:128: in function `GetSpellInfo'
[string "return function() aura_env.playerGUID = UnitGUID("player")"]:5: in function <[string "return function() aura_env.playerGUID = Uni..."]:1>
[string "=[C]"]: in function `xpcall'
[string "@Interface/AddOns/WeakAuras/AuraEnvironment.lua"]:374: in function `ActivateAuraEnvironment'
[string "@Interface/AddOns/WeakAuras/GenericTrigger.lua"]:1080: in function `ScanWithFakeEvent'
[string "@Interface/AddOns/WeakAuras/GenericTrigger.lua"]:1439: in function `LoadDisplays'
[string "@Interface/AddOns/WeakAuras/WeakAuras.lua"]:2038: in function `LoadDisplays'
[string "@Interface/AddOns/WeakAuras/WeakAuras.lua"]:1820: in function <Interface/AddOns/WeakAuras/WeakAuras.lua:1664>
[string "@Interface/AddOns/WeakAuras/WeakAuras.lua"]:2015: in function `Resume'
[string "@Interface/AddOns/WeakAuras/WeakAuras.lua"]:1288: in function <Interface/AddOns/WeakAuras/WeakAuras.lua:1247>

Locals: self = ScriptErrorsFrame {
 index = 0
 order = <table> {
 }
 ScrollFrame = ScrollFrame {
 }
 PreviousError = Button {
 }
 IndexLabel = FontString {
 }
 messageCount = 0
 count = <table> {
 }
 Close = Button {
 }
 NextError = Button {
 }
 DragArea = Frame {
 }
 warnType = <table> {
 }
 locals = <table> {
 }
 messageLimit = 1000
 Reload = Button {
 }
 Title = FontString {
 }
 messages = <table> {
 }
 times = <table> {
 }
 seen = <table> {
 }
}
msg = "Lua error in aura 'Freezing Trap': init
WeakAuras Version: 5.16.1
Aura Version: 1.0.2
Stack trace:
[string "return function() aura_env.playerGUID = Uni..."]:5: attempt to call global 'GetSpellInfo' (a nil value)"
warnType = false
keepHidden = false
messageType = 0
MESSAGE_TYPE_ERROR = 0
MESSAGE_TYPE_WARNING = 1

Reproduction Steps

This pops up every time I have a load screen. On login or simply transferring areas from a portal.

Last Good Version

No response

Screenshots

No response

Export String

WeakAuras 5.16.1 on WoW 110002

Aura: 'Freezing Trap'
Version: 1.0.2
Debug Log:
Aura loaded

https://wago.io/rJWGZTiim/5

Bisector Report

No report
commented

This is not a bug in WA, but an issue in your aura 'Freezing Trap'. You can ask on our discord for help with fixing that aura.