10.2.7 Lua errors
JeeveStobs opened this issue ยท 2 comments
After 10.2.7 was released (today) the GladiusEx arena frames do not load. Additionally, the following lua errors are thrown:
Message: Interface/AddOns/GladiusEx/modules/highlight.lua:211: attempt to index field '?' (a nil value)
Time: Tue May 7 17:44:31 2024
Count: 2
Stack: Interface/AddOns/GladiusEx/modules/highlight.lua:211: attempt to index field '?' (a nil value)
[string "@Interface/AddOns/GladiusEx/modules/highlight.lua"]:211: in function `Show'
[string "@Interface/AddOns/GladiusEx/GladiusEx.lua"]:1023: in function `ShowUnit'
[string "@Interface/AddOns/GladiusEx/GladiusEx.lua"]:822: in function `?'
[string "@Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:119: in function <...her/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:29: in function <...her/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25>
[string "@Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:64: in function `Fire'
[string "@Interface/AddOns/BagBrother/libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <...AddOns/BagBrother/libs/AceEvent-3.0/AceEvent-3.0.lua:119>
Locals: self = <table> {
SetDefaultModuleLibraries = <function> defined @Interface/AddOns/Details/Libs/AceAddon-3.0/AceAddon-3.0.lua:363
Enable = <function> defined @Interface/AddOns/Details/Libs/AceAddon-3.0/AceAddon-3.0.lua:290
UnregisterAllEvents = <function> defined @Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
EnableModule = <function> defined @Interface/AddOns/Details/Libs/AceAddon-3.0/AceAddon-3.0.lua:328
modules = <table> {
}
GetModule = <function> defined @Interface/AddOns/Details/Libs/AceAddon-3.0/AceAddon-3.0.lua:206
IterateEmbeds = <function> defined @Interface/AddOns/Details/Libs/AceAddon-3.0/AceAddon-3.0.lua:438
defaultModuleLibraries = <table> {
}
defaults_arena = <table> {
}
SetDefaultModulePrototype = <function> defined @Interface/AddOns/Details/Libs/AceAddon-3.0/AceAddon-3.0.lua:405
GetOptions = <function> defined @Interface/AddOns/GladiusEx/modules/highlight.lua:228
GetFrames = <function> defined @Interface/AddOns/GladiusEx/modules/highlight.lua:80
name = "GladiusEx_Highlight"
IsEnabled = <function> defined @Interface/AddOns/Details/Libs/AceAddon-3.0/AceAddon-3.0.lua:447
orderedModules = <table> {
}
DisableModule = <function> defined @Interface/AddOns/Details/Libs/AceAddon-3.0/AceAddon-3.0.lua:346
frame = <table> {
}
Disable = <function> defined @Interface/AddOns/Details/Libs/AceAddon-3.0/AceAddon-3.0.lua:310
dbi_party = <table> {
}
RegisterMessage = <function> defined @Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterMessage = <function> defined @Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
Update = <function> defined @Interface/AddOns/GladiusEx/modules/highlight.lua:149
dbi_arena = <table> {
}
baseName = "GladiusEx"
super = <table> {
}
Test = <function> defined @Interface/AddOns/GladiusEx/modules/highlight.lua:224
IsModule = <function> defined @Interface/AddOns/Details/Libs/AceAddon-3.0/AceAddon-3.0.lua:213
db = <table> {
}
SetDefaultModuleState = <function> defined @Interface/AddOns/Details/Libs/AceAddon-3.0/AceAddon-3.0.lua:383
Show = <function> defined @Interface/AddOns/GladiusEx/modules/highlight.lua:209
CreateFrame = <function> defined @Interface/AddOns/GladiusEx/modules/highlight.lua:133
SetEnabledState = <function> defined @Interface/AddOns/Details/Libs/AceAddon-3.0/AceAddon-3.0.lua:420
UNIT_TARGET = <function> defined @Interface/AddOns/GladiusEx/modules/highlight.lua:84
enabledState = true
OnDisable = <function> defined @Interface/AddOns/GladiusEx/modules/highlight.lua:74
RegisterEvent = <function> defined @Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterAllMessages = <function> defined @Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
OnEnable = <function> defined @Interface/AddOns/
Message: Interface/AddOns/GladiusEx/GladiusEx.lua:1621: bad argument #2 to '?' (Usage: self:SetJustifyV(justifyV))
Time: Tue May 7 17:43:05 2024
Count: 1
Stack: Interface/AddOns/GladiusEx/GladiusEx.lua:1621: bad argument #2 to '?' (Usage: self:SetJustifyV(justifyV))
[string "=[C]"]: in function `?'
[string "@Interface/AddOns/GladiusEx/GladiusEx.lua"]:1621: in function <Interface/AddOns/GladiusEx/GladiusEx.lua:1619>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/GladiusEx/modules/tags.lua"]:387: in function `Update'
[string "@Interface/AddOns/GladiusEx/GladiusEx.lua"]:1453: in function `fn'
[string "@Interface/AddOns/GladiusEx/libs/LibFunctional-1.0/functional.lua"]:209: in function `each'
[string "@Interface/AddOns/GladiusEx/GladiusEx.lua"]:1452: in function `UpdateUnit'
[string "@Interface/AddOns/GladiusEx/GladiusEx.lua"]:701: in function `?'
[string "@Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:119: in function <...her/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:29: in function <...her/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25>
[string "@Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:64: in function `Fire'
[string "@Interface/AddOns/BagBrother/libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <...AddOns/BagBrother/libs/AceEvent-3.0/AceEvent-3.0.lua:119>
Locals: (*temporary) = FontString {
0 = <userdata>
}
(*temporary) = "CENTER"
Message: Interface/AddOns/GladiusEx/GladiusEx.lua:1621: bad argument #2 to '?' (Usage: self:SetJustifyV(justifyV))
Time: Tue May 7 17:43:04 2024
Count: 1
Stack: Interface/AddOns/GladiusEx/GladiusEx.lua:1621: bad argument #2 to '?' (Usage: self:SetJustifyV(justifyV))
[string "=[C]"]: in function `?'
[string "@Interface/AddOns/GladiusEx/GladiusEx.lua"]:1621: in function <Interface/AddOns/GladiusEx/GladiusEx.lua:1619>
[string "=(tail call)"]: ?
[string "@Interface/AddOns/GladiusEx/modules/tags.lua"]:387: in function `Update'
[string "@Interface/AddOns/GladiusEx/GladiusEx.lua"]:1453: in function `fn'
[string "@Interface/AddOns/GladiusEx/libs/LibFunctional-1.0/functional.lua"]:209: in function `each'
[string "@Interface/AddOns/GladiusEx/GladiusEx.lua"]:1452: in function `UpdateUnit'
[string "@Interface/AddOns/GladiusEx/GladiusEx.lua"]:509: in function `UpdatePartyFrames'
[string "@Interface/AddOns/GladiusEx/GladiusEx.lua"]:577: in function `UpdateFrames'
[string "@Interface/AddOns/GladiusEx/GladiusEx.lua"]:709: in function `ARENA_PREP_OPPONENT_SPECIALIZATIONS'
[string "@Interface/AddOns/GladiusEx/GladiusEx.lua"]:675: in function `?'
[string "@Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:119: in function <...her/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:29: in function <...her/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25>
[string "@Interface/AddOns/BagBrother/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:64: in function `Fire'
[string "@Interface/AddOns/BagBrother/libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <...AddOns/BagBrother/libs/AceEvent-3.0/AceEvent-3.0.lua:119>
Locals: (*temporary) = FontString {
0 = <userdata>
}
(*temporary) = "CENTER"
temporary work around if you want to edit it yourself is to go to gladiusex/modules, open the tags.lua file, change lines 371 and 372 from
local hjustify = (strfind(position, "RIGHT") and "RIGHT") or (strfind(position, "LEFT") and "LEFT") or "CENTER"
local vjustify = (strfind(position, "TOP") and "TOP") or (strfind(position, "BOTTOM") and "BOTTOM") or "CENTER"
to
local hjustify = (strfind(position, "RIGHT") and "RIGHT") or (strfind(position, "LEFT") and "LEFT") or "MIDDLE"
local vjustify = (strfind(position, "CENTER") and "CENTER") or (strfind(position, "BOTTOM") and "BOTTOM") or "MIDDLE"
I'm not entirely sure if I changed too much but I just know this works for now until an official release is pushed.
temporary work around if you want to edit it yourself is to go to gladiusex/modules, open the tags.lua file, change lines 371 and 372 from local hjustify = (strfind(position, "RIGHT") and "RIGHT") or (strfind(position, "LEFT") and "LEFT") or "CENTER" local vjustify = (strfind(position, "TOP") and "TOP") or (strfind(position, "BOTTOM") and "BOTTOM") or "CENTER"
to
local hjustify = (strfind(position, "RIGHT") and "RIGHT") or (strfind(position, "LEFT") and "LEFT") or "MIDDLE" local vjustify = (strfind(position, "CENTER") and "CENTER") or (strfind(position, "BOTTOM") and "BOTTOM") or "MIDDLE"
I'm not entirely sure if I changed too much but I just know this works for now until an official release is pushed.
Thanks for posting this, was trying to figure it out myself but thought I'd check here.