WeakAuras

WeakAuras

206M Downloads

LUA Error

LJReames opened this issue ยท 3 comments

commented

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

constant lue errors. Please help

WeakAuras Version

5.8.3

World of Warcraft Flavor

Retail (Default)

World of Warcraft Region

US/NA

Tested with only WeakAuras

  • Yes

Lua Error

Message: Lua error in aura 'Knowledge workshop v2': Custom Trigger Combination
WeakAuras Version: 5.8.3
Aura Version: 1.0.2
[string "return function(t)"]:3: attempt to call field 'showText' (a nil value)
Time: Sat Nov  4 09:28:32 2023
Count: 8
Stack: Lua error in aura 'Knowledge workshop v2': Custom Trigger Combination
WeakAuras Version: 5.8.3
Aura Version: 1.0.2
[string "return function(t)"]:3: attempt to call field 'showText' (a nil value)
[string "@Interface/AddOns/WeakAuras/WeakAuras.lua"]:111: in function `showText'
[string "return function(t)"]:3: in function <[string "return function(t)"]:1>
[string "=[C]"]: in function `xpcall'
[string "@Interface/AddOns/WeakAuras/WeakAuras.lua"]:4398: in function <Interface/AddOns/WeakAuras/WeakAuras.lua:4383>
[string "@Interface/AddOns/WeakAuras/WeakAuras.lua"]:4511: in function `UpdatedTriggerState'
[string "@Interface/AddOns/WeakAuras/GenericTrigger.lua"]:875: in function `ScanEventsInternal'
[string "@Interface/AddOns/WeakAuras/GenericTrigger.lua"]:821: in function `ScanEvents'
[string "@Interface/AddOns/WeakAuras/GenericTrigger.lua"]:1066: in function <Interface/AddOns/WeakAuras/GenericTrigger.lua:1051>

Locals: errorMessage = "[string "return function(t)"]:3: attempt to call field 'showText' (a nil value)"
prefix = "Lua error in aura 'Knowledge workshop v2': Custom Trigger Combination
WeakAuras Version: 5.8.3
Aura Version: 1.0.2
"
data = <table> {
 outline = "OUTLINE"
 wagoID = "hiVUgdjqq"
 parent = "Tama's Profession module"
 preferToUpdate = true
 customText = "function()
  aura_env.showText()
  return aura_env.text
end"
 shadowYOffset = -1
 anchorPoint = "CENTER"
 displayText_format_p_time_format = 0
 customTextUpdate = "event"
 url = "https://wago.io/TamasProfessionmodule/3"
 actions = <table> {
 }
 triggers = <table> {
 }
 displayText_format_p_time_mod_rate = true
 displayText_format_p_time_legacy_floor = false
 animation = <table> {
 }
 desc = "Thanks for using Tama's Dragonflight helper
if your haveing issue please let me know on https://wago.io/TamasDragonflightHelperand ill do me best to answer your question"
 font = "Expressway"
 version = 3
 subRegions = <table> {
 }
 load = <table> {
 }
 anchorFrameParent = false
 fontSize = 12
 source = "import"
 shadowXOffset = 1
 authorOptions = <table> {
 }
 internalVersion = 68
 fixedWidth = 200
 regionType = "text"
 automaticWidth = "Auto"
 displayText_format_p_format = "timed"
 xOffset = 15
 config = <table> {
 }
 displayText_format_p_time_precision = 1
 color = <table> {
 }
 yOffset = 0
 displayText = "%c"
 justify = "LEFT"
 tocversion = 100105
 id = "Knowledge workshop v2"
 semver = "1.0.2"
 frameStrata = 1
 anchorFrameType = "SCREEN"
 displayText_format_c_format = "none"
 uid = "xmUjetAY4fT"
 displayText_format_p_time_dynamic_threshold = 60
 selfPoint = "BOTTOM"
 shadowColor = <table> {
 }
 conditions = <table> {
 }
 information = <table> {
 }
 wordWrap = "WordWrap"
}
version = "1.0.2"
currentErrorHandlerId = "Knowledge workshop v2"
WeakAuras = <table> {
 IsSpellKnownForLoad = <function> defined @Interface/AddOns/WeakAuras/Prototypes.lua:1026
 normalWidth = 1.300000
 StopMotion = <table> {
 }
 GetRuneCooldown = <function> defined @Interface/AddOns/WeakAuras/GenericTrigger.lua:2383
 GetUnitFrame = <function> defined @Interface/AddOns/WeakAuras/Libs/LibGetFrame-1.0/LibGetFrame-1.0.lua:528
 CheckRange = <function> defined @Interface/AddOns/WeakAuras/Prototypes.lua:35
 ShowOverlayGlow = <function> defined @Interface/AddOns/ElvUI_Libraries/Core/LibCustomGlow-1.0/LibCustomGlow-1.0.lua:612
 RegisterItemCountWatch = <function> defined @Interface/AddOns/WeakAuras/GenericTrigger.lua:3678
 CheckForItemBonusId = <function> defined @Interface/AddOns/WeakAuras/GenericTrigger.lua:4364
 UnitCastingInfo = <function> defined =[C]:-1
 UnitNameWithRealm = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:5772
 InstanceTypeRaw = <function> defined @Interface/AddOns/WeakAuras/WeakAuras.lua:1561
 RealTimeProfilingWindow = WeakAurasReal

Reproduction Steps

It happens constantly

Last Good Version

No response

Screenshots

No response

Export String

No response

commented

The error in theaura 'Knowledge workshop v2'. Specifally in the Trigger Combination, which given the error message does something very strange.

You need to fix that aura yourself, ask the author for help, delete it or ask on our discord for help. This is not a bug in the addon, but in one specific aura.

commented

I don't have an aura called Knowledge Workshop.

commented

Then add your WeakAuras.lua file from the WTF folder.