WeakAuras-2.16.6 not loading
D0nk3y opened this issue ยท 30 comments
Describe the bug
After install of WeakAuras-2.16.6 the addon is not loading and producing multiple LUA warnings. I already tried to delete and reinstall, clear the WTF folder and install both alfa and Beta. And disabling all other addons. No joy on either.
``
ERROR HERE
#LUA 1
Message: Interface\AddOns\WeakAuras\Locales\zhTW.lua:8: unexpected symbol near '<'
Time: Mon Mar 23 20:39:26 2020
Count: 1
Stack: Interface\AddOns\WeakAuras\Locales\zhTW.lua:8: unexpected symbol near '<'
Locals:
#LUA 2
Message: Interface\AddOns\WeakAuras\Locales\ruRU.lua:8: unexpected symbol near '<'
Time: Mon Mar 23 20:39:26 2020
Count: 1
Stack: Interface\AddOns\WeakAuras\Locales\ruRU.lua:8: unexpected symbol near '<'
Locals:
#LUA 3
Message: Interface\AddOns\WeakAuras\WeakAuras.lua:3813: attempt to index field '?' (a boolean value)
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:3813: in function Modernize' [string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:4297: in function
PreAdd'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:4432: in function Add' [string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:3966: in function
load'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:3973: in function `AddMany'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:1624: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:1596>
Time: Mon Mar 23 20:39:28 2020
Count: 1
Stack: Interface\AddOns\WeakAuras\WeakAuras.lua:3813: attempt to index field '?' (a boolean value)
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:3813: in function Modernize' [string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:4297: in function
PreAdd'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:4432: in function Add' [string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:3966: in function
load'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:3973: in function `AddMany'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:1624: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:1596>
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:1679: in function `Login'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:1752: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:1703>
Locals:
#LUA 4
Message: Interface\AddOns\WeakAuras\Locales\zhTW.lua:8: unexpected symbol near '<'
Time: Mon Mar 23 20:39:29 2020
Count: 4
#LUA 5
Message: Interface\AddOns\WeakAuras\Locales\ruRU.lua:8: unexpected symbol near '<'
Time: Mon Mar 23 20:39:29 2020
Count: 4
It seems to be connected to the classic version of it. I deleted the automatically downloaded version, i downloaded manually from https://www.curseforge.com/wow/addons/weakauras-2/download/2881333 and it worked, just displayed an error about being downgraded. This may be just a workaround but it works for now
tried that and i get regiontype not defined
what's the context ? did you revert from alpha to release ? can you share your savedvariables ?
Weird, since it worked for me. On the error about the downgrade did you press cancel or repair. you need to press cancel.
same issue =/
WASavedVariables.zip
I'm having the same issue
WeakAuras.zip
@delle7 can you include your WeakAurasArchive.lua ?
all 3 *.lua files included or you need something else?
WeakAurasArchive.lua
its already included in my attachment or you want another file from another directory? :D
Btw, It could be related to this issue, but the error in my post is different from any posted here. Not sure if that one counts as a duplicate tho.
@D0nk3y can you clear your errors in bugsack and copy which error you still have with last alpha please ?
I tested with your file and don't have issue with english locals, so i think the only issue you have left is duplicate of #2063
Message: Interface\AddOns\WeakAuras\WeakAuras.lua:4401: Improper arguments to WeakAuras.SetRegion - regionType not defined
[string "=[C]"]: in function error' [string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:4401: in function SetRegion'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:4365: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:4268>
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:4395: in function Add' [string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:3928: in function load'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:3935: in function `AddMany'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:1606: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:1578>
Time: Mon Mar 23 22:02:50 2020
Count: 1
Stack: Interface\AddOns\WeakAuras\WeakAuras.lua:4401: Improper arguments to WeakAuras.SetRegion - regionType not defined
[string "=[C]"]: in function error' [string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:4401: in function SetRegion'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:4365: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:4268>
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:4395: in function Add' [string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:3928: in function load'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:3935: in function `AddMany'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:1606: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:1578>
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:1661: in function `Login'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:1734: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:1685>
Locals:
Ive been going from release to alpha; the error goes to region not defined to error at "<"; i even tried to uninstall it a bunch of times too
Tried rolling back to earlier release, not using alpha. Still get the same error as above.
I just updated to the most recent version (2.16.6-55-g9519f6a) and now I'm getting this error:
Message: Interface\AddOns\WeakAuras\WeakAuras.lua:4439: Improper arguments to WeakAuras.SetRegion - regionType not defined
[string "=[C]"]: in function error' [string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:4439: in function
SetRegion'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:4403: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:4306>
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:4433: in function Add' [string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:3966: in function
load'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:3973: in function `AddMany'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:1624: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:1596>
Time: Mon Mar 23 17:47:01 2020
Count: 1
Stack: Interface\AddOns\WeakAuras\WeakAuras.lua:4439: Improper arguments to WeakAuras.SetRegion - regionType not defined
[string "=[C]"]: in function error' [string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:4439: in function
SetRegion'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:4403: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:4306>
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:4433: in function Add' [string "@Interface\AddOns\WeakAuras\WeakAuras.lua"]:3966: in function
load'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:3973: in function `AddMany'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:1624: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:1596>
[string "@interface\AddOns\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua"]:733: in function <...Ons\TradeSkillMaster\LibTSM\Service\ErrorHandler.lua:693>
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:1679: in function `Login'
[string "@interface\AddOns\WeakAuras\WeakAuras.lua"]:1752: in function <Interface\AddOns\WeakAuras\WeakAuras.lua:1703>
Locals:
Duplicate of #2063
Oh, wait there are multiple error reports. Sorry, didn't notice that there are other bugs in here.
@D0nk3y can you please provide your saved variables? Your installed auras can all be found at WTF\Account\<Account #>\SavedVariables\WeakAuras.lua
roger that, fyi i tried deleting the WTF files too. And reinstalled WA, that did not work either.
WeakAuras.zip
I encountered similar Lua errors with the Locales of zhTW and ruRU , tho these went away after reverting back to the released version. I do have a different Lua error showing up that I do not see here which also probably links to the region.
Hey folks, sorry for this chaos. We've identified the root cause of the issue, which will be resolved in a future release (at which point this issue will be closed).
If you are receiving an error about regionType not defined
like this:
Then unfortunately you will need to recover your data from an external backup. If you are unsure about how to do that, then visit our discord for help.
If you do not have a backup, then unfortunately you will have lost some of your auras irretrievably. In this case, you may paste the following macro into chat to get WeakAuras into a usable state:
/run for id, data in pairs(WeakAurasSaved.displays) do if not data.regionType then WeakAurasSaved.displays[id] = nil end end C_UI.Reload()
My apologies for any inconvenience this has caused.
/run for id, data in pairs(WeakAurasSaved.displays) do if not data.regionType then WeakAurasSaved.displays[id] = nil end end C_UI.Reload() after doing this I can add new weakauras but i can't see them or move them and they are loaded