#WA are gone

46 messages · Page 1 of 1 (latest)

outer perch
#

/wa repair and /run command to recover from weakaurasarchive.lua not working as well

#

When I try to run /run local L=WeakAuras.LoadFromArchive local h,m=L("Repository","history"),L("Repository","migration")for ,r in ipairs{h,m}do for ,s in pairs(r.stores)do local d=s:Load()WeakAurasSaved.displays[d.id]=d end end C_UI.Reload()

#

And another lua error using /wa repair

#

Using latest Alpha
5.20.4-19-gd0250ea

#

I have a backup in weakaurasarchive.lua but cant recover with methods above

#

any suggestion?

#

disabling every addon except weakauras and downgrading to stable channel and still have lua error using /wa repair and /run command above

cunning badge
#

you copied broken code.

#

is there an error WITHOUT using that broken code you used?

outer perch
#

What broken code? I copied from github

#

You say the /run command?

cunning badge
#

yes.

outer perch
#

the code is from here

#

How is this broken? what is the right code to import weakaurasarchive.lua?

#

Anyways /wa repair give an error aswell

cunning badge
#

is there any error before you do anything of that.

outer perch
#

Nope, I have every addon disabled except weakauras

#

and downgraded to stable channel

#

no errors

#

only that one when I enter the run command or wa repair

cunning badge
#

so the screenshot above with 404 errors in bugsack was wrong?

outer perch
#

That was archived errors

#

Check the one from default UI

#

Only weakauras installed, 0 addons and still get this error

cunning badge
#

and what does opening weakauras show?

outer perch
#

An empty weakauras, all auras are gone idk why, yesterday was working

#

second

#

The thing is I cant use the run command nor wa repair, is this working properly?

cunning badge
#

you can now try to copy paste the code from github directly.

outer perch
#

/run local L=WeakAuras.LoadFromArchive local h,m=L("Repository","history"),L("Repository","migration")for _,r in ipairs{h,m}do for _,s in pairs(r.stores)do local d=s:Load()WeakAurasSaved.displays[d.id]=d end end C_UI.Reload()

#

this one?

cunning badge
#

directly from github.

outer perch
#

where?

cunning badge
#

the one that looks like this but directly from github, because what is now written there is broken again.

outer perch
#

But where is the code to copy?

#

what folder or file

#

in the wiki?

cunning badge
#
BROKEN
/run local L=WeakAuras.LoadFromArchive local h,m=L("Repository","history"),L("Repository","migration")for ,r in ipairs{h,m}do for ,s in pairs(r.stores)do local d=s:Load()WeakAurasSaved.displays[d.id]=d end end C_UI.Reload()

is NOT the same as

/run local L=WeakAuras.LoadFromArchive local h,m=L("Repository","history"),L("Repository","migration")for _,r in ipairs{h,m}do for _,s in pairs(r.stores)do local d=s:Load()WeakAurasSaved.displays[d.id]=d end end C_UI.Reload()

you hapily copy pasted the first into your game.

outer perch
#

Oh true

#

First one was from Reddit and second from github yes