GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

[BUG] GUI Lua Error

Caluril opened this issue Β· 2 comments

commented

πŸ”΅ Describe the bug:
can't open the GUI by using the slash command /gui

πŸ”΅ To reproduce: (Steps to reproduce the behavior)

  1. Go inside the game.
  2. In the chat type /gui
  3. An LUA Error window will appear
  4. Read the error.

πŸ”΅ The error:
Paste the error message in this blockquote.

Message: Interface/AddOns/GSE_GUI/Viewer.lua:141: attempt to index field 'MetaData' (a nil value)
Time: Wed Nov 30 01:01:38 2022
Count: 1
Stack: Interface/AddOns/GSE_GUI/Viewer.lua:141: attempt to index field 'MetaData' (a nil value)
[string "@Interface/AddOns/GSE_GUI/Viewer.lua"]:141: in function `GUICreateSequencePanels'
[string "@Interface/AddOns/GSE_GUI/Viewer.lua"]:510: in function `GUIShowViewer'
[string "@Interface/AddOns/GSE/API/Events.lua"]:525: in function `?'
[string "@Interface/AddOns/GSE/Lib/AceConsole-3.0/AceConsole-3.0.lua"]:90: in function `?'
[string "@Interface/FrameXML/ChatFrame.lua"]:5224: in function `ChatEdit_ParseText'
[string "@Interface/FrameXML/ChatFrame.lua"]:4888: in function `ChatEdit_SendText'
[string "@Interface/FrameXML/ChatFrame.lua"]:4924: in function `ChatEdit_OnEnterPressed'
[string "*ChatFrame.xml:127_OnEnterPressed"]:1: in function <[string "*ChatFrame.xml:127_OnEnterPressed"]:1>

Locals: frame = <table> {
 SequenceName = ""
 panels = <table> {
 }
 sizer_e = Frame {
 }
 base = <table> {
 }
 Hide = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:124
 AceGUIWidgetVersion = 30
 ClassID = 0
 ApplyStatus = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:146
 Show = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:128
 titlebg = Texture {
 }
 content = Frame {
 }
 OnRelease = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:90
 OnWidthSet = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:95
 SetStatusText = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:120
 sizer_se = Frame {
 }
 OnAcquire = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:79
 EnableResize = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:132
 userdata = <table> {
 }
 clearpanels = <function> defined @Interface/AddOns/GSE_GUI/Viewer.lua:44
 SetStatusTable = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:140
 MacroIconButton = <table> {
 }
 OnHeightSet = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:105
 type = "Frame"
 EditButton = <table> {
 }
 ScrollContainer = <table> {
 }
 ExportButton = <table> {
 }
 SetTitle = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-Frame.lua:115
 statustext = FontString {
 }
 titletext = FontString {
 }
 Width = 700
 sizer_s = Frame {
 }
 events = <table> {
 }
 children = <table> {
 }
 Height = 500
 frame = Frame {
 }
 LayoutFunc = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/AceGUI-3.0.lua:619
 localstatus = <table> {
 }
}
container = <table> {
 OnRelease = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-ScrollFrame.lua:48
 OnWidthSet = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-ScrollFrame.lua:152
 parent = <table> {
 }
 OnAcquire = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-ScrollFrame.lua:43
 userdata = <table> {
 }
 scrollframe = ScrollFrame {
 }
 OnHeightSet = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-ScrollFrame.lua:158
 type = "ScrollFrame"
 AceGUIWidgetVersion = 26
 LayoutFunc = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/AceGUI-3.0.lua:619
 base = <table> {
 }
 LayoutFinished = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-ScrollFrame.lua:134
 events = <table> {
 }
 FixScroll = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-ScrollFrame.lua:91
 children = <table> {
 }
 SetStatusTable = <function> defined @Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIContainer-ScrollFrame.lua:144
 MoveScroll = <function> defin

πŸ”΅ Screenshots:
Screenshot

πŸ”΅ Expected behavior:
A GUI window to appear to show macros that either created or imported.

πŸ”΅ 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:
  1. First, make sure you have enabled the "File Name Extensions" checkbox in Explorer (View tab)
  2. Browse to C:\path\to\wow\_retail_\WTF\Account\YourAccountName\SavedVariables\ or /path/to/WoW/_retail_/WTF/Account/YourAccountName/SavedVariables
  3. Copy the GSE.lua file to your Desktop
  4. Rename this copy to GSA.lua.txt
  5. 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):

  • OS: Windows 11 Pro 64bit
  • Game Version Retail 10.0.0.2

πŸ”΅ GSE Version:

πŸ”΅ Additional context:
Add any other context about the problem here.
GSE.lua.txt

commented

Just a first note - I have no idea what the /gui command is - this should respond to /gse

BUT this error appears to be caused by a corrupt macro. It looks like you have tried to force a GSE2 macro to be loaded in GSE3.

commented

The fix is simple:
1- delete the GSE.lua file and start again
Or
2- edit and remove all the ["Lutechi 9.x+ ….."] macros from the file.

This file has not appear to have been generated by GSE but manually crafted. As this isn’t a bug but corrupt data moving to a discussion from here on