GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

Loading Sample throws an error if there are no macros for this class.

egrant541 opened this issue · 3 comments

commented

Hi -- I'm using GSE version 2.4.17 for WoW Classic. When I hit the sample button (in the Options -> Plugin menu), I get the following LUA error:

Any help appreciated, thank you!


Message: Interface\AddOns\GSE\API\Storage.lua:218: bad argument #1 to 'ipairs' (table expected, got nil)
Time: Sat Sep 14 13:43:21 2019
Count: 2
Stack: Interface\AddOns\GSE\API\Storage.lua:218: bad argument #1 to 'ipairs' (table expected, got nil)
(tail call): ?
[C]: in function ipairs' Interface\AddOns\GSE\API\Storage.lua:218: in function ImportCompressedMacroCollection'
Interface\AddOns\GSE\API\Storage.lua:1090: in function LoadSampleMacros' Interface\AddOns\GSE\API\Events.lua:364: in function ?'
...ies\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:119: in function <...ies\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[C]: ?
...ies\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:29: in function <...ies\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
...ies\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:64: in function SendMessage' Interface\AddOns\GSE\API\Options.lua:748: in function <Interface\AddOns\GSE\API\Options.lua:747> [C]: ? ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:51: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:49> ...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:843: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:664> [C]: ? Interface\AddOns\GSE\Lib\AceGUI-3.0\AceGUI-3.0.lua:72: in function <Interface\AddOns\GSE\Lib\AceGUI-3.0\AceGUI-3.0.lua:70> Interface\AddOns\GSE\Lib\AceGUI-3.0\AceGUI-3.0.lua:287: in function Fire'
...ssic\Libs\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:22: in function <...ssic\Libs\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:19>

Locals:

commented
commented

Oh, sorry. Playing on warrior.

commented

Yeah its occuring as I only have samples for Hunters and Priests at the moment. Still working on others. I will however change this to give a better error message in the mean time.