GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

The error (Interface\AddOns\GSE\API\OneOffEvents.lua:24: bad argument #1 to 'ipairs' (table expected, got nil)) appears on first GSE 3.0 Beta 4 launch

xan2622 opened this issue · 0 comments

commented

Describe the bug
The error Interface\AddOns\GSE\API\OneOffEvents.lua:24: bad argument #1 to 'ipairs' (table expected, got nil) appears on first GSE 3.0.0 Beta 4 launch (and only when there is no previous GSE.lua file available in the WTF subfolders).

To Reproduce
Steps to reproduce the behavior:

  1. Detele all GSE.lua and GSE.lua.bak files from the WTF\...\SavedVariables\ subfolder (since those are GSE configuration files from 2.6.55).
  2. Delete the previous GSE, GSE_GUI and GSE_LIB folders from Interface (since they are GSE 2.6.55 files)
  3. Install the GSE 3.0.0 beta 4 addon into Interface (by copying the 3 folders)
  4. After logging in WoW, the following error appears:

The error

Message: Interface\AddOns\GSE\API\OneOffEvents.lua:24: bad argument #1 to 'ipairs' (table expected, got nil)
Time: Thu Jun 17 00:00:14 2021
Count: 1
Stack: Interface\AddOns\GSE\API\OneOffEvents.lua:24: bad argument #1 to 'ipairs' (table expected, got nil)
[string "=[C]"]: in function `ipairs'
[string "@Interface\AddOns\GSE\API\OneOffEvents.lua"]:24: in function `UpdateGSE2LibrarytoGSE3'
[string "@Interface\AddOns\GSE\API\OneOffEvents.lua"]:12: in function `Update3000'
[string "@Interface\AddOns\GSE\API\OneOffEvents.lua"]:7: in function `PerformOneOffEvents'
[string "@Interface\AddOns\GSE\API\Events.lua"]:133: in function `?'
[string "@Interface\AddOns\GSE\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:119: in function <...\GSE\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@Interface\AddOns\GSE\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:29: in function <...\GSE\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@Interface\AddOns\GSE\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:64: in function `Fire'
[string "@Interface\AddOns\GSE\Lib\AceEvent-3.0\AceEvent-3.0.lua"]:120: in function <...terface\AddOns\GSE\Lib\AceEvent-3.0\AceEvent-3.0.lua:119>

Locals: <none>

Expected behavior
No GSE error at first launch.

Screenshots

Capture d’écran 2021-06-17 001001

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: 3.0.0 beta 4

Additional context
The error (above) does not appear if the GSE.lua files (from 2.6.55) are still there in WTF subfolders while testing GSE 3.0.0 beta 4
No other addons were activated while testing GSE 3.0.0 beta 4