Thread Tools Display Modes
Old 07-09-11, 06:06 AM   #1
crazzzzi
A Flamescale Wyrmkin
Join Date: Mar 2010
Posts: 113
fresh bug

got this bug this morning, i have the most recent version of nui5
only occured on my rogue.





Date: 2011-07-09 07:55:24
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\nUI\Bars\nUI_ButtonBar.lua line 284:
Usage: SaveBindings(1||2)
Debug:
[C]: ?
[C]: SaveBindings()
nUI\Bars\nUI_ButtonBar.lua:284:
nUI\Bars\nUI_ButtonBar.lua:167
AddOns:
Swatter, v5.12.5196 (QuirkyKiwi)
WowheadLooter, v40017
NPCScan, v4.2.0.1
NPCScanOverlay, v4.2.0.1
AckisRecipeList, v2.2.6b
Altoholic, v4.2.001
AtlasLootLoader, vv6.04.03
Auctionator, v2.9.7
Babylonian, v5.1.DEV.312(/embedded)
Carbonite, v4.2
CarboniteDigsites, v1.0
CarboniteTransfer, v1.01
Configator, v5.1.DEV.312(/embedded)
DataStore, v4.2.001
DataStoreAchievements, v4.2.001
DataStoreAgenda, v4.2.001
DataStoreAuctions, v4.2.001
DataStoreCharacters, v4.2.001
DataStoreContainers, v4.2.001
DataStoreCrafts, v4.2.001
DataStoreCurrencies, v4.2.001
DataStoreInventory, v4.2.001
DataStoreMails, v4.2.001
DataStorePets, v4.2.001
DataStoreQuests, v4.2.001
DataStoreReputations, v4.2.001
DataStoreSpells, v4.2.001
DataStoreStats, v4.2.001
DataStoreTalents, v4.2.001
DBMArchaeology, v
DBMCore, v
DebugLib, v5.1.DEV.312(/embedded)
Informant, v5.12.5196 (QuirkyKiwi)
LibExtraTip, v5.12.DEV.311(/embedded)
LightHeaded, v337
nUI, v5.07.20 (Plus)
nUICenteredHUD, v5.06.19
nUIInfoPanelCarbonite, v
nUIInfoPanelStats, v5.07.17
nUIInvisiSkin, v1.00.00
nUIPluginCustomMovers, v1.01.00
Omen, v3.1.3
Recount, v
SellJunk, v3.0.2
Stubby, v5.12.5196 (QuirkyKiwi)
TipHelper, v5.12.DEV.310(/embedded)
Titan, v5.0.6.40200 - Revision 519
TitanBag, v5.0.6.40200
TitanClock, v5.0.6.40200
TitanCurrency, v5.2
TitanGold, v5.0.6.40200
TitanLocation, v5.0.6.40200
TitanLootType, v5.0.6.40200
TitanMount, v4.0.0
TitanPerformance, v5.0.6.40200
TitanProfessions, v4.0.2
TitanRepair, v5.0.6.40200
TitanVolume, v5.0.6.40200
TitanXP, v5.0.6.40200
ToolTipTabs, v1.4d
WOWEconPriceMod, v
BlizRuntimeLib_enUS v4.2.0.40200 <us>
(ck=6b0)
crazzzzi is offline  
Old 07-09-11, 09:39 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
This appears to be a Blizzard bug. The line of code that's causing it is as follows...

Code:
SaveBindings( GetCurrentBindingSet() or 1 );
Which would imply that GetCurrentBindingSet() is returning an invalid value. I'm discussing it with Blizz now and we'll see if we can run down what's happening.
__________________

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/
spiel2001 is offline  
Old 12-18-11, 08:47 PM   #3
Gregity
A Wyrmkin Dreamwalker
AddOn Author - Click to view addons
Join Date: Oct 2007
Posts: 52
Originally Posted by spiel2001 View Post
This appears to be a Blizzard bug. The line of code that's causing it is as follows...

Code:
SaveBindings( GetCurrentBindingSet() or 1 );
Which would imply that GetCurrentBindingSet() is returning an invalid value. I'm discussing it with Blizz now and we'll see if we can run down what's happening.
Have you chased this down? I've tried bypassing the problem with code like

If GetCurrentBindingSet() == 2 then SaveBindings(2) Else SaveBindings(1) end

but, while the error went away, what happens is that the keybindings don't get applied at all (in at least some cases). It has to be returning a value other than nil, 1, or 2 for your code to get an error (I had tried the same coding and ran into the same error).

One of my posters noted that it only happened on logons other than the first. I was able to recreate the error on another account.

I went into keybindings and noted that the affected character had the checkbox for Character Specific Key Bindings checked and zero keybinds. I then did /script ReloadUI() and checked again, the keybinds were there, but the checkbox was not checked. I checked the box again and since then I haven't been able to reproduce the error on that account.
Gregity is offline  
Old 12-19-11, 05:32 AM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
No... I have not. It's been kind of an outlier case so I haven't invested a lot of time on it.

I think the bottom line is that there are cases where the system is trying to access key bindings before they have been loaded and I honestly don't know how to work around it.

I've thought of maybe making an oddball custom keybind that no one can access or change and testing it to see if it is set correctly... but that seems very expensive in long run.
__________________

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/
spiel2001 is offline  
 

Go BackWoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » fresh bug

Thread Tools
Display Modes

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