[BUG] Storage.lua - table expected got nil
HiroYakamura opened this issue ยท 22 comments
Trying to load the sample macros results in the same error. And nothing gets imported or loaded
I got the same lua errors since today (after upgrading to wow 9.1.0). None of my previous used GSE Macros are loaded. I cant ever use a newly created GSE Macro.
I could send you my currently storage.lua for testing purpose.
If I follow the instructions on how to replicate this problem - I simply cannot.
This is the reality of this problem: GSE can't import the broken macro that exists in your GSE2 Library and it's breaking GSE3's ability to store macros. This is a migration problem that may not be able to be coded around and may have to have some manual intervention.
To fix this:
- Back up the GSE.lua file from
c:\path\to\wow\_retail_\WTF\Account\YOURACCOUNTNAME\GSE.lua
- Close WoW
- Check that the backup file from step 1 has a section called "GSEStorage" (note you are deliberately NOT looking for GSE3Storage)
- Delete the original file from Step 1
- Load WoW
- Open the backup file and fine the section GSEStorage and import the import string macro by macro.
- When it breaks - delete that macro in the editor if you can and move on to the next import.
Came to report the same issue as Hiro, above. Have not yet removed old directory, seeing as it did not directly fix the issue presented above.
Message: Interface\AddOns\GSE\API\Storage.lua:1131: bad argument #1 to 'getn' (table expected, got nil)
Time: Wed Jun 30 11:26:12 2021
Count: 1
Stack: Interface\AddOns\GSE\API\Storage.lua:1131: bad argument #1 to 'getn' (table expected, got nil)
[string "=[C]"]: in function getn' [string "@Interface\AddOns\GSE\API\Storage.lua"]:1131: in function
ConvertGSE2'
[string "@interface\AddOns\GSE\API\OneOffEvents.lua"]:32: in function UpdateGSE2LibrarytoGSE3' [string "@Interface\AddOns\GSE\API\OneOffEvents.lua"]:15: in function
Update3000'
[string "@interface\AddOns\GSE\API\OneOffEvents.lua"]:7: in function PerformOneOffEvents' [string "@Interface\AddOns\GSE\API\Events.lua"]:139: in function
?'
[string "@interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:119: in function <...ore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:29: in function <...ore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@interface\AddOns\DataStore\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:64: in function `Fire'
[string "@interface\AddOns\DataStore\libs\AceEvent-3.0\AceEvent-3.0.lua"]:120: in function <...\AddOns\DataStore\libs\AceEvent-3.0\AceEvent-3.0.lua:119>
Locals:
I cannot replicate this. Try as I might - If I log in without a GSE.lua file in the WTF directory this doesn't happen for me
This worked for me as well, but only if I completely delete the GSE.lua and the .bak files. Thanks for the quick support!
If someone wants to upload their broken GSE.lua file I can look at why this is occurring but without it - I'm kinda blind.
Here is my GSE.lua. I am having the same issue. Clicking the GSE2Library button just retriggers the same (or similar) error message.
I can't see any macros when I use /gse to even edit them to fix.
Error from clicking the GSE2Library button:
Time: Wed Jun 30 20:43:54 2021
Count: 2
Stack: Interface\AddOns\GSE\API\Storage.lua:1141: bad argument #1 to 'getn' (table expected, got nil)
[string "=[C]"]: in function `getn'
[string "@Interface\AddOns\GSE\API\Storage.lua"]:1141: in function `ConvertGSE2'
[string "@Interface\AddOns\GSE\API\OneOffEvents.lua"]:32: in function `UpdateGSE2LibrarytoGSE3'
[string "@Interface\AddOns\GSE\API\Events.lua"]:435: in function `?'
[string "@Interface\AddOns\Bagnon\common\Wildpants\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:119: in function <...nts\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@Interface\AddOns\Bagnon\common\Wildpants\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:29: in function <...nts\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@Interface\AddOns\Bagnon\common\Wildpants\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:64: in function `SendMessage'
[string "@Interface\AddOns\GSE\API\Options.lua"]:850: in function <Interface\AddOns\GSE\API\Options.lua:849>
[string "=[C]"]: ?
[string "@Interface\AddOns\Bartender4\libs\AceConfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua"]:51: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:49>
[string "@Interface\AddOns\Bartender4\libs\AceConfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua"]:847: in function <...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:668>
[string "=[C]"]: ?
[string "@Interface\AddOns\Bartender4\libs\AceGUI-3.0\AceGUI-3.0.lua"]:72: in function <...ace\AddOns\Bartender4\libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@Interface\AddOns\Bartender4\libs\AceGUI-3.0\AceGUI-3.0.lua"]:306: in function `Fire'
[string "@Interface\AddOns\Bartender4\libs\AceGUI-3.0\widgets\AceGUIWidget-Button.lua"]:22: in function <...der4\libs\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:19>
Locals: <none>```
Thanks @barnwellrd will see what I can find. The error is that something in your GSE2 macros is broken and the updater cant handle it.
@barnwellrd This is a level too deep need the one from C:\path\to\wow\_retail_\WTF\Account\YOURACCOUNTNAME\SavedVariables\GSE.lua
It should be about 200+ kb and thanks in advance
Sorry, fingers are faster than my eyes:
GSE.zip
@barnwellrd In your case it failed updating HP_BLADEFURYDUMP -- seeing what I can do
@TimothyLuke I don't even think I'm using that one. I can nuke it. Is it okay to just delete that line?
@barnwellrd There is a 3.0.05 now avaibalbe at https://github.com/TimothyLuke/GnomeSequencer-Enhanced/releases/tag/3.0.05 that has a fix for your file in particular. It should also fix this problem for anyone else. It will be on curse in 10 minutes or can get it direct
It looks like that fixed the loading. No more errors on logging in and it seems like my macros are working again, but now I am seeing an error when typing /gse
in chat. Not sure if it's related or from dropping the zip into the addons folder.
Message: Interface\AddOns\GSE_GUI\Viewer.lua:116: attempt to call method 'SetBackdrop' (a nil value)
Time: Wed Jun 30 21:15:01 2021
Count: 3
Stack: Interface\AddOns\GSE_GUI\Viewer.lua:116: attempt to call method 'SetBackdrop' (a nil value)
[string "@interface\AddOns\GSE_GUI\Viewer.lua"]:116: in functionGUICreateSequencePanels' [string "@Interface\AddOns\GSE_GUI\Viewer.lua"]:418: in function
GUIShowViewer'
[string "@interface\AddOns\GSE\API\Events.lua"]:422: in function?' [string "@Interface\AddOns\Bartender4\libs\AceConsole-3.0\AceConsole-3.0.lua"]:94: in function
?'
[string "@interface\FrameXML\ChatFrame.lua"]:5157: in function <Interface\FrameXML\ChatFrame.lua:5103>
[string "=[C]"]: in functionChatEdit_ParseText' [string "@Interface\FrameXML\ChatFrame.lua"]:4821: in function
ChatEdit_SendText'
[string "@interface\FrameXML\ChatFrame.lua"]:4857: in function `ChatEdit_OnEnterPressed'
[string ":OnEnterPressed"]:1: in function <[string ":OnEnterPressed"]:1>
Did you install the full zip - the GSE-3.0.05.zip or just the source one? It looks like its missing hte updated Ace3 library that GSE includes