TimothyLuke / GSE-Advanced-Macro-Compiler

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

An error (Storage.lua:538: attempt to concatenate field 'Party' (a nil value)) appears after importing the same macro twice #850

Closed xan2622 closed 3 years ago

xan2622 commented 3 years ago

πŸ”΅ Describe the bug The following error appears after importing a macro twice. I have tried with the SLG-MM-ARCANE macro from https://wowlazymacros.com/t/scarylarrygames-modded-shirk-mm-macros-updated-1-30-2021/22078 but it also happens with other macros.

πŸ”΅ The error

Message: Interface\AddOns\GSE\API\Storage.lua:538: attempt to concatenate field 'Party' (a nil value)
Time: Mon Jun 14 21:14:55 2021
Count: 1
Stack: Interface\AddOns\GSE\API\Storage.lua:538: attempt to concatenate field 'Party' (a nil value)
[string "=[C]"]: ?
[string "@Interface\AddOns\GSE\API\Storage.lua"]:538: in function `ExportSequence'
[string "@Interface\AddOns\GSE_GUI\MacroCompare.lua"]:128: in function `GUIShowCompareWindow'
[string "@Interface\AddOns\GSE\API\Storage.lua"]:169: in function `OOCAddSequenceToCollection'
[string "@Interface\AddOns\GSE\API\Events.lua"]:451: in function `?'
[string "@Interface\AddOns\Details\Libs\AceTimer-3.0\AceTimer-3.0.lua"]:55: in function <...ce\AddOns\Details\Libs\AceTimer-3.0\AceTimer-3.0.lua:50>

Locals: 

πŸ”΅ To Reproduce

  1. In the Sequence Editor, click on the Import button
  2. Go to this link and copy any macro then import it into GSE. (I chose SLG-MM-ARCANE)
  3. Click on the Import button one more time and paste the same macro
  4. There's a high probability that the error above appears

πŸ”΅ Expected behavior No error after importing the same macro (sometimes, the player can do it by mystake).

πŸ”΅ Screenshots

Capture d’écran 2021-06-14 220930

πŸ”΅ Desktop OS: Windows 10 64bits pro Hardware: nvidia GTX 1070 8GB - driver: 466.47

πŸ”΅ Game Version World of Warcraft Shadowlands version 9.0.5.38556 (french language)

πŸ”΅ GSE Version Version: 2.6.55

TimothyLuke commented 3 years ago

I can’t replicate this no matter what macros I try to use to do it with. I think this is a symptom of your original error that won’t let you save.

TimothyLuke

On 15 Jun 2021, at 5:41 am, xan2622 @.***> wrote:

ο»Ώ πŸ”΅ Describe the bug The following error appears after importing a macro twice. I have tried with the SLG-MM-ARCANE macro from https://wowlazymacros.com/t/scarylarrygames-modded-shirk-mm-macros-updated-1-30-2021/22078 but it also happens with other macros.

πŸ”΅ The error

Message: Interface\AddOns\GSE\API\Storage.lua:538: attempt to concatenate field 'Party' (a nil value) Time: Mon Jun 14 21:14:55 2021 Count: 1 Stack: Interface\AddOns\GSE\API\Storage.lua:538: attempt to concatenate field 'Party' (a nil value)

[string "@Interface\AddOns\GSE\API\Storage.lua"]:538: in function ExportSequence' [string "@Interface\AddOns\GSE_GUI\MacroCompare.lua"]:128: in functionGUIShowCompareWindow' [string "@Interface\AddOns\GSE\API\Storage.lua"]:169: in function OOCAddSequenceToCollection' [string "@Interface\AddOns\GSE\API\Events.lua"]:451: in function?' [string "@Interface\AddOns\Details\Libs\AceTimer-3.0\AceTimer-3.0.lua"]:55: in function <...ce\AddOns\Details\Libs\AceTimer-3.0\AceTimer-3.0.lua:50>

Locals: πŸ”΅ To Reproduce

In the Sequence Editor, click on the Import button Go to this link and copy any macro then import it into GSE. (I chose SLG-MM-ARCANE) Click on the Import button one more time and paste the same macro There's a high probability that the error above appears πŸ”΅ Expected behavior No error after importing the same macro (sometimes, the player can do it by mystake).

πŸ”΅ Screenshots

πŸ”΅ Desktop OS: Windows 10 64bits pro Hardware: nvidia GTX 1070 8GB - driver: 466.47

πŸ”΅ Game Version World of Warcraft Shadowlands version 9.0.5.38556 (french language)

πŸ”΅ GSE Version Version: 2.6.55

β€” You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

TimothyLuke commented 3 years ago

I've gotten this to happen in GSE3-beta-5-1