GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

8M Downloads

[BUG] LUA Error when canceling the raw editor

maphex opened this issue Β· 9 comments

commented

πŸ”΅ Describe the bug:
Getting LUA Error when canceling the raw edit editor.

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

  1. Open a sequence
  2. Click Raw Edit.
  3. 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
commented

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.

commented

Even if i open the raw edit and never touch a single thing in and just hit cancel it throws the error.

commented

I’m not getting that happen. I also don’t use ElvUI. Could you test if you get that error with self disabled?

commented

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"
commented

Just keeps happening even after disabling that addon also it just goes to the next addon that uses the dependency

commented

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.

commented

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"
commented

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 ?

commented

This seems to have worked. With all addons enabled no Lua errors.