[BUG] String Variables not processing comments
26209 opened this issue Β· 5 comments
π΅ Describe the bug:
No macros working, when attempting to edit and save a macro it says saved but the changes made do not save.
Getting a lua error.
π΅ To reproduce: (Steps to reproduce the behavior)
Trying to use any macro nothing happens, opening the editor works but anything input does not stay.
π΅ The error:
Paste the error message in this blockquote.
3x GSE\API\StringFunctions.lua:60: attempt to call method 'gsub' (a nil value)
[string "@GSE\API\StringFunctions.lua"]:60: in function `SplitMeIntolines'
[string "@GSE\API\StringFunctions.lua"]:357: in function `RemoveComments'
[string "@GSE\API\Storage.lua"]:1562: in function `processAction'
[string "@GSE\API\Storage.lua"]:1447: in function `processAction'
[string "@GSE\API\Storage.lua"]:1658: in function `CompileTemplate'
[string "@GSE\API\Storage.lua"]:594: in function `OOCUpdateSequence'
[string "@GSE\API\Events.lua"]:541: in function `?'
[string "@ElvUI\Libraries\Core\Ace\AceTimer-3.0\AceTimer-3.0-17.lua"]:55: in function <...vUI\Libraries\Core\Ace\AceTimer-3.0\AceTimer-3.0.lua:50>
π΅ Screenshots:
If applicable, add screenshots to help explain your problem.
π΅ Expected behavior:
I expect my macros to work, they were working until the updates this month to the addon.
π΅ GSE.lua file:
Please provide your GSE.lua
file or the export string for the specific macro that is causing an issue.
Not an issue with a specific macro, tried multiple different ones.
π΅ Desktop (please complete the following information):
- OS: windows 11
- Game Version: retail 9.2
π΅ GSE Version:
- Version: 3.0.65
- Downloaded From: curseforge
π΅ Additional context:
Add any other context about the problem here.
Mate, I need your GSE.lua file as this doesnβt happen for me. The macros plural that you are using are doing something different to the ones I have.
GSE.lua.txt
Here is my gse file, I am currently playing with ver 3.0.61 which works fine with my macros.
Same here:
Message: Interface\AddOns\GSE\API\StringFunctions.lua:60: attempt to call method 'gsub' (a nil value)
Time: Mon May 16 19:39:28 2022
Count: 1
Stack: Interface\AddOns\GSE\API\StringFunctions.lua:60: attempt to call method 'gsub' (a nil value)
[string "=[C]"]: in function `gsub'
[string "@Interface\AddOns\GSE\API\StringFunctions.lua"]:60: in function `SplitMeIntolines'
[string "@Interface\AddOns\GSE\API\StringFunctions.lua"]:357: in function `RemoveComments'
[string "@Interface\AddOns\GSE\API\Storage.lua"]:1562: in function `processAction'
[string "@Interface\AddOns\GSE\API\Storage.lua"]:1447: in function `processAction'
[string "@Interface\AddOns\GSE\API\Storage.lua"]:1658: in function `CompileTemplate'
[string "@Interface\AddOns\GSE\API\Storage.lua"]:594: in function `OOCUpdateSequence'
[string "@Interface\AddOns\GSE\API\Events.lua"]:541: in function `?'
[string "@Interface\AddOns\Ace3\AceTimer-3.0\AceTimer-3.0.lua"]:55: in function <Interface\AddOns\Ace3\AceTimer-3.0\AceTimer-3.0.lua:50>
Locals:
Caused by #1102