TimothyLuke / GSE-Advanced-Macro-Compiler

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

/gsse produces error #722

Closed gomj9938 closed 3 years ago

gomj9938 commented 3 years ago

I have a macro that opens gse config. Now when I press it I get this error:

68x GSE\API\Events.lua:394: attempt to call field 'GUIShowViewer' (a nil value) [string "@GSE\API\Events.lua"]:394: in function?' [string "@Ace3\AceConsole-3.0\AceConsole-3.0-7.lua"]:94: in function ?' [string "@FrameXML\ChatFrame.lua"]:5073: in functionChatEdit_ParseText' [string "@FrameXML\ChatFrame.lua"]:4737: in function ChatEdit_SendText' [string "@FrameXML\ChatFrame.lua"]:3017: in function <FrameXML\ChatFrame.lua:3010> [string "=[C]"]: in functionUseAction' [string "@FrameXML\SecureTemplates.lua"]:345: in function `handler' [string "@FrameXML\SecureTemplates.lua"]:654: in function <FrameXML\SecureTemplates.lua:602>

[string "@FrameXML\SecureHandlers.lua"]:266: in function <FrameXML\SecureHandlers.lua:263>

[string "@FrameXML\SecureHandlers.lua"]:296: in function <FrameXML\SecureHandlers.lua:279>

Locals: self =

{ ResetButtons = defined @GSE\API\Storage.lua:737 GetClassIcon = defined @GSE\API\CharacterFunctions.lua:67 StartOOCTimer = defined @GSE\API\Events.lua:413 ReportTargetProtection = defined @GSE\API\Options.lua:845 CloneSequence = defined @GSE\API\Storage.lua:38 SplitCastSequence = defined @GSE\API\StringFunctions.lua:73 ObjectExists = defined @GSE\API\StringFunctions.lua:210 GetCurrentTalents = defined @GSE\API\CharacterFunctions.lua:111 UnregisterComm = defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:153 StopOOCTimer = defined @GSE\API\Events.lua:418 OutputQueue =
{ } MediaPath = "Addons\GSE\Media" inArena = false PerformOneOffEvents = defined @GSE\API\OneOffEvents.lua:6 DebugDumpButton = defined @GSE\API\Storage.lua:878 GetSpecNames = defined @GSE\API\CharacterFunctions.lua:97 GUIConfirmDeleteSequence = defined @GSE_GUI\GUIFunctions.lua:19 CurrentGCD = 0 GSSlash = defined @GSE\API\Events.lua:322 LoadStorage = defined @GSE\API\Storage.lua:263 inDungeon = false UsedSequences =
{ } PerformPrint = defined @GSE\API\Init.lua:71 ImportCompressedMacroCollection = defined @GSE\API\Storage.lua:280 UnsavedOptions =
{ } UpdateIcon = defined @GSE\API\Storage.lua:1262 ADDON_LOADED = defined @GSE\API\Events.lua:129 miniMapHide = defined @GSE_LDB\LDBProvider.lua:139 RegisterMessage = defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:90 UnregisterMessage = defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:153 Update2601 = defined @GSE\API\OneOffEvents.lua:104 TranslateSpell = defined @GSE\API\Translator.lua:209 GetGCD = defined @GSE\API\CharacterFunctions.lua:17 SendCommMessage = defined @Ace3\AceComm-3.0\AceComm-3.0.lua:87 UpdateSequence = defined @GSE\API\Storage.lua:755 UnregisterAllComm = defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:174 SetEnabledState = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:424 isSpecIDForCurrentClass = defined @GSE\API\CharacterFunctions.lua:86 ZONE_CHANGED_NEW_AREA = defined @GSE\API\Events.lua:60 DebugOutput = "" Static =
{ } ClearCommonKeyBinds = defined @GSE\API\CharacterFunctions.lua:141 ClearTooltip = defined @GSE_GUI\GUIFunctions.lua:198 GUI =
{ } OOCTimer =
{ } TranslatorAvailable = true LDB = true TransmitSequence = defined @GSE\API\Serialisation.lua:235 CloneMacroVersion = defined @GSE\API\Storage.lua:54 IdentifySpells = defined @GSE\API\Translator.lua:731 miniMapShow = defined @GSE_LDB\LDBProvider.lua:135 GetSequenceNames = defined @GSE\API\Storage.lua:1106 ImportMacroCollection = defined @GSE\API\Storage.lua:250 IsLoopSequence = defined @GSE\API\Storage.lua:445 UnregisterAllEvents = defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:174 prepareTooltipOOCLine = defined @GSE\API\Events.lua:453 ToggleTargetProtection = defined `

TimothyLuke commented 3 years ago

Any chance you could tell me what version of GSE you are running, the game version you are playing and the content of the macro? Without those, I can make guesses but not sure of my accuracy....

TimothyLuke

On 18 Oct 2020, at 6:42 am, gomj9938 notifications@github.com wrote:

 I have a macro that opens gse config. Now when I press it I get this error:

68x GSE\API\Events.lua:394: attempt to call field 'GUIShowViewer' (a nil value) [string "@GSE\API\Events.lua"]:394: in function ?' [string "@ace3\AceConsole-3.0\AceConsole-3.0-7.lua"]:94: in function ?' [string "@FrameXML\ChatFrame.lua"]:5073: in function ChatEdit_ParseText' [string "@FrameXML\ChatFrame.lua"]:4737: in function ChatEdit_SendText' [string "@FrameXML\ChatFrame.lua"]:3017: in function <FrameXML\ChatFrame.lua:3010> string "=[C]": in function UseAction' [string "@FrameXML\SecureTemplates.lua"]:345: in function `handler' [string "@FrameXML\SecureTemplates.lua"]:654: in function <FrameXML\SecureTemplates.lua:602>

[string "@FrameXML\SecureHandlers.lua"]:266: in function <FrameXML\SecureHandlers.lua:263>

[string "@FrameXML\SecureHandlers.lua"]:296: in function <FrameXML\SecureHandlers.lua:279>

Locals: self =

{ ResetButtons = defined @gse\API\Storage.lua:737 GetClassIcon = defined @gse\API\CharacterFunctions.lua:67 StartOOCTimer = defined @gse\API\Events.lua:413 ReportTargetProtection = defined @gse\API\Options.lua:845 CloneSequence = defined @gse\API\Storage.lua:38 SplitCastSequence = defined @gse\API\StringFunctions.lua:73 ObjectExists = defined @gse\API\StringFunctions.lua:210 GetCurrentTalents = defined @gse\API\CharacterFunctions.lua:111 UnregisterComm = defined @ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:153 StopOOCTimer = defined @gse\API\Events.lua:418 OutputQueue = { } MediaPath = "Addons\GSE\Media" inArena = false PerformOneOffEvents = defined @gse\API\OneOffEvents.lua:6 DebugDumpButton = defined @gse\API\Storage.lua:878 GetSpecNames = defined @gse\API\CharacterFunctions.lua:97 GUIConfirmDeleteSequence = defined @GSE_GUI\GUIFunctions.lua:19 CurrentGCD = 0 GSSlash = defined @gse\API\Events.lua:322 LoadStorage = defined @gse\API\Storage.lua:263 inDungeon = false UsedSequences = { } PerformPrint = defined @gse\API\Init.lua:71 ImportCompressedMacroCollection = defined @gse\API\Storage.lua:280 UnsavedOptions = { } UpdateIcon = defined @gse\API\Storage.lua:1262 ADDON_LOADED = defined @gse\API\Events.lua:129 miniMapHide = defined @GSE_LDB\LDBProvider.lua:139 RegisterMessage = defined @ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:90 UnregisterMessage = defined @ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:153 Update2601 = defined @gse\API\OneOffEvents.lua:104 TranslateSpell = defined @gse\API\Translator.lua:209 GetGCD = defined @gse\API\CharacterFunctions.lua:17 SendCommMessage = defined @ace3\AceComm-3.0\AceComm-3.0.lua:87 UpdateSequence = defined @gse\API\Storage.lua:755 UnregisterAllComm = defined @ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:174 SetEnabledState = defined @ace3\AceAddon-3.0\AceAddon-3.0.lua:424 isSpecIDForCurrentClass = defined @gse\API\CharacterFunctions.lua:86 ZONE_CHANGED_NEW_AREA = defined @gse\API\Events.lua:60 DebugOutput = "" Static = { } ClearCommonKeyBinds = defined @gse\API\CharacterFunctions.lua:141 ClearTooltip = defined @GSE_GUI\GUIFunctions.lua:198 GUI = { } OOCTimer = { } TranslatorAvailable = true LDB = true TransmitSequence = defined @gse\API\Serialisation.lua:235 CloneMacroVersion = defined @gse\API\Storage.lua:54 IdentifySpells = defined @gse\API\Translator.lua:731 miniMapShow = defined @GSE_LDB\LDBProvider.lua:135 GetSequenceNames = defined @gse\API\Storage.lua:1106 ImportMacroCollection = defined @gse\API\Storage.lua:250 IsLoopSequence = defined @gse\API\Storage.lua:445 UnregisterAllEvents = defined @ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:174 prepareTooltipOOCLine = defined @gse\API\Events.lua:453 ToggleTargetProtection = defined ` — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

gomj9938 commented 3 years ago

GSE 2.6.15 wow 9.0.1 (36272)

the macro is just to open GSE config. If there is an icon on the minimap I think I removed it long ago. Not sure how to bring an icon back. the macro is just:

/gsse

thats all.

TimothyLuke commented 3 years ago

I just put /gse in a normal macro and had no issue. Are you putting this in a macro and spamming it? If so that would cause unexpected results.

The mini map icon or the LDB feed provide this functionality in a safe way that a macro cannot protect against.

TimothyLuke

On 18 Oct 2020, at 8:52 am, gomj9938 notifications@github.com wrote:

 GSE 2.6.15 wow 9.0.1 (36272)

the macro is just to open GSE config. If there is an icon on the minimap I think I removed it long ago. Not sure how to bring an icon back. the macro is just:

/gsse

thats all.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

gomj9938 commented 3 years ago

Not spamming it. I get this error output every button press.

TimothyLuke commented 3 years ago

I just can't make this happen.

Are you able to type /gse or /run GSE.GUIShowViewer() outside of a combat in the chat window?

On Sun, 18 Oct 2020 at 21:12, gomj9938 notifications@github.com wrote:

Not spamming it. I get this error output every button press.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/TimothyLuke/GnomeSequencer-Enhanced/issues/722#issuecomment-711149023, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEMCFLRMZ3IOLR4US7KONDSLLBAXANCNFSM4SUSQZIQ .

--

*Timothy Minahan*M 0406 413 680 | E timothy@minahan.net

TimothyLuke commented 3 years ago

Also where did you download from?

On Sun, 18 Oct 2020 at 21:22, Timothy Minahan timothy@minahan.net wrote:

I just can't make this happen.

Are you able to type /gse or /run GSE.GUIShowViewer() outside of a combat in the chat window?

On Sun, 18 Oct 2020 at 21:12, gomj9938 notifications@github.com wrote:

Not spamming it. I get this error output every button press.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/TimothyLuke/GnomeSequencer-Enhanced/issues/722#issuecomment-711149023, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEMCFLRMZ3IOLR4US7KONDSLLBAXANCNFSM4SUSQZIQ .

--

*Timothy Minahan*M 0406 413 680 | E timothy@minahan.net

--

*Timothy Minahan*M 0406 413 680 | E timothy@minahan.net

gomj9938 commented 3 years ago

/gse in chat gives same error but /run GSE.GUIShowViewer() gives:

3x [string "GSE.GUIShowViewer()"]:1: attempt to call field 'GUIShowViewer' (a nil value) [string "GSE.GUIShowViewer()"]:1: in main chunk [string "=[C]"]: in function RunScript' [string "@FrameXML\ChatFrame.lua"]:2174: in function?' [string "@FrameXML\ChatFrame.lua"]:5073: in function ChatEdit_ParseText' [string "@FrameXML\ChatFrame.lua"]:4737: in functionChatEdit_SendText' [string "@FrameXML\ChatFrame.lua"]:4773: in function `ChatEdit_OnEnterPressed'

Locals: (temporary) = nil (temporary) = "attempt to call field 'GUIShowViewer' (a nil value)"

gomj9938 commented 3 years ago

twitch

TimothyLuke commented 3 years ago

The problems not that you have a macro with /gse in it causing an error. The problem is you have a broken install of GSE that is missing important parts of the mod. All I can think of is that you either have a mod that has a broken version of ACE3 libraries or the version you downloaded via the twitch client was corrupt. Twitch has been super flakey and Im glad it goes in 2 days.

I would suggest downloading directly from Curse via https://www.curseforge.com/wow/addons/gse-gnome-sequencer-enhanced-advanced-macros/files or using https://wowup.io I don't know what the Overwolf updater will be like hoping they have this stuff sorted when they take over on the 20th.

gomj9938 commented 3 years ago

Ill try that thanks.

TimothyLuke commented 3 years ago

Hey Gomj9938 Is this working for you now?

gomj9938 commented 3 years ago

Yeah sorry forgot to close it. I updated Elvui and it fixed it.