GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

7M Downloads

Missing "L" in Serialization.lua

alar77 opened this issue · 5 comments

commented

I added a
local L=LibStub("AceLocale-3.0","GSE")
and it works but dunno if I am pulling the right localization

55x GSE\API\Serialisation.lua:161: attempt to index global 'L' (a nil value)
GSE\API\Serialisation.lua:161: in function performVersionCheck' GSE_GUI\Transmission.lua:38: in function ?'
...ack\Libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:147: in function <...ack\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[4]"]:4: in function <[string "safecall Dispatcher[4]"]:4>
[C]: ?
[string "safecall Dispatcher[4]"]:13: in function ?' ...ack\Libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function Fire'
...faceBugSack\Libs\AceComm-3.0\AceComm-3.0-10.lua:260: in function <...faceBugSack\Libs\AceComm-3.0\AceComm-3.0.lua:242>

commented

:) Programmer here, too. It happens a lot more than we wanted. I am in this business since late 80's and still sometime I need to recall "First sleep, THAN code"
Awesome addon, btw, I wish I had the time to dive in and understand your engine

commented
commented

Playing in enUs (Blizzard really cant translate in a decent Italian)
Just checked your repository, GSE/API/Serialization.lua does not contain local L = GSE.L
Nothing is wiping out locale, you plain miss the assignment, because from the error message you can see that the L you are trying to access is a global, not a local as it should be
Firs reference to L is at line 134 and it's addressing a global

commented
commented

Yeah Serialisation.lua and Transmission.lua used to be the same file. Caused by #342 and #351