TimothyLuke / GSE-Advanced-Macro-Compiler

GSE is an alternative advanced macro editor and engine for World of Warcraft.
https://discord.gg/gseunited
MIT License
216 stars 73 forks source link

[BUG] /gse not working throwing LUA errors #1493

Closed Rykeen-sargeras closed 4 months ago

Rykeen-sargeras commented 4 months ago

🔵 Describe the bug: A clear and concise description of what the bug is. /gse wont open from fresh beta install being the only addon installed throwing lua errors 🔵 To reproduce: (Steps to reproduce the behavior) I am able to replicate this by uninstalling the beta, deleting the beta folder, reinstalling the beta, installing only gse 3.2.0.0 beta4 from #gse-resources.

🔵 The error: Paste the error message in this blockquote.

Message: Interface/AddOns/GSE/API/Storage.lua:192: bad argument #1 to 'pairs' (table expected, got nil)
Time: Sat Jul 13 10:06:53 2024
Count: 1
Stack: Interface/AddOns/GSE/API/Storage.lua:192: bad argument #1 to 'pairs' (table expected, got nil)
[string "@Interface/AddOns/GSE/API/Storage.lua"]:192: in function `PerformReloadSequences'
[string "@Interface/AddOns/GSE/API/Storage.lua"]:183: in function `ReloadSequences'
[string "@Interface/AddOns/GSE/API/Events.lua"]:334: in function `?'
[string "@Interface/AddOns/GSE/Lib/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:109: in function <.../GSE/Lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@Interface/AddOns/GSE/Lib/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:19: in function <.../GSE/Lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Interface/AddOns/GSE/Lib/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@Interface/AddOns/GSE/Lib/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <...terface/AddOns/GSE/Lib/AceEvent-3.0/AceEvent-3.0.lua:119>
[string "=[C]"]: in function `CameraOrSelectOrMoveStop'
[string "CAMERAORSELECTORMOVE"]:4: in function <[string "CAMERAORSELECTORMOVE"]:1>

Locals: GSE = <table> {
 modules = <table> {
 }
 MediaPath = "Interface\Addons\GSE\Media"
 inArena = false
 GUIRecordFrame = <table> {
 }
 inDungeon = false
 UsedSequences = <table> {
 }
 UnsavedOptions = <table> {
 }
 Patron = true
 TranslatorAvailable = true
 TranslatorLanguageTables = <table> {
 }
 name = "GSE"
 GUIImportFrame = <table> {
 }
 PrintAvailable = true
 L = <table> {
 }
 defaultModuleState = true
 GameMode = 11
 Utils = true
 ProfileStop = 75095274.505500
 AdditionalLanguagesAvailable = false
 inHeroic = false
 GUICompressFrame = <table> {
 }
 GUICacheFrame = <table> {
 }
 GUITransmissionFrame = <table> {
 }
 WagoAnalytics = <table> {
 }
 inRaid = false
 MacroPreviewFrame = <table> {
 }
 BooleanVariables = <table> {
 }
 OutputQueue = <table> {
 }
 CurrentGCD = 0
 DebugOutput = ""
 Static = <table> {
 }
 PVPFlag = false
 inMythicPlus = false
 inParty = false
 Library = <table> {
 }
 RecorderActive = false
 inScenario = false
 VersionString = "3.2.00-beta4-PatronBuild"
 GUICompareFrame = <table> {
 }
 baseName = "GSE"
 SequenceDebugOutput = ""
 GUIVariableFrame = <table> {
 }
 LDB = true
 GUIMacroFrame = <table> {
 }
 OOCQueue = <table> {
 }
 enabledState = true
 GUIDebugFrame = <table> {
 }
 GUIExportframe = <table> {
 }
 inTimeWalking = false
 OOCTimer = <table> {
 }
 GUIkeybindingframe = <table> {
 }
 GCDLDB = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 StandardAddInPacks = <table> {
 }
 GUI = <table> {
 }
 orderedModules = <table> {
 }
 GUIEditFrame = <table> {
 }
 VersionNumber = 3200
 inMythic = false
 V = <table> {
 }
 SequencesExec = <table> {
 }
 Pause = <table> {
 }
}
Statics = <table> {
 StringFormatEscapes = <table> {
 }
 ReversePriority = "ReversePriority"
 CastCmds = <table> {
 }
 TranslationShadow = "SHADOW"
 IndentationColorTable = <table> {
 }
 CommPrefix = "GSE"
 Priority = "Priority"
 TranslationHash = "HASH"
 SpecIDClassList = <table> {
 }
 CoreLoadedMessage = "GS-CoreLoaded"
 MacroResetSkeleton = "if %s then
    self:SetAttribute('step', 1)
    self:SetAttribute('loopiter', 1)
end
"
 SpecIDHashList = <table> {
 }
 StringReset = ""
 CleanStrings = <table> {
 }
 Class = "Class"
 ReloadMessage = "Reload"
 DebugModules = <table> {
 }
 Patrons = <table> {
 }
 SourceLocal = "Local"
 QuestionMark = "INV_MISC_QUESTIONMARK"
 Sequential = "Sequential"
 Random = "Random"
 TranslatorMode = <table> {
 }
 GSE3OnClick = "local step = self:GetAttribute('step')
step = tonumber(step)
self:SetAttribute('macrotext', macros[step] )
step = step % #macros + 1
if not step or not macros[step] then -- User attempted to write a step method that doesn't work, reset to 1
    print('Invalid step assigned by custom step sequence', self:GetName(), step or 'nil', '')
    step = 1
end
self:SetAttribute('step', step)
self:CallMethod('Upd

🔵 Screenshots:

https://github.com/user-attachments/assets/a93f25d2-6dea-41e7-8d0b-996ffeea2ae1

https://github.com/user-attachments/assets/de2f3516-0989-46d1-8f35-eb41cc402164

.

🔵 Expected behavior: A clear and concise description of what you expected to happen. the menu to open and the addon to work? 🔵 GSE.lua file: Please provide your GSE.lua file or the export string for the specific macro that is causing an issue.

GSE.lua.txt

🔵 Desktop (please complete the following information):

🔵 GSE Version:

Rykeen-sargeras commented 4 months ago

in the video i know it says i only have 4 addons for gse in there, but i uninstalled and reinstalled the addon via the discord resource and now i have 5 addons linked to gse but still throwing the exact same errors