Thread Tools Display Modes
Old 06-24-10, 01:29 PM   #1
Vanhealen
A Murloc Raider
Join Date: Jun 2010
Posts: 7
Error on Switching to duel spec

I just encountered this today when switching to my other spec and got this error .....

Message: Interface\AddOns\nUI\Bars\nUI_Button.lua:995: attempt to compare number with string
Time: 06/24/10 12:23:50
Count: 1
Stack: Interface\AddOns\nUI\Bars\nUI_Button.lua:995: in function `updateCooldown'
Interface\AddOns\nUI\Bars\nUI_Button.lua:680: in function `abCooldown'
Interface\AddOns\nUI\Bars\nUI_Button.lua:386: in function <Interface\AddOns\nUI\Bars\nUI_Button.lua:377>
[C]: in function `CooldownFrame_SetTimer'
Interface\FrameXML\ActionButton.lua:348: in function `ActionButton_UpdateCooldown'
Interface\FrameXML\ActionButton.lua:197: in function <Interface\FrameXML\ActionButton.lua:163>
[C]: in function `ActionButton_Update'
Interface\FrameXML\ActionButton.lua:360: in function `ActionButton_OnEvent'
[string "*:OnEvent"]:1: in function <[string "*:OnEvent"]:1>

Locals: (*temporary) = "PVP"
(*temporary) = 17339.422
(*temporary) = "equipmentset"
(*temporary) = "PVP"
(*temporary) = nUI_TopRightBar_Button12 {
eventsRegistered = true
feedback_action = 60
action = 60
rangeTimer = 0.13299999833107
flashtime = 0
bindAction = <function> defined @Interface\AddOns\nUI\Bars\nUI_ButtonBar.lua:718
flashing = 0
0 = <userdata>
}
(*temporary) = "action"
(*temporary) = "attempt to compare number with string"
action = 60
button = nUI_TopRightBar_Button12 {
eventsRegistered = true
feedback_action = 60
action = 60
rangeTimer = 0.13299999833107
flashtime = 0
bindAction = <function> defined @Interface\AddOns\nUI\Bars\nUI_ButtonBar.lua:718
flashing = 0
0 = <userdata>
}
type = "equipmentset"
id = "PVP"
GetActionInfo = <function> defined =[C]:-1
cooldown = nil
Cooldowns = <table> {
84 = <table> {
}
6948 = <table> {
}
}
cdc = nil
cdc2 = nUI_TopRightBar_Button12_CDCLabel {
r = 1
0 = <userdata>
value = "30m"
g = 1
b = 0
}
overlay = nUI_TopRightBar_Button12_ActionOverlay {
Timers = <table> {
}
b = 1
elapsed = 0
duration = 1800
abCooldown = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:660
button = nUI_TopRightBar_Button12 {
}
icon = nUI_TopRightBar_Button12Icon {
}
is_oom = false
r = 1
bindingType = "MULTIACTIONBAR2BUTTON"
actionID = 12
layers = <table> {
}
nUI_CachedClearAllPoints = <function> defined =[C]:-1
updateUsable = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:753
is_cdc = true
cdc_start = 17339.422
action = 60
updateHotkeys = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:691
updateCooldown = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:947
is_usable = true
onUpdate = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:873
is_oor = false
cdc_duration = -1
id = 6948
0 = <userdata>
nUI_CachedSetAllPoints = <function> defined =[C]:-1
done = false
nUI_CachedSetPoint = <function> defined =[C]:-1
start = 17325.127
is_flashing = false
actionType = "nUI_TOPRIGHTBAR"
nUI_init = true
}
start = 17339.422
duration = -1
now = 17339.422
GetTime = <function> defined =[C]:-1
nUI = <table> {
info_frame = nUI_InfoPanelSelector {
}
SpellStatus = <table> {
}
realmName = "Gurubashi"
TableSort = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:749
SkinnedFrames = <table> {
}
registerScalableFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:420
TableInsertByValue = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:769
setScale = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:596
debug = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:850
initActionButton = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:472
unregisterSkinnedFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:583
TableRemoveByValue = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:720
lastSpell = 149
setConsoleVisibility = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:788
FrameList = <table> {
}
chat_frame = nUI_ChatFrame {
}
hScale = 0.53333336980653
scale = 0.53333336980653
vScale = 0.45599998960514
unregisterScalableFrame = <function> defined @Interface\AddOns\nUI\Main
Vanhealen is offline  
Old 06-24-10, 01:34 PM   #2
Vanhealen
A Murloc Raider
Join Date: Jun 2010
Posts: 7
Actually scratch that, its happening when i switch my gear sets out.
Vanhealen is offline  
Old 06-24-10, 01:34 PM   #3
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,026
Sounds like a glitch in the cooldown display if the spell no longer exists in your arsenal.

Can you list your spells/abilities on the 12th button. I can't remember which bar is which so list all the 12th button abilities and I am sure one at least will be a spec specific ability that no longer exists in the new talent spec

I've not seen it myself recently but you're not the only one that has reported it
__________________
Xrystal is offline  
Old 06-24-10, 01:51 PM   #4
Vanhealen
A Murloc Raider
Join Date: Jun 2010
Posts: 7
Yea it seems to happen if i put any of my equipment sets in that 12th slot.

http://www.wowinterface.com/forums/a...1&d=1277408956

But the more i mess with it now it looks like it has that equipment set on cool down, or whatever set i put there. it doesn't do it to spells.

http://www.wowinterface.com/forums/a...1&d=1277408956
Attached Thumbnails
Click image for larger version

Name:	error.jpg
Views:	571
Size:	168.1 KB
ID:	4496  Click image for larger version

Name:	Error2.jpg
Views:	567
Size:	62.2 KB
ID:	4497  
Vanhealen is offline  
Old 06-24-10, 02:35 PM   #5
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,026
Ah that could explain why some people get the problem and others don't. I'm guessing that when nUI checks wow to see what the cooldown it is it is returning a value not expected and thus dealt with in the wrong way.

For now, try to avoid using the gearsets on the toolbars and just use the character frame to select them. At least until Scott gets a chance to sort stuff out.
__________________
Xrystal is offline  
Old 06-24-10, 03:54 PM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Yeah... that's a good thing to know as I work on nUI6, but I'm not going to try and backfill a fix into nUI5 for that.

Very good to know though.
__________________

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 » Error on Switching to duel spec

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