
[BUG] LUA Error when canceling the raw editor
maphex opened this issue Β· 9 comments
π΅ Describe the bug:
Getting LUA Error when canceling the raw edit editor.
π΅ To reproduce: (Steps to reproduce the behavior)
- Open a sequence
- Click Raw Edit.
- Click cancel.
π΅ The error:
Paste the error message in this blockquote.
Message: Interface/AddOns/GSE_GUI/Editor.lua:1042: attempt to call field 'GUIEditorPerformLayout' (a nil value)
Time: Mon Aug 11 12:52:15 2025
Count: 1
Stack:
[Interface/AddOns/ElvUI_Libraries/Core/Ace3/AceGUI-3.0/AceGUI-3.0.lua]:300: in function 'Fire'
[Interface/AddOns/ElvUI_Libraries/Core/Ace3/AceGUI-3.0/widgets/AceGUIWidget-Button.lua]:22: in function <...Core/Ace3/AceGUI-3.0/widgets/AceGUIWidget-Button.lua:19>
Locals:
self = <table> {
type = "Button"
AceGUIWidgetVersion = 24
parent = <table> {
}
autoWidth = false
disabled = false
userdata = <table> {
}
base = <table> {
}
events = <table> {
}
frame = AceGUI30Button18 {
}
text = AceGUI30Button18Text {
}
}
name = "OnClick"
π΅ Expected behavior:
Editor closes without saving any changes.
π΅ GSE.lua file:
GSE.lua.txt
π΅ Desktop (please complete the following information):
- OS: Windows 11
- Game Version Retail 11.2
π΅ GSE Version:
- Version: 3.2.33
- Downloaded From: curseforge.com
This error is being thrown because what is in the sequence has changed and is no longer a valid sequence. Unfortunately the error is being thrown outside an area that GSE controls but in the underlying Libraries that GSE depends on. Catching this error and hiding it will force all other errors in this space to also be hidden and lead to situations where you save a corrupted sequence, donβt know an out it, hit save and brick your GSE installation.
Now in this case the editor hasnβt saved the changes or asked WoW to write them to disk but the in memory temporary version loaded into the editor for editing can no longer be interpreted. This error can be ignored and the editor simply changed to another sequence or closed and reopened and the sequence will revert.
Even if i open the raw edit and never touch a single thing in and just hit cancel it throws the error.
Iβm not getting that happen. I also donβt use ElvUI. Could you test if you get that error with self disabled?
It seems that it happens with elvui disabled along with any plugins for elvui. Seems to be depenecy based cause i get the same LUA error but the stack references another addon that uses the same ACEGUI.
Message: Interface/AddOns/GSE_GUI/Editor.lua:1042: attempt to call field 'GUIEditorPerformLayout' (a nil value)
Time: Mon Aug 11 14:04:20 2025
Count: 2
Stack:
[Interface/AddOns/AdvancedInterfaceOptions/libs/AceGUI-3.0/AceGUI-3.0.lua]:300: in function 'Fire'
[Interface/AddOns/AdvancedInterfaceOptions/libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua]:22: in function <...ions/libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua:19>
Locals:
self = <table> {
autoWidth = false
type = "Button"
AceGUIWidgetVersion = 24
parent = <table> {
}
disabled = false
text = AceGUI30Button18Text {
}
userdata = <table> {
}
events = <table> {
}
frame = AceGUI30Button18 {
}
base = <table> {
}
}
name = "OnClick"
Just keeps happening even after disabling that addon also it just goes to the next addon that uses the dependency
Iβll see what I can find. I use a total of 6 addons - GTFO, WeakAuras, GSE, BigWigs/LittleWigs, Decusive and Clique so donβt see a lot of these dependant things.
Disabled all addons but GSE and still get the error
Message: Interface/AddOns/GSE_GUI/Editor.lua:1042: attempt to call field 'GUIEditorPerformLayout' (a nil value)
Time: Mon Aug 11 14:17:19 2025
Count: 1
Stack:
[Interface/AddOns/GSE/Lib/AceGUI-3.0/AceGUI-3.0.lua]:300: in function 'Fire'
[Interface/AddOns/GSE/Lib/AceGUI-3.0/widgets/AceGUIWidget-Button.lua]:22: in function <...s/GSE/Lib/AceGUI-3.0/widgets/AceGUIWidget-Button.lua:19>
Locals:
self = <table> {
type = "Button"
AceGUIWidgetVersion = 24
parent = <table> {
}
autoWidth = false
disabled = false
userdata = <table> {
}
base = <table> {
}
events = <table> {
}
frame = AceGUI30Button17 {
}
text = AceGUI30Button17Text {
}
}
name = "OnClick"
Ive changed this to call a different method on cancel. When you get a chance could you have a look at 3.2.33-2 ?