LUA error in beta
Ravenwylde opened this issue ยท 12 comments
Message: ...dOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua:2047: attempt to call upvalue 'ShouldSkipAuraUpdate' (a nil value)
Time: Thu Sep 15 15:04:59 2022
Count: 4
Stack: ...dOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua:2047: attempt to call upvalue 'ShouldSkipAuraUpdate' (a nil value)
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:2047: in function <...dOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua:2026>
Locals: widget_frame = Frame {
0 =
Debuffs = Frame {
}
CrowdControl = Frame {
}
Active = true
HideAuras = false
Buffs = Frame {
}
Widget =
}
unit =
}
}
event = "UNIT_AURA"
unitid = "nameplate1"
is_full_update =
updatedAuraInstanceIDs =
}
isFullUpdate = false
}
updated_aura_infos = nil
unit =
guid = "Creature-0-2084-2444-2703-196017-0003A355ED"
isMouseover = false
class = ""
IsFocus = false
IsBossOrRare = false
level = 62
red = 1
levelcolorRed = 1
unitid = "nameplate1"
HasUnlimitedAuras = true
isMini = false
style = "normal"
TP_DetailedUnitType = "Neutral"
isElite = false
isMarked = false
isInCombat = false
threatSituation = "LOW"
levelcolorBlue = 0
threatValue = 0
isBoss = false
health = 77345
blue = 0
name = "Pudgy Riverbeast"
healthmax = 77345
isTarget = false
levelcolorGreen = 0.820000
NPCID = "196017"
type = "NPC"
isTapped = false
classification = "normal"
isCasting = false
IsInterrupted = false
reaction = "NEUTRAL"
green = 1
isRare = false
}
db =
DefaultBuffColor =
}
ShowCooldownSpiral = false
CrowdControl =
}
ShowTargetOnly = false
FrameOrder = "HEALTHBAR_AURAS"
FlashWhenExpiring = false
ShowOmnicCC = false
SwitchAreaByReaction = true
ShowInHeadlineView = false
FlashTime = 5
ShowAuraType = true
ShowStackCount = true
ShowDuration = true
ShowTooltips = false
SortReverse = false
DefaultDebuffColor =
}
Highlight =
}
SortOrder = "TimeLeft"
Buffs =
}
ON = true
Debuffs =
}
}
unit_is_friendly = false
enabled_buffs = true
enabled_debuffs = true
enabled_cc = true
(*temporary) = nil
(*temporary) =
updatedAuraInstanceIDs =
}
isFullUpdate = false
}
(*temporary) = nil
(*temporary) = defined @Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua:1995
(*temporary) =
guid = "Creature-0-2084-2444-2703-196017-0003A355ED"
isMouseover = false
class = ""
IsFocus = false
IsBossOrRare = false
level = 62
red = 1
levelcolorRed = 1
unitid = "nameplate1"
HasUnlimitedAuras = true
isMini = false
style = "normal"
TP_DetailedUnitType = "Neutral"
isElite = false
isMarked = false
isInCombat = false
threatSituation = "LOW"
levelcolorBlue = 0
threatValue = 0
isBoss = false
health = 77345
blue = 0
name = "Pudgy Riverbeast"
healthmax = 77345
isTarget = false
levelcolorGreen = 0.820000
NPCID = "196017"
type = "NPC"
isTapped = false
classification = "normal"
isCasting = false
IsInterrupted = false
reaction = "NEUTRAL"
green = 1
isRare = false
}
(*temporary) = false
(*temporary) = true
(*temporary) = true
(*temporary) = true
(*temporary) = "attempt to call upvalue 'ShouldSkipAuraUpdate' (a nil value)"
Widget =
UpdateSettingsIconMode = defined @Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua:2715
CrowdControl =
}
UnregisterAllEvents = defined @Interface/AddOns/TidyPlates_ThreatPlates/Widgets/WidgetHandler.lua:104
FilterEnemyDebuffsBySpell = defined @Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua:1247
WidgetHandler =
}
FilterEnemyBuffsBySpell = defined @Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua:1289
TEXTURE_BORDER = "Interface\AddOns\TidyPlates_ThreatPlates\Artwork\squareline"
FilterFriendlyDebuffsBySpell = defined @Interface/AddOns/TidyPlates_ThreatPlates/Widgets/Aur
You can try this version - it works on PTR: https://github.com/Backupiseasy/ThreatPlates/releases/tag/11.0.0-alpha2
I did not yet do a lot of testing though.
LUA Error when trying to access the app, and when screens load.
Message: ...es/Libs/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:193: attempt to call method 'SetMinResize' (a nil value)
Time: Wed Sep 28 10:09:32 2022
Count: 1
Stack: ...es/Libs/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:193: attempt to call method 'SetMinResize' (a nil value)
[string "=(tail call)"]: ?
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Libs/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua"]:193: in function ?' [string "@Interface/AddOns/TidyPlates_ThreatPlates/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:108: in function <...dyPlates_ThreatPlates/Libs/AceGUI-3.0/AceGUI-3.0.lua:97> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:146: in function
Create'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua"]:1916: in function Open' [string "@Interface/AddOns/TidyPlates_ThreatPlates/Options.lua"]:10357: in function
OpenOptions'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Options.lua"]:10280: in function <Interface/AddOns/TidyPlates_ThreatPlates/Options.lua:10279>
[string "=[C]"]: ?
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua"]:51: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:49>
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua"]:847: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:668>
[string "=[C]"]: ?
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:72: in function <...dyPlates_ThreatPlates/Libs/AceGUI-3.0/AceGUI-3.0.lua:70>
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:306: in function `Fire'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Libs/AceGUI-3.0/widgets/AceGUIWidget-Icon.lua"]:26: in function <...Plates/Libs/AceGUI-3.0/widgets/AceGUIWidget-Icon.lua:25>
Locals:
Do you have Ace3 installed seperately (or from another addon) or are you using the embedded one?
For the time being, you could install the most recent alpha version of Ace3 (see https://www.wowace.com/projects/ace3/files). Once installed, it will be used instead of the embedded one. Ace3 is still work in progress for DF, so - I guess - something like this is to be expected.
Installed that from the link you provided. Getting the following LUA error now.
Message: Interface/AddOns/TidyPlates_ThreatPlates/Core.lua:312: attempt to index field '?' (a nil value)
Time: Thu Sep 29 18:37:19 2022
Count: 1
Stack: Interface/AddOns/TidyPlates_ThreatPlates/Core.lua:312: attempt to index field '?' (a nil value)
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Core.lua"]:312: in function CheckForFirstStartUp' [string "@Interface/AddOns/TidyPlates_ThreatPlates/Core.lua"]:422: in function <Interface/AddOns/TidyPlates_ThreatPlates/Core.lua:421> [string "=[C]"]: ? [string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:66: in function <Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua:61> [string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:523: in function
EnableAddon'
[string "@Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua"]:626: in function <Interface/AddOns/Ace3/AceAddon-3.0/AceAddon-3.0.lua:611>
[string "=[C]"]: in function LoadAddOn' [string "@Interface/FrameXML/UIParent.lua"]:530: in function
UIParentLoadAddOn'
[string "@Interface/FrameXML/UIParent.lua"]:739: in function MajorFactions_LoadUI' [string "@Interface/AddOns/Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:102: in function
SetUpMajorFactionList'
[string "@Interface/AddOns/Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:95: in function RefreshMajorFactionList' [string "@Interface/AddOns/Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:90: in function
RefreshOverlay'
[string "@Interface/AddOns/Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:82: in function <...sionLandingPage/Blizzard_DragonflightLandingPage.lua:78>
[string "=[C]"]: in function CreateFrame' [string "@Interface/AddOns/Blizzard_ExpansionLandingPage/Blizzard_DragonflightLandingPage.lua"]:56: in function
CreateOverlay'
[string "@Interface/AddOns/Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:59: in function `RefreshExpansionOverlay'
[string "@Interface/AddOns/Blizzard_ExpansionLandingPage/Blizzard_ExpansionLandingPage.lua"]:31: in function <...pansionLandingPage/Blizzard_ExpansionLandingPage.lua:26>
Locals:
Then when attacking something I get:
Message: ...nterface/AddOns/TidyPlates_ThreatPlates/Database.lua:78: attempt to index upvalue 'PLAYER_ROLE_BY_SPEC' (a nil value)
Time: Thu Sep 29 18:49:15 2022
Count: 2
Stack: ...nterface/AddOns/TidyPlates_ThreatPlates/Database.lua:78: attempt to index upvalue 'PLAYER_ROLE_BY_SPEC' (a nil value)
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Database.lua"]:78: in function PlayerRoleIsTank' [string "@Interface/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua"]:367: in function
SetStyle'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:349: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:346>
[string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:389: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:376>
[string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:487: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:482>
[string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:1270: in function `?'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:1069: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:1068>
Locals: self =
{UIScaleChanged = defined @Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:1820
CheckForIncompatibleAddons = defined @Interface/AddOns/TidyPlates_ThreatPlates/Core.lua:337
PrintFriendlist = defined @Interface/AddOns/TidyPlates_ThreatPlates/Widgets/SocialWidget.lua:373
Theme =
}
UseUniqueWidget = true
TotemCreatureType = "Totem"
LibAceConfigDialog =
}
UpdateExtensions = defined @Interface/AddOns/TidyPlates_ThreatPlates/Widgets/TidyPlatesExtensions.lua:90
AurasFilterMode =
}
UpdateUnitCondition = defined @Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:597
UpdateConfigurationStatusText = defined @Interface/AddOns/TidyPlates_ThreatPlates/Functions/healthtext.lua:336
SetThemes = defined @Interface/AddOns/TidyPlates_ThreatPlates/Styles/init.lua:17
ANCHOR_POINT_SETPOINT =
}
CheckTableStructure = defined @Interface/AddOns/TidyPlates_ThreatPlates/Init.lua:328
CVars =
}
GetThreatColor = defined @Interface/AddOns/TidyPlates_ThreatPlates/Functions/healthbarcolor.lua:192
InitializeCustomNameplates = defined @Interface/AddOns/TidyPlates_ThreatPlates/Options.lua:395
ImportProfile = defined @Interface/AddOns/TidyPlates_ThreatPlates/Database.lua:1555
ProfChange = defined @Interface/AddOns/TidyPlates_ThreatPlates/Options.lua:10290
SpecName = defined @Interface/AddOns/TidyPlates_ThreatPlates/Core.lua:144
GetThreatStyle = defined @Interface/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua:178
SetStyle = defined @Interface/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua:320
OpenOptions = defined @Interface/AddOns/TidyPlates_ThreatPlates/Options.lua:10352
SetThreatColor = defined @Interface/AddOns/TidyPlates_ThreatPlates/Functions/threatcolor.lua:38
MigrateDatabase = defined @Interface/AddOns/TidyPlates_ThreatPlates/Database.lua:1337
CustomPlateGetHeaderName = defined @Interface/AddOns/TidyPlates_ThreatPlates/Options.lua:377
Font =
}
ForceUpdate = defined @Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:1904
UpdateStyleForStatusText = defined @Interface/AddOns/TidyPlates_ThreatPlates/Functions/healthtext.lua:324
UnitStyle_AuraTrigger_UpdateStyle = defined @Interface/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua:276
UpdateCustomStyleIcon = defined @Interface/AddOns/TidyPlates_ThreatPlates/Widgets/UniqueIconWidget.lua:
I just tested it. It's working fine on the PTR, so not sure what is causing this on the beta.
Getting these error myself with the alpha2 and latest ace3:
Message: ...nterface/AddOns/TidyPlates_ThreatPlates/Database.lua:572: attempt to get length of local 'keys' (a boolean value)
Time: Sat Oct 1 12:25:59 2022
Count: 1
Stack: ...nterface/AddOns/TidyPlates_ThreatPlates/Database.lua:572: attempt to get length of local 'keys' (a boolean value)
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Database.lua"]:572: in function <...nterface/AddOns/TidyPlates_ThreatPlates/Database.lua:571>
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Database.lua"]:1210: in function Function' [string "@Interface/AddOns/TidyPlates_ThreatPlates/Database.lua"]:1458: in function <...nterface/AddOns/TidyPlates_ThreatPlates/Database.lua:1436> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Database.lua"]:1481: in function
MigrateDatabase'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Addon.lua"]:226: in function CheckForFirstStartUp' [string "@Interface/AddOns/TidyPlates_ThreatPlates/Addon.lua"]:369: in function <Interface/AddOns/TidyPlates_ThreatPlates/Addon.lua:313> [string "=[C]"]: ? [string "@Interface/AddOns/TidyPlates_ThreatPlates/Libs/AceAddon-3.0/AceAddon-3.0.lua"]:70: in function <...ates_ThreatPlates/Libs/AceAddon-3.0/AceAddon-3.0.lua:65> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Libs/AceAddon-3.0/AceAddon-3.0.lua"]:498: in function
InitializeAddon'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Libs/AceAddon-3.0/AceAddon-3.0.lua"]:623: in function <...ates_ThreatPlates/Libs/AceAddon-3.0/AceAddon-3.0.lua:615>
Locals:
I uploaded a new version for Dragonflight that at least should work on the PTR, not sure if it will work on Beta as well as I cannot test that. The new version is available here: https://github.com/Backupiseasy/ThreatPlates/releases/tag/11.0.0-alpha3