[BUG] GUI Lua Error
Caluril opened this issue Β· 2 comments
π΅ Describe the bug:
can't open the GUI by using the slash command /gui
π΅ To reproduce: (Steps to reproduce the behavior)
- Go inside the game.
- In the chat type /gui
- An LUA Error window will appear
- 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:
- 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):
- OS: Windows 11 Pro 64bit
- Game Version Retail 10.0.0.2
π΅ GSE Version:
- Version: 3.1.21
- Downloaded From: https://www.github.com/TimothyLuke/GSE-Advanced-Macro-Compiler
- https/curseforge,com
- Discord GSE server
π΅ Additional context:
Add any other context about the problem here.
GSE.lua.txt
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.
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