phanx-wow / PhanxBuffs

WoW AddOn — Basic replacement for the player buff, debuff, and temporary enchant frames.
Other
3 stars 1 forks source link

Debuffs.lua:282: <unnamed>:SetText(): Font not set #1

Closed Phanx closed 9 years ago

Phanx commented 9 years ago

Originally posted on WoWInterface by Kkthnx:

This happens in combat randomly and whenever you get debuffs.

PhanxBuffs version = 6.0.2.167

WoW version and locale (6.0.3 - 19116) (enUS)

Description of the problem = Getting a lua error when in combat and getting a debuff.

Steps to reproduce the problem = Just go into combat and get debuffs.

Whether the problem happens when all other addons are disabled = Just happens with your addon enabled.

Exact text of the first related error message, if any =

PhanxBuffs\Debuffs.lua:282: <unnamed>:SetText(): Font not set
[C]:: in function 'SetText'
PhanxBuffs\Debuffs.lua:282: in function 'Update'
PhanxBuffs\SkinSupport.lua:122: in function 'callback'
Masque\Core\Groups-Groups.lua:32: in function <Masque\Core\Groups.lua:28>
Masque\Core\Groups-Groups.lua:234: in function 'ReSkin'
PhanxBuffs\SkinSupport.lua:109: in function <PhanxBuffs\SkinSupport.lua:104>
[C]:: in function 'SetHeight'
PhanxBuffs\Debuffs.lua:165: in function 'UpdateLayout'
PhanxBuffs\Debuffs.lua:136: in function <PhanxBuffs\Debuffs.lua:113>
PhanxBuffs\SkinSupport.lua:96: in function <PhanxBuffs\SkinSupport.lua:95>
PhanxBuffs\Debuffs.lua:276: in function 'Update'
PhanxBuffs\Debuffs.lua:323: in function <PhanxBuffs\Debuffs.lua:321

Reply # 1 by me:

What font do you have selected in the PhanxBuffs options? What addon provides that font (if it's not one of the game default fonts)?


Reply # 2 by Kkthnx:

I use a font folder in my wow. This way I can replace the default wow fonts. The font I am using is. DejaVu Sans > Replacing ARIALN.ttf.. If this is an isssue on my end then I apologize.


Reply # 3 by me:

The file itself shouldn't matter, unless it's broken, but if that was the case you'd be seeing other problems; I was more asking, what font name is shown on the dropdown in the PhanxBuffs options?

Also, the wording of your answer to this in the ticket was kind of ambiguous... does the problem still happen when other addons are disabled, or not? More specifically, does it happen if you disable Masque?


Reply # 4 by Kkthnx:

Thats another issue I just got today. The drop down for font text outline just does not work.

Here, maybe these will help.

screenshot screenshot


Reply # 5 by Kkthnx:

I have not had the issue at all today. I am trying without masque off right now and seeing what the results will be. I will have an answer to your question about mesque off and other addons off.


Reply # 6 by me:

That error most likely means that not all of your addons by me are up to date, as I made some changes in the dropdown menu helper library I use prior to all my 6.0 releases.

I see that you have "DejaVu Sans" selected in the options. Which addon registers that font with LibSharedMedia? Does the same issue happen if you select one of the default game fonts (Arial Narrow, Friz Quadrata, Morpheus, Skurri)? (It doesn't matter if you've replaced the ARIALN.ttf font file; addons aren't able to detect that, so for all practical intents and purposes, when you select Arial Narrow, you are still using a "default game font".)


Reply # 7 by Kkthnx:

Seems to only happen with Masque.


Reply # 8 by me:

Alright, I'll see if I can reproduce it this weekend (I usually don't use Masque on my buffs).

Phanx commented 9 years ago

Was fixed in 6.0.3.41.