[BUG] Processing Loop Variables caused LUA Error with Repeat Blocks
sringo22 opened this issue ยท 3 comments
๐ต Describe the bug:
LUA error received after updating GSE Addon. Too many macro executions (5 or more) and the LUA pops up.
๐ต To reproduce: (Steps to reproduce the behavior)
multiple clicks of GSE Rotation leads to LUA error.
๐ต The error:
Paste the error message in this blockquote.
Message: Interface\AddOns\GSE\API\StringFunctions.lua:60: attempt to call method 'gsub' (a nil value)
Time: Fri Sep 16 08:50:58 2022
Count: 1
Stack: Interface\AddOns\GSE\API\StringFunctions.lua:60: attempt to call method 'gsub' (a nil value)
[string "@Interface\AddOns\GSE\API\StringFunctions.lua"]:60: in function `SplitMeIntolines'
[string "@Interface\AddOns\GSE\API\Translator.lua"]:33: in function `ProcessLoopVariables'
[string "@Interface\AddOns\GSE\API\Storage.lua"]:1179: in function `processAction'
[string "@Interface\AddOns\GSE\API\Storage.lua"]:1386: in function `CompileTemplate'
[string "@Interface\AddOns\GSE\API\Storage.lua"]:536: in function `OOCUpdateSequence'
[string "@Interface\AddOns\GSE\API\Events.lua"]:562: in function `?'
[string "@Interface\AddOns\Details\Libs\AceTimer-3.0\AceTimer-3.0.lua"]:55: in function <...ce\AddOns\Details\Libs\AceTimer-3.0\AceTimer-3.0.lua:50>
Locals: str = <table> {
Action = "~~KeyPress~~
/cast [combat] Victory Rush
~~KeyRelease~~
/use [combat,nochanneling] 13
/use [combat,nochanneling] 14"
Interval = 3
}
t = <table> {
}
helper = <function> defined @Interface\AddOns\GSE\API\StringFunctions.lua:55
(*temporary) = <function> defined @Interface\AddOns\GSE\API\StringFunctions.lua:55
(*temporary) = nil
(*temporary) = <table> {
Action = "~~KeyPress~~
/cast [combat] Victory Rush
~~KeyRelease~~
/use [combat,nochanneling] 13
/use [combat,nochanneling] 14"
Interval = 3
}
(*temporary) = "(.-)
?
"
(*temporary) = <function> defined @Interface\AddOns\GSE\API\StringFunctions.lua:55
(*temporary) = "attempt to call method 'gsub' (a nil value)"
GSE = <table> {
GetTimestamp = <function> defined @Interface\AddOns\GSE\API\StringFunctions.lua:257
GetClassIcon = <function> defined @Interface\AddOns\GSE\API\CharacterFunctions.lua:66
Update3023 = <function> defined @Interface\AddOns\GSE\API\OneOffEvents.lua:21
GetResetOOC = <function> defined @Interface\AddOns\GSE\API\CharacterFunctions.lua:185
RequestSequence = <function> defined @Interface\AddOns\GSE\API\Serialisation.lua:331
CloneSequence = <function> defined @Interface\AddOns\GSE\API\Storage.lua:37
SplitCastSequence = <function> defined @Interface\AddOns\GSE\API\StringFunctions.lua:65
ObjectExists = <function> defined @Interface\AddOns\GSE\API\StringFunctions.lua:252
RemoveComments = <function> defined @Interface\AddOns\GSE\API\StringFunctions.lua:341
GetCurrentTalents = <function> defined @Interface\AddOns\GSE\API\CharacterFunctions.lua:109
UnregisterComm = <function> defined @Interface\AddOns\Bagnon\common\Wildpants\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
StopOOCTimer = <function> defined @Interface\AddOns\GSE\API\Events.lua:548
OutputQueue = <table> {
}
MediaPath = "Interface\Addons\GSE\Media"
inArena = false
PerformOneOffEvents = <function> defined @Interface\AddOns\GSE\API\OneOffEvents.lua:6
DebugDumpButton = <function> defined @Interface\AddOns\GSE\API\Storage.lua:554
GetSpecNames = <function> defined @Interface\AddOns\GSE\API\CharacterFunctions.lua:95
inScenario = false
TableDiff = <function> defined @Interface\AddOns\GSE\API\StringFunctions.lua:314
inTimeWalking = false
GSSlash = <function> defined @Interface\AddOns\GSE\API\Events.lua:457
LoadStorage = <function> defined @Interface\AddOns\GSE\API\Storage.lua:255
inDungeon = false
UsedSequences = <table> {
}
PerformPrint = <function> defined @Interface\AddOns\GSE\API\Init.lua:83
ImportCompressedMacroCollection = <function> defined @Interface\AddOns\GSE\API\Storage.lua:289
LoadWeakAura = <function> defined @Interface\AddOns\GSE\API\CharacterFunctions.lua:142
UpdateIcon = <function> defined @Interface\AddOns\GSE\API\Storage.lua:744
ADDON_LOADED = <function> defined @Interface\AddOns\GSE\API\Events.lua:195
miniMapHide = <function> defined @Interface\AddOns\GSE_LDB\LDBProvider.lua:171
RegisterMessage = <function> defined @Interface\AddOns\Bagnon\common\Wildpants\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90
UnregisterMessage = <function> defined
๐ต Screenshots:
If applicable, add screenshots to help explain your problem.
๐ต Expected behavior:
No LUA errors
๐ต GSE.lua file:
Please provide your GSE.lua
file or the export string for the specific macro that is causing an issue.
#showtooltip
/click [button:2] EA_AW_OB RightButton; [button:3] EA_AW_OB MiddleButton; [button:4] EA_AW_OB Button4; [button:5] EA_AW_OB Button5; EA_AW_OB
๐ต Desktop (please complete the following information):
Windows 11 game version 9.2.7.45338
๐ต GSE Version:
- Version: 3.1.05-7
- Downloaded From: https://www.curseforge.com
๐ต Additional context:
Only started on last addon update.
This is not an issue with the normal 3.1.05 and has been fixed for the upcoming 3.1.06