TimothyLuke / GSE-Advanced-Macro-Compiler

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

[BUG] wago.io imports are not compressed. #1603

Closed JaCeGD closed 3 months ago

JaCeGD commented 3 months ago

🔵 Describe the bug: During the import process and error is displayed which does allow the import to go through

🔵 To reproduce: (Steps to reproduce the behavior)

  1. Open the GSE Main Menu
  2. Click Sequences
  3. Click Import
  4. Enter import String
  5. Click Import
  6. Ensure Sequence is ticked and click Import.
  7. The error pops up

🔵 The error: Paste the error message in this blockquote. Message: Interface/AddOns/GSE/API/Serialisation.lua:189: attempt to call method 'sub' (a nil value) Time: Tue Aug 20 06:05:00 2024 Count: 2 Stack: Interface/AddOns/GSE/API/Serialisation.lua:189: attempt to call method 'sub' (a nil value) [string "@Interface/AddOns/GSE/Lib/AceGUI-3.0/AceGUI-3.0.lua"]:300: in function `Fire' [string "@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 =

{ autoWidth = false type = "Button" AceGUIWidgetVersion = 24 parent =
{ } disabled = false text = AceGUI30Button12Text { } userdata =
{ } events =
{ } frame = AceGUI30Button12 { } base =
{ } } name = "OnClick"

🔵 Screenshots: If applicable, add screenshots to help explain your problem.

🔵 Expected behavior: Import to go through ok and then being able to assign keybind.

🔵 GSE.lua file: Please provide your GSE.lua file or the export string for the specific macro that is causing an issue. I have tried 6 different import strings and they all produce the same issue GSE.lua.txt

🔵 Desktop (please complete the following information):

🔵 GSE Version:

🔵 Additional context: I have also tried this with no mods installed other than GSE and the same behaviour occurs.

TimothyLuke commented 3 months ago

Hey JaceGD,

could you also just add as a comment what you were importing and for which class?