Thread Tools Display Modes
06-23-13, 03:41 PM   #1
Seer
A Molten Giant
Join Date: Dec 2007
Posts: 649
5.4 - interesting bug

So, decided to look at the 5.4 ptr. Wiped the interface and wtf folders and updated the ptr.

Logged in, exited and installed nUI... logged back in, and nUI fails to load. One error that pops up mention that the font isn't set. AFAIK, there's no / command for setting the fonts in nUI so installed a pluggin for that. (http://www.wowinterface.com/download...ConfigGUI.html -> note that some options here are broken as well, seems to be the ace library so update the included one).

Set the font and reloaded. problem fixed. logged out and back in, all was fine. Then logged out, exited and logged back in, again same error and nUI fails to load.

Anyone else getting this? Or am I the lucky lone one..

Lua errors grabbed, guess the last ones are caused by the first ones;

Code:
2x nUI-5.07.32 (Plus)\Plugins\nUI_ButtonBag.lua:240: nUI_ButtonBag_Label:SetText(): Font not set
<in C code>
nUI-5.07.32 (Plus)\Plugins\nUI_ButtonBag.lua:240: in main chunk

Locals:
CreateFrame = <func> =[C]:-1
ProfileCounter = <table> {}
BUTTONBAG_COLS = 7
ButtonBagConfig = <table> {
 Includes = <table> {}
 ButtonSize = <table> {}
 Unnamed = <table> {}
 TopRow = <table> {}
 ExcludePatterns = <table> {}
 Excludes = <table> {}
}
name = "nUI_ButtonBag"
bag_list = <table> {}
anchor = nUI_ButtonBagEvents {
 0 = <userdata>
}
frame = nUI_ButtonBag {
 top = nUI_ButtonBag_Top {}
 buttons = <table> {}
 label = nUI_ButtonBag_Label {}
 bottom = nUI_ButtonBag_Bottom {}
 0 = <userdata>
 middle = nUI_ButtonBag_Middle {}
 close_btn = nUI_ButtonBag_CloseButton {}
}
bag_button = nUI_ButtonBagButton {
 0 = <userdata>
 WrapScript = <func> @FrameXML\SecureHandlers.lua:704
 SetFrameRef = <func> @FrameXML\SecureHandlers.lua:715
 Execute = <func> @FrameXML\SecureHandlers.lua:699
 test = nUI_ButtonBag_CloseButton {}
 UnwrapScript = <func> @FrameXML\SecureHandlers.lua:710
}
Code:
6x nUI-5.07.32 (Plus)\Bars\nUI_Button.lua:713: nUI_TopLeftBar_Button1_nUIHotkey:SetText(): Font not set
<in C code>
nUI-5.07.32 (Plus)\Bars\nUI_Button.lua:713: in function "updateHotkeys"
nUI-5.07.32 (Plus)\Bars\nUI_Button.lua:1387: in function "initActionButton"
nUI-5.07.32 (Plus)\Bars\nUI_ButtonBar.lua:715: in function "createBar"
nUI-5.07.32 (Plus)\Bars\nUI_ButtonBar.lua:327: in function <nUI\Bars\nUI_ButtonBar.lua:167>

Locals:
key1 = nil
key2 = nil
GetBindingKey = <func> =[C]:-1
button = nUI_TopLeftBar_Button1 {
 0 = <userdata>
 feedback_action = 1
 action = 1
 flashing = 0
 FlyoutBorder = nUI_TopLeftBar_Button1FlyoutBorder {}
 FlyoutBorderShadow = nUI_TopLeftBar_Button1FlyoutBorderShadow {}
 flashtime = 0
 FlyoutArrow = nUI_TopLeftBar_Button1FlyoutArrow {}
 icon = nUI_TopLeftBar_Button1Icon {}
 cooldown = nUI_TopLeftBar_Button1Cooldown {}
}
text = ""
overlay = nUI_TopLeftBar_Button1_ActionOverlay {
 0 = <userdata>
 Timers = <table> {}
 updateHotkeys = <func> @nUI\Bars\nUI_Button.lua:703
 nUI_CachedSetAllPoints = <func> =[C]:-1
 abCooldown = <func> @nUI\Bars\nUI_Button.lua:673
 updateCooldown = <func> @nUI\Bars\nUI_Button.lua:956
 button = nUI_TopLeftBar_Button1 {}
 onUpdate = <func> @nUI\Bars\nUI_Button.lua:884
 is_oor = false
 is_oom = false
 elapsed = 0
 layers = <table> {}
 nUI_CachedClearAllPoints = <func> =[C]:-1
 nUI_CachedSetPoint = <func> =[C]:-1
 is_usable = true
 updateUsable = <func> @nUI\Bars\nUI_Button.lua:764
 is_cdc = false
 nUI_init = true
}
Code:
2x nUI-5.07.32 (Plus)\Integration\nUI_KeyBinding.lua:159: <unnamed>:SetText(): Font not set
<in C code>
nUI-5.07.32 (Plus)\Integration\nUI_KeyBinding.lua:159: in function <nUI\Integration\nUI_KeyBinding.lua:101>

Locals:
frame = nUI_KeyBindingFrame {
 0 = <userdata>
 label2 = <unnamed> {}
 header = <unnamed> {}
 label1 = <unnamed> {}
}
Code:
2x nUI-5.07.32 (Plus)\Integration\nUI_InfoPanel.lua:315: nUI_InfoPanelSelector:SetPoint(): Couldn"t find region named "nUI_BottomRightBar"
<in C code>
nUI-5.07.32 (Plus)\Integration\nUI_InfoPanel.lua:315: in function "applyAnchor"
nUI-5.07.32 (Plus)\Integration\nUI_InfoPanel.lua:453: in function "applySkin"
nUI\Main\nUI-5.07.32 (Plus).lua:297: in function <nUI\Main\nUI.lua:138>

Locals:
anchor = <table> {
 relative_to = "nUI_BottomRightBar"
 yOfs = 0
 xOfs = -10
 relative_pt = "TOPLEFT"
 anchor_pt = "TOPRIGHT"
}
anchor = <table> {
 relative_to = "nUI_BottomRightBar"
 yOfs = 0
 xOfs = -10
 relative_pt = "TOPLEFT"
 anchor_pt = "TOPRIGHT"
}
anchor_pt = "TOPRIGHT"
relative_to = "nUI_BottomRightBar"
relative_pt = "TOPLEFT"
xOfs = -7.5000001025809
yOfs = 0
frame = nUI_InfoPanelSelector {
 0 = <userdata>
 relative_to = "nUI_BottomRightBar"
 scale = 1
 xOfs = -7.5000001025809
 Panels = <table> {}
 applySkin = <func> @nUI\Integration\nUI_InfoPanel.lua:429
 anchor = <table> {}
 anchor_pt = "TOPRIGHT"
 applyOptions = <func> @nUI\Integration\nUI_InfoPanel.lua:356
 options = <table> {}
 text = nUI_InfoPanelSelector_Label {}
 relative_pt = "TOPLEFT"
 width = 69.750000954002
 yOfs = 0
 enabled = true
 applyScale = <func> @nUI\Integration\nUI_InfoPanel.lua:250
 height = 25.649999935032
 applyAnchor = <func> @nUI\Integration\nUI_InfoPanel.lua:289
 button = nUI_InfoPanelSelector_Button {}
 Labels = <table> {}
}
Code:
2x nUI-5.07.32 (Plus)\Bars\nUI_PowerBars.lua:92: WarlockPowerFrame:SetPoint(): Couldn"t find region named "nUI_HUDLayout_PlayerTargetBottom"
<in C code>
nUI-5.07.32 (Plus)\Bars\nUI_PowerBars.lua:92: in function <nUI\Bars\nUI_PowerBars.lua:63>
nUI-5.07.32 (Plus)\Bars\nUI_PowerBars.lua:163: in function <nUI\Bars\nUI_PowerBars.lua:148>

Locals:
PTM_Frame = PTM_Frame {
 0 = <userdata>
 unit = "player"
}
Code:
2x Blizzard_TimeManager.lua:666: attempt to index global "BlizzardStopwatchOptions" (a nil value)
Blizzard_TimeManager.lua:666: in function <Blizzard_TimeManager.lua:642>

Locals:
__________________
Take it as you want or leave it as it is.

Last edited by Seer : 06-23-13 at 03:56 PM.
 
06-23-13, 05:08 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,931
Looks like for some reason the nUI_L values aren't being recognised for some reason. For the first error message the following block of code is the one mentioned:

Code:
frame.label:SetJustifyH( "LEFT" );
frame.label:SetJustifyV( "MIDDLE" );
frame.label:SetFont( nUI_L["font2"], 10, "OUTLINE" );
frame.label:SetPoint( "TOPLEFT", frame, "TOPLEFT", 47, -10 );
frame.label:SetText( nUI_L["Minimap Button Bag"] );
As you can see the font and the text is using the nUI_L table to grab the text from. try putting a print(nUI_L["font2"]) statement in front of that block and the same for the text nUI_L as well and see whether it prints a nil or blank font or even a font that is getting removed from 5.4. If it comes up with a font name try replacing that font name with GameFontNormal and see what happens.

That said, I'll download the 5.4 ptr tonight and have a look tonight or tomorrow, depending on how quick it updates.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
06-24-13, 06:06 AM   #3
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Blizz has made changes to how saved variables are handled. There may be some new issues as a result. I spent some time testing with nUI6 yesterday, but haven't with nUI5 yet. There's almost certainly going to be some changes needed. /sigh
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
06-24-13, 01:54 PM   #4
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,931
Oh dear, guess I better get cracking on that download. wasn't even 50% through when I got up and left for work this morning so had to stop it so I didn't eat up the bandwidth from the family. Will carry on downloading when it gets to bed time so they can't moan at me rofl.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
06-24-13, 03:01 PM   #5
Daveo77
Premium Member
 
Daveo77's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Apr 2010
Posts: 141
Is this the change to Saved Varibles coming in 5.4 > Addon Change - 5.4 ?
 
06-24-13, 03:29 PM   #6
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,931
Its possible, but no message like that was reported. Just a regular error message.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » 5.4 - interesting bug


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off