Broken macro [insert macro name] was unable to be programmed. This macro will not fire until errors in the macro are corrected.
neofodder opened this issue ยท 1 comments
๐ต Describe the bug:
First I was getting a lua error after I crated a new loop (block path 2) and moved the macro spell from block path 1 into it. The spell was Beacon of virtue. After this no macros would fire, nothing would save (pending save) If I modified anything it would revert.
๐ต To reproduce: (Steps to reproduce the behavior)
no reproduction as it has bricked the addon. Now when I try to make a new macro it will give an error saying
Broken macro [insert macro name] was unable to be programmed. This macro will not fire until errors in the macro are corrected. bad argument #1 to '?' (Usage: local spellInfo = C_Spell.GetSpellInfo(spellIdentifier))
๐ต The error:
Paste the error message in this blockquote.
๐ต Screenshots:
If applicable, add screenshots to help explain your problem.
๐ต Expected behavior:
A clear and concise description of what you expected to happen.
the macro to work :(
๐ต GSE.lua file:
Please provide your GSE.lua
file or the export string for the specific macro that is causing an issue.
- To find the GSE.lua file:
- First, make sure you have enabled the "File Name Extensions" checkbox in Explorer (View tab)
- Browse to
C:\path\to\wow\_retail_\WTF\Account\YourAccountName\SavedVariables\
or/path/to/WoW/_retail_/WTF/Account/YourAccountName/SavedVariables
- Copy the
GSE.lua
file to your Desktop - Rename this copy to
GSA.lua.txt
- Then just drag it here in your message
- Note: If you do not include your GSE.lua file you are wasting your time and mine. 90% of the time, the first thing I will ask for is "Can you please upload your GSE.lua file?". This file is needed with the error to work out Why that error occured for you.
๐ต Desktop (please complete the following information):
testing1 GSE.txt
GSE.lua.txt
- OS: [Windows 10 Professional (x64) Build 19045.4894 (22H2)
- Game Version Retail
๐ต GSE Version: current version rollback attempt (didnt help)
- Version: 3.2.14-a-5-g3cc5981-PatronBuild
- Downloaded From: discord
- Started on most current CurseForge Version
- Version 3.2.14-c.zip
๐ต Additional context:
Just started today, it was throwing the following error but stopped after I deleted version :
Message: Interface/AddOns/GSE/API/Storage.lua:686: bad argument #1 to 'sub' (string expected, got table)
Time: Sat Sep 21 20:07:46 2024
Count: 2
Stack: Interface/AddOns/GSE/API/Storage.lua:686: bad argument #1 to 'sub' (string expected, got table)
[string "=[C]"]: in function sub'
[string "@Interface/AddOns/GSE/API/Storage.lua"]:686: in function <Interface/AddOns/GSE/API/Storage.lua:672>
[string "@Interface/AddOns/GSE/API/Storage.lua"]:877: in function processAction'
[string "@Interface/AddOns/GSE/API/Storage.lua"]:761: in function processAction'
[string "@Interface/AddOns/GSE/API/Storage.lua"]:932: in function CompileTemplate'
[string "@Interface/AddOns/GSE/API/Storage.lua"]:274: in function func'
[string "@Interface/AddOns/GSE/API/Storage.lua"]:207: in function PerformReloadSequences'
[string "@Interface/AddOns/GSE/API/Events.lua"]:278: in function ?'
[string "@Interface/AddOns/AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:109: in function <...ings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@Interface/AddOns/AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:19: in function <...ings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Interface/AddOns/AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:54: in function Fire'
[string "@Interface/AddOns/GatherMate2/Libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <...ddOns/GatherMate2/Libs/AceEvent-3.0/AceEvent-3.0.lua:119>
Locals: (temporary) =
{macro = "/cast 53563"
type = "macro"
Interval = "3"
Type = "Repeat"
}
(temporary) = 1
(temporary) = 1
(temporary) = "string expected, got table"
First I was getting a lua error after I crated a new loop (block path 2) and moved the macro spell from block path 1 into it
This was the error - you moved the block into the loop but out of reference space. It had gone to location 3 but there wasn't a two so the Lua implementation of ipairs() that iterates through the sequence was broken as there was a 1 and a 3 but not a 2. The fix for this is to export the sequence, delete it - import it privately into wago.io - fix the reference and then reimport it. Alternatively you could have cleared the Out of Combat queue and added a block in the middle.