Thread Tools Display Modes
03-07-10, 09:44 AM   #1
drakken2015
A Defias Bandit
Join Date: Nov 2009
Posts: 2
blank frames on login

It happens about 50% of the time. When I sign into a toon I get the background image of the UI but nothing else..

Strange thing is if I hit Enter and type "/reloadui" it reloads and looks fine.
 
03-07-10, 09:49 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
I've noticed that as well sometimes. I'm sure its my case of wiping the wtf files but this time I made a point of logging into each character without nUI before installing nUI and logging in so not sure whats happening there.
__________________


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
 
03-07-10, 10:03 AM   #3
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I actually think this problem is related to the key binding problem I'm trying to run down. There appears to be a "state" where the player is logging in but WoW has not yet initialized everything yet.

In the case you're referring to here, the problem is that the saved variables have not really been loaded when the "VARIABLES_LOADED" event fires. I've seen this myself. The "nUI_Options" variable is nil when this happens and that blows up the UI.

When you reload, because nUI_Options is written as nil on the log out, it causes nUI to reinitialize the saved variables.

It's a real mess and the symptoms are almost identical to the key binding problem with the exception that it is saved variables rather than binding data that is affected.
__________________

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/
 
03-07-10, 11:51 AM   #4
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
Ah, kinda makes sense.

But when do you initialise the nUI_Options ?

All my addons initialise the saved variables with the default values outside of the functions themselves and thus before the saved variables are loaded and replace these defaults. I've never had a problem like this with that data that way.

Say for example:

MyAddon.lua in wtf folder
SVData["Table1"] = {
Item1 = "SavedVariable"
};

MyAddon_SVData.lua
SVData["Table1"] = {};
SVData["Table1"].Item1 = "SomeTextHere";
etc

MyAddon.lua - loaded after MyAddon_SVData.lua is processed
function OnEvent()
Event = PlayerLogin
SVData["Table1"].Item1 would = "SomeTextHere"
Event = LoadVariables
SVData["Table1"].Item1 would = "SavedVariable"
end

This way the addon doesn't bomb out but will use the default values until the saved variables are loaded into memory. It's the way I have always dealt with saved variables and I have yet to have any of my data tables show up as nil ... *touches wood*
__________________


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
 
03-07-10, 12:22 PM   #5
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
The nUI_Options variable is initialized when the Lua code is loaded by the UI. But when the VARIABLES_LOADED event fires, the initialized values have been overloaded by the "failed" saved variables read and that's what causes the blow-up.
__________________

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/
 
03-07-10, 12:37 PM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
If you are getting a blank screen at login, or you are getting the "attempt to perform arithmetic on a nil value" error in line 214 of nUI_ChatFrame.lua then try saving the attached file in [ Interface > AddOns > nUI > Integration ] and let me know if it fixes the problem.

.
Attached Files
File Type: lua nUI_ChatFrame.lua (22.7 KB, 611 views)
__________________

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/
 
03-07-10, 12:41 PM   #7
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
Originally Posted by spiel2001 View Post
The nUI_Options variable is initialized when the Lua code is loaded by the UI. But when the VARIABLES_LOADED event fires, the initialized values have been overloaded by the "failed" saved variables read and that's what causes the blow-up.
ah gotcha, annoying blighter
__________________


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
 
03-11-10, 11:23 AM   #8
Belgarius
A Fallenroot Satyr
Join Date: Mar 2010
Posts: 24
I've been seeing this issue roughly half the time here, can't enter anything into the chatframe, so I remedy the problem by logging out and back in. Bags are in place, chat frame buttons appear usually in the right infopanel, sometimes in the left.

Hopefully, the below with aid in shedding a bit of light on things:

Date: 2010-03-11 12:18:10
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\nUI\Bars\nUI_MicroMenu.lua line 236:
attempt to index local 'options' (a nil value)
Debug:
[C]: ?
nUI\Bars\nUI_MicroMenu.lua:236: applyOptions()
nUI\Bars\nUI_MicroMenu.lua:292:
nUI\Bars\nUI_MicroMenu.lua:279
AddOns:
Swatter, v5.7.4568 (KillerKoala)
Ace2, v
AckisRecipeList, v1.0 2817
Atlas, v1.15.2
AtlasBattlegrounds, v1.15.2
AtlasDungeonLocs, v1.15.2
AtlasOutdoorRaids, v1.15.2
AtlasTransportation, v1.15.2
AtlasLoot, vv5.10.00
AtlasLootFu, vv5.10.00
AucAdvanced, v5.7.4568 (KillerKoala)
AucFilterBasic, v5.7.4568 (KillerKoala)
AucFilterOutlier, v5.7.4568.2531
AucMatchUndercut, v5.0.PRE.2467 (BillyGoat)
AucStatClassic, v5.7.4568 (KillerKoala)
AucStatHistogram, v5.7.4568 (KillerKoala)
AucStatiLevel, v5.7.4568 (KillerKoala)
AucStatPurchased, v5.7.4568 (KillerKoala)
AucStatSales, v5.7.4568.2842
AucStatSimple, v5.7.4568 (KillerKoala)
AucStatStdDev, v5.7.4568 (KillerKoala)
AucStatWOWEcon, v5.7.4568.2530
AucUtilAHWindowControl, v5.7.4568.3311
AucUtilAppraiser, v5.7.4568.2530
AucUtilAskPrice, v5.7.4568.3175
AucUtilAutoMagic, v5.7.4568.3142
AucUtilCompactUI, v5.7.4568.2530
AucUtilEasyBuyout, v5.7.4568.3583
AucUtilFixAH, v5.7.4568 (KillerKoala)
AucUtilGlypher, v5.7.4568.2545
AucUtilItemSuggest, v5.7.4568.3108
AucUtilPriceLevel, v5.7.4568.2545
AucUtilScanButton, v5.7.4568.2530
AucUtilScanFinish, v5.7.4568.2530
AucUtilScanProgress, v5.7.4568.2530
AucUtilSearchUI, v5.7.4568.3655
AucUtilSimpleAuction, v5.7.4568.4553
AucUtilVendMarkup, v5.7.4568.2530
Babylonian, v5.1.DEV.130
BeanCounter, v5.7.4568 (KillerKoala)
BonusScanner, v5.3
BugMeNot, v1.5.3
Configator, v5.1.DEV.130
CTCore, v3.201 (CTMod 3.2)
CTMailMod, v3.02 (CTMod 2.0)
DBMBossModStudio, v
DBMCore, v
DebugLib, v5.1.DEV.130
FuBarPlugin20, v2.0 $Revision: 66634 $
Gatherer, v3.1.14
GathererDBWowhead, v1.0.2009-12-09
GearScore, v3.1.14 - Beta
Informant, v5.7.4568 (KillerKoala)
NoDuel, v2.2
nUI, v5.06.10 (Plus)
nUIConfigGUI, v30300.1
nUIInfoPanelStats, v1.02.00
Omen, v3.0.9
RankWatch, vv1.10
Recount, v
SlideBar, v5.7.4568 (KillerKoala)
SpamMeNot, v3.2
Stubby, v5.7.4568 (KillerKoala)
Titan, v4.3.4.30300 - Revision 345
TitanAmmo, v4.3.4.30300
BlizRuntimeLib_enUS v3.3.2.30300 <us>
(ck=811)
 
03-11-10, 11:40 AM   #9
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
You can actually still type as if the chat frame is there. Just remember what you're typing and type /nui rl. Saves logging out and in again.
__________________


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 » blank frames on login


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