WeakAuras

WeakAuras

206M Downloads

WeakAuras-2.16.6 not loading

D0nk3y opened this issue ยท 30 comments

commented

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

commented

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

commented

what's the context ? did you revert from alpha to release ? can you share your savedvariables ?

commented

Weird, since it worked for me. On the error about the downgrade did you press cancel or repair. you need to press cancel.

commented

same issue =/
WASavedVariables.zip

commented

want the lua file or bak ?

commented

I'm having the same issue
WeakAuras.zip

commented

@delle7 can you include your WeakAurasArchive.lua ?

commented

@delle7 can you include your WeakAurasArchive.lua ?

all 3 *.lua files included or you need something else?

commented

WeakAurasArchive.lua

commented

WeakAurasArchive.lua

its already included in my attachment or you want another file from another directory? :D

commented

indeed i'm blind sorry

commented

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.

commented

Alright, nvm. That is the same error I am encountering. Issue is the same then.

commented

@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:

commented

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

commented

Tried rolling back to earlier release, not using alpha. Still get the same error as above.

commented

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:

commented

Duplicate of #2063

commented

Oh, wait there are multiple error reports. Sorry, didn't notice that there are other bugs in here.

commented

@D0nk3y can you please provide your saved variables? Your installed auras can all be found at WTF\Account\<Account #>\SavedVariables\WeakAuras.lua

commented

cant upload it to this field, which format do you want it in ?

commented

A zip file is fine, thank you.

commented

roger that, fyi i tried deleting the WTF files too. And reinstalled WA, that did not work either.
WeakAuras.zip

commented

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.

commented

@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

commented

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:
image
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.

commented

I have weakauras there, when i do that code line but all groups are gone :P

commented

/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

commented

Then your settings are probably even more broken. If you have a backup (by e.g. running the companion, restore that.)