WeakAuras

WeakAuras

206M Downloads

WeakAuras not working

Escyrial opened this issue ยท 2 comments

commented

Describe the bug

/wa not working, WeakAuras dont show at all

Do you have an error log of what happened?

4x WeakAuras\SubRegionTypes\SubText.lua:214: Usage: <unnamed>:SetFont("font", fontHeight [, flags])
[string "=[C]"]: in function `SetFont'
[string "@WeakAuras\SubRegionTypes\SubText.lua"]:214: in function `modify'
[string "@WeakAuras\RegionTypes\RegionPrototype.lua"]:611: in function `modifyFinish'
[string "@WeakAuras\RegionTypes\Icon.lua"]:555: in function `modify'
[string "@WeakAuras\WeakAuras-3.0.5.lua"]:2865: in function `SetRegion'
[string "@WeakAuras\WeakAuras.lua"]:2760: in function <WeakAuras\WeakAuras.lua:2666>
[string "@WeakAuras\WeakAuras.lua"]:2795: in function `Add'
[string "@WeakAuras\WeakAuras.lua"]:2326: in function `load'
[string "@WeakAuras\WeakAuras.lua"]:2333: in function `AddMany'
[string "@WeakAuras\WeakAuras.lua"]:1010: in function <WeakAuras\WeakAuras.lua:982>

[string "@WeakAuras\WeakAuras-3.0.5.lua"]:1132: in function <WeakAuras\WeakAuras.lua:1083>

Did you try having WeakAuras as the only enabled addon and everything else (especially something like ElvUI) disabled?

Yes, i tested that. Still not working.

Which version of WeakAuras are you using?

3.0.5

Are you on World of Warcraft Classic or Retail?

  • Classic
  • Retail

Was it working in a previous version? If yes, which was the last good one?

Before 9.0.1
WeakAuras.zip

Additional Info

commented

I can't reproduce your issue and i don't see something wrong in your SV

commented

I'v run this piece of code to detect problems without luck

print("########")
local SharedMedia = LibStub("LibSharedMedia-3.0")
local fonts = {}
local fontTypes = {}
for id, data in pairs(WeakAurasSaved.displays) do
   if data.subRegions then
      for i, v in ipairs(data.subRegions) do
         if v.type == "subtext" then
            if type(v.text_fontSize) ~= "number" then
               print("error", id)
            end
            if type(v.text_font) ~= "string" then
               print("error", id)
            end
            if not fonts[v.text_font] then
               --print(v.text_font)
               fonts[v.text_font] = true
               local fontPath = SharedMedia:Fetch("font", v.text_font)
               print(v.text_font, fontPath)
            end
            if not fontTypes[v.text_fontType] then
               print("> ", v.text_fontType, id)
               fontTypes[v.text_fontType] = true
            end
         end
      end
   end
end

I don't have a level 50 rogue to test your sv in good conditions