Thread Tools Display Modes
11-27-12, 04:00 PM   #1
Devate
A Deviate Faerie Dragon
Join Date: Jan 2010
Posts: 11
Attempt to compare number with string error upon entering combat

Hey guys. I understand that nUI 5 is considered end of life and that you're focusing on getting nUI 6 finished as soon as possible. That being said I've run into an error since the patch today went live that is rather annoying. Seems to come up every time I use an ability in combat. What makes this error annoying enough to mention is that the only way to clear the error window from the game screen is to /reload ui as the error count number continues to rise indefinitely.


Message: Interface\AddOns\nUI\Bars\nUI_Button.lua:1004: attempt to compare number with string
Time: 11/27/12 13:54:38
Count: 6797
Stack: Interface\AddOns\nUI\Bars\nUI_Button.lua:1004: in function `updateCooldown'
Interface\AddOns\nUI\Bars\nUI_Button.lua:941: in function `onUpdate'
Interface\AddOns\nUI\Bars\nUI_Button.lua:373: in function <Interface\AddOns\nUI\Bars\nUI_Button.lua:368>
[C]: in function `ActionButton_OnUpdate'
[string "*:OnUpdate"]:1: in function <[string "*:OnUpdate"]:1>

Locals: (*temporary) = "0x00000000000b5a35"
(*temporary) = 597975.5
(*temporary) = "summonpet"
(*temporary) = "0x00000000000b5a35"
(*temporary) = nUI_TopRightBar_Button9 {
0 = <userdata>
feedback_action = 57
action = 57
bindAction = <function> defined @Interface\AddOns\nUI\Bars\nUI_ButtonBar.lua:730
flashing = 0
eventsRegistered = true
rangeTimer = 0.10899999439716
FlyoutBorder = nUI_TopRightBar_Button9FlyoutBorder {
}
FlyoutBorderShadow = nUI_TopRightBar_Button9FlyoutBorderShadow {
}
flashtime = 0
FlyoutArrow = nUI_TopRightBar_Button9FlyoutArrow {
}
icon = nUI_TopRightBar_Button9Icon {
}
cooldown = nUI_TopRightBar_Button9Cooldown {
}
}
(*temporary) = "action"
(*temporary) = "attempt to compare number with string"
action = 57
button = nUI_TopRightBar_Button9 {
0 = <userdata>
feedback_action = 57
action = 57
bindAction = <function> defined @Interface\AddOns\nUI\Bars\nUI_ButtonBar.lua:730
flashing = 0
eventsRegistered = true
rangeTimer = 0.10899999439716
FlyoutBorder = nUI_TopRightBar_Button9FlyoutBorder {
}
FlyoutBorderShadow = nUI_TopRightBar_Button9FlyoutBorderShadow {
}
flashtime = 0
FlyoutArrow = nUI_TopRightBar_Button9FlyoutArrow {
}
icon = nUI_TopRightBar_Button9Icon {
}
cooldown = nUI_TopRightBar_Button9Cooldown {
}
}
type = "summonpet"
id = "0x00000000000b5a35"
GetActionInfo = <function> defined =[C]:-1
cooldown = nil
Cooldowns = <table> {
20271 = <table> {
}
}
cdc = nil
cdc2 = nUI_TopRightBar_Button9_CDCLabel {
0 = <userdata>
}
overlay = nUI_TopRightBar_Button9_ActionOverlay {
0 = <userdata>
Timers = <table> {
}
action = 57
updateHotkeys = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:703
nUI_CachedSetAllPoints = <function> defined =[C]:-1
abCooldown = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:673
updateCooldown = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:956
cdc_duration = 1.5
button = nUI_TopRightBar_Button9 {
}
cdc_start = 597975.5
onUpdate = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:884
is_oor = false
b = 1
r = 1
bindingType = "MULTIACTIONBAR2BUTTON"
actionID = 9
actionType = "nUI_TOPRIGHTBAR"
is_oom = false
elapsed = 0
layers = <table> {
}
nUI_CachedClearAllPoints = <function> defined =[C]:-1
nUI_CachedSetPoint = <function> defined =[C]:-1
is_usable = true
updateUsable = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:764
is_cdc = false
nUI_init = true
}
start = 597975.5
duration = 1.5
now = 598328.295
GetTime = <function> defined =[C]:-1
nUI = <table> {
info_frame = nUI_InfoPanelSelector {
}
SpellStatus = <table> {
}
ReparentChat = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:114
realmName = "Dragonblight"
TableSort = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:789
SkinnedFrames = <table> {
}
registerScalableFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:460
HideDefaultFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:861
TableInsertByValue = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:809
setScale = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:636
BlizUI = nUI_BlizUI {
}
initActionButton = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:481
unregisterSkinnedFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:623
TableRemoveByValue = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:760
setConsoleVisibility = <function> defined @Interface\AddOns\nUI\Main\

This error message seems to come up simultaneously with the other.

Message: Interface\AddOns\nUI\Bars\nUI_Button.lua:1004: attempt to compare number with string
Time: 11/27/12 13:48:45
Count: 5
Stack: Interface\AddOns\nUI\Bars\nUI_Button.lua:1004: in function `updateCooldown'
Interface\AddOns\nUI\Bars\nUI_Button.lua:683: in function `abCooldown'
Interface\AddOns\nUI\Bars\nUI_Button.lua:153: in function <Interface\AddOns\nUI\Bars\nUI_Button.lua:142>

Locals: (*temporary) = "0x00000000000b5a35"
(*temporary) = 597975.5
(*temporary) = "summonpet"
(*temporary) = "0x00000000000b5a35"
(*temporary) = nUI_TopRightBar_Button9 {
0 = <userdata>
feedback_action = 57
action = 57
bindAction = <function> defined @Interface\AddOns\nUI\Bars\nUI_ButtonBar.lua:730
flashing = 0
eventsRegistered = true
rangeTimer = 0.057999993488193
FlyoutBorder = nUI_TopRightBar_Button9FlyoutBorder {
}
FlyoutBorderShadow = nUI_TopRightBar_Button9FlyoutBorderShadow {
}
flashtime = 0
FlyoutArrow = nUI_TopRightBar_Button9FlyoutArrow {
}
icon = nUI_TopRightBar_Button9Icon {
}
cooldown = nUI_TopRightBar_Button9Cooldown {
}
}
(*temporary) = "action"
(*temporary) = "attempt to compare number with string"
action = 57
button = nUI_TopRightBar_Button9 {
0 = <userdata>
feedback_action = 57
action = 57
bindAction = <function> defined @Interface\AddOns\nUI\Bars\nUI_ButtonBar.lua:730
flashing = 0
eventsRegistered = true
rangeTimer = 0.057999993488193
FlyoutBorder = nUI_TopRightBar_Button9FlyoutBorder {
}
FlyoutBorderShadow = nUI_TopRightBar_Button9FlyoutBorderShadow {
}
flashtime = 0
FlyoutArrow = nUI_TopRightBar_Button9FlyoutArrow {
}
icon = nUI_TopRightBar_Button9Icon {
}
cooldown = nUI_TopRightBar_Button9Cooldown {
}
}
type = "summonpet"
id = "0x00000000000b5a35"
GetActionInfo = <function> defined =[C]:-1
cooldown = nil
Cooldowns = <table> {
20271 = <table> {
}
}
cdc = nil
cdc2 = nUI_TopRightBar_Button9_CDCLabel {
0 = <userdata>
}
overlay = nUI_TopRightBar_Button9_ActionOverlay {
0 = <userdata>
Timers = <table> {
}
action = 57
updateHotkeys = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:703
nUI_CachedSetAllPoints = <function> defined =[C]:-1
abCooldown = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:673
updateCooldown = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:956
cdc_duration = 1.5
button = nUI_TopRightBar_Button9 {
}
cdc_start = 597975.5
onUpdate = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:884
is_oor = false
b = 1
r = 1
bindingType = "MULTIACTIONBAR2BUTTON"
actionID = 9
actionType = "nUI_TOPRIGHTBAR"
is_oom = false
elapsed = 0
layers = <table> {
}
nUI_CachedClearAllPoints = <function> defined =[C]:-1
nUI_CachedSetPoint = <function> defined =[C]:-1
is_usable = true
updateUsable = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:764
is_cdc = false
nUI_init = true
}
start = 597975.5
duration = 1.5
now = 597975.895
GetTime = <function> defined =[C]:-1
nUI = <table> {
info_frame = nUI_InfoPanelSelector {
}
SpellStatus = <table> {
}
ReparentChat = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:114
realmName = "Dragonblight"
TableSort = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:789
SkinnedFrames = <table> {
}
registerScalableFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:460
HideDefaultFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:861
TableInsertByValue = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:809
setScale = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:636
BlizUI = nUI_BlizUI {
}
initActionButton = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:481
unregisterSkinnedFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:623
TableRemoveByValue = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:760
setConsoleVisibility = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:828
FrameList = <table> {
}
chat_frame = nUI_ChatFrame {
}
hScale = 0.75
scale = 0.75
wo
 
11-27-12, 06:01 PM   #2
Bloodbayne
A Murloc Raider
Join Date: Oct 2010
Posts: 6
Same Issue

FPS at 150+ enter combat FPS drops to 5 FPS. Only RL UI resets it.
 
11-27-12, 08:03 PM   #3
roguesirs
A Deviate Faerie Dragon
Join Date: Oct 2010
Posts: 12
also getting this error

also getting the same string of errors when combat is entered
 
11-27-12, 08:39 PM   #4
twizt3dkitty
A Cliff Giant
 
twizt3dkitty's Avatar
Join Date: Nov 2011
Posts: 46
nui6 is showing similiar error. I think its a taint bug.
 
11-28-12, 04:17 PM   #5
Seer
A Molten Giant
Join Date: Dec 2007
Posts: 649
Try turning off the new "loss of control" option in the interface options (the default Blizzard stuff, not nui). seems to work for me, at least in a 10 men raid. Same fps as before latest patch.
__________________
Take it as you want or leave it as it is.

Last edited by Seer : 11-28-12 at 04:19 PM.
 
11-28-12, 04:53 PM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I'll look into this on nUI6.

It's my understanding that there's a long list of errors being thrown on 5.1 now, so I'll start tackling them on nUI6... not sure what, if anything, will happen on nUI5. That would be up to Xrystal whether or not she wants to work on it.
__________________

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/
 
11-28-12, 05:06 PM   #7
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,877
I've not got the errors myself to identify the cause and possible fix for nUI5. I've had several fights where I have been stunned etc and have had that new banner appear but no error messages pop up because of it.
__________________
 
11-28-12, 05:13 PM   #8
Seer
A Molten Giant
Join Date: Dec 2007
Posts: 649
Well, to be honest, I think the errors pop up out of combat as well, tho not sure. I just turned off the new loss of control option cause I read somewhere it could cause errors. Might be all is well with it turned on but didn't want to risk it during a raid.

This is what's in the !!buggrabber.lua;

["message"] = "nUI-5.07.27 (Plus)\\Bars\\nUI_Button.lua:1004: attempt to compare number with string",
["time"] = "2012/11/28 19:47:05",
["locals"] = "self = nUI_BottomRightBar_Button4 {\n 0 = <userdata>\n feedback_action = 112\n action = 112\n bindAction = <func> @nUI\\Bars\\nUI_ButtonBar.lua:730\n flashing = 0\n rangeTimer = 0.12199999839067\n eventsRegistered = true\n FlyoutBorder = nUI_BottomRightBar_Button4FlyoutBorder {}\n FlyoutBorderShadow = nUI_BottomRightBar_Button4FlyoutBorderShadow {}\n flashtime = 0\n FlyoutArrow = nUI_BottomRightBar_Button4FlyoutArrow {}\n icon = nUI_BottomRightBar_Button4Icon {}\n cooldown = nUI_BottomRightBar_Button4Cooldown {}\n}\nelapsed = 0.028000000864267\ndo_action_update = false\nvisible = true\noverlay = nUI_BottomRightBar_Button4_ActionOverlay {\n 0 = <userdata>\n Timers = <table> {}\n action = 112\n updateHotkeys = <func> @nUI\\Bars\\nUI_Button.lua:703\n nUI_CachedSetAllPoints = <func> =[C]:-1\n abCooldown = <func> @nUI\\Bars\\nUI_Button.lua:673\n cdc_duration = 1.333\n updateCooldown = <func> @nUI\\Bars\\nUI_Button.lua:956\n cdc_start = 1429.981\n button = nUI_BottomRightBar_Button4 {}\n onUpdate = <func> @nUI\\Bars\\nUI_Button.lua:884\n is_oor = false\n b = 1\n r = 1\n actionID = 4\n actionType = \"nUI_BOTTOMRIGHTBAR\"\n is_oom = false\n elapsed = 0\n layers = <table> {}\n nUI_CachedClearAllPoints = <func> =[C]:-1\n nUI_CachedSetPoint = <func> =[C]:-1\n is_usable = true\n updateUsable = <func> @nUI\\Bars\\nUI_Button.lua:764\n is_cdc = false\n nUI_init = true\n}\nbtn_name = \"nUI_BottomRightBar_Button4\"\nbutton = nUI_BottomRightBar_Button4 {\n 0 = <userdata>\n feedback_action = 112\n action = 112\n bindAction = <func> @nUI\\Bars\\nUI_ButtonBar.lua:730\n flashing = 0\n rangeTimer = 0.12199999839067\n eventsRegistered = true\n FlyoutBorder = nUI_BottomRightBar_Button4FlyoutBorder {}\n FlyoutBorderShadow = nUI_BottomRightBar_Button4FlyoutBorderShadow {}\n flashtime = 0\n FlyoutArrow = nUI_BottomRightBar_Button4FlyoutArrow {}\n icon = nUI_BottomRightBar_Button4Icon {}\n cooldown = nUI_BottomRightBar_Button4Cooldown {}\n}\n",
["stack"] = "nUI-5.07.27 (Plus)\\Bars\\nUI_Button.lua:1004: in function \"updateCooldown\"\nnUI-5.07.27 (Plus)\\Bars\\nUI_Button.lua:941: in function \"onUpdate\"\nnUI-5.07.27 (Plus)\\Bars\\nUI_Button.lua:373: in function <nUI\\Bars\\nUI_Button.lua:368>\n<in C code>\n<string>:\"*:OnUpdate\":1: in function <string>:\"*:OnUpdate\":1",
["session"] = 377,
["counter"] = 87,
}, -- [126]

As a side note, the look of the action bar buttons when you lose control of your char seems different as well, far more obvious now that you cant cast. (Unless I never noticed it was like that before offcourse)
__________________
Take it as you want or leave it as it is.

Last edited by Seer : 11-28-12 at 05:28 PM.
 
11-28-12, 06:32 PM   #9
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I have been unable to reproduce this problem in nUI6. I'm thinking it might be related to the way that nUI5 handles the timers on the action buttons. Xrystal -- you might just need to add a trap on the timer value for the button in the update function... if it's nil, then remove the time from the update list maybe?
__________________

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/
 
11-28-12, 07:19 PM   #10
Devate
A Deviate Faerie Dragon
Join Date: Jan 2010
Posts: 11
As an update to my original post I've tried a few things, mainly disabling all addons except for nUI and found that the error still occurs when nUI is the only addon running. Also it seems that any action which causes a global cool down, including use of a hearth stone, will trigger the error. Not sure if this will help, but felt it should be mentioned.
 
11-28-12, 08:19 PM   #11
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I'm going to jump on nUI5, see if I can isolate the error, and get a patch out.

So far I have not seen the problem in nUi6 and I've been tester in few hours now.
__________________

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/
 
11-28-12, 08:45 PM   #12
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Question: do you by any chance have a button for an equipment set on your action bar?

I'm trying to figure out what's causing the GetActionInfo() mehtod to be returning a string ID for the action instead of an integer ID number.
__________________

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/
 
11-28-12, 08:52 PM   #13
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I'd be curious to know if this fixes the problem for you... if you would, copy the attached file into your [ Interface > AddOns > nUI > Bars ] directory, reload WoW and let me know if the problem has gone away?
Attached Files
File Type: lua nUI_Button.lua (44.7 KB, 504 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/
 
11-28-12, 09:25 PM   #14
Vrallox
A Deviate Faerie Dragon
Join Date: Nov 2007
Posts: 16
I'm still getting the problem after using it. What's funny is that even before I applied that fix I noticed that my hunter alt seems to be immune to the problem. I ran around and got into about twenty different fights without any nUI errors.

I also have a couple equipment set buttons on the action bars of all my characters. Even the hunter.

Last edited by Vrallox : 11-28-12 at 09:28 PM. Reason: Additional Info
 
11-28-12, 09:38 PM   #15
Bloodbayne
A Murloc Raider
Join Date: Oct 2010
Posts: 6
Exclamation LUA Error

still having the same problem. 20 sec fight and the lua errors are still ticking past 54k count
 
11-28-12, 09:56 PM   #16
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Can you post me a copy of one of the current errors? I think it may be a new error from the one I fixed.

(I cannot replicate the problem on any of my toons)
__________________

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/
 
11-28-12, 10:36 PM   #17
Vrallox
A Deviate Faerie Dragon
Join Date: Nov 2007
Posts: 16
Hope this helps.

1868x nUI-5.07.27 (Plus)\Bars\nUI_Button.lua:1004: attempt to call upvalue "type"

(a string value)
nUI-5.07.27 (Plus)\Bars\nUI_Button.lua:1004: in function

"updateCooldown"
nUI-5.07.27 (Plus)\Bars\nUI_Button.lua:683: in function

"abCooldown"
nUI-5.07.27 (Plus)\Bars\nUI_Button.lua:153: in function <nUI\Bars

\nUI_Button.lua:142>
<in C code>
FrameXML\SecureTemplates.lua:275: in function

"handler"
FrameXML\SecureTemplates.lua:560: in function <FrameXML

\SecureTemplates.lua:508>

Locals:
self = nUI_ActionBar_Button1 {
0 = <userdata>


feedback_action = 1
action = 1
bindAction = <func> @nUI\Bars

\nUI_ButtonBar.lua:729
flashing = 0
rangeTimer = 0.080999991670251
eventsRegistered = true
FlyoutBorder =

nUI_ActionBar_Button1FlyoutBorder {}
FlyoutBorderShadow =

nUI_ActionBar_Button1FlyoutBorderShadow {}
flashtime = 0
FlyoutArrow =

nUI_ActionBar_Button1FlyoutArrow {}
icon = nUI_ActionBar_Button1Icon {}
cooldown

= nUI_ActionBar_Button1Cooldown {}
}
start = 7432.434
duration = 1
enable = 1
overlay

= nUI_ActionBar_Button1_ActionOverlay {
0 = <userdata>
Timers = <table> {}
action

= 1
updateHotkeys = <func> @nUI\Bars\nUI_Button.lua:703
nUI_CachedSetAllPoints =

<func> =[C]:-1
abCooldown = <func> @nUI\Bars\nUI_Button.lua:673
cdc_duration = 1
cdc_start =

7432.434
updateCooldown = <func> @nUI\Bars\nUI_Button.lua:956
button =

nUI_ActionBar_Button1 {}
onUpdate = <func> @nUI\Bars\nUI_Button.lua:884
b = 1


is_oor = false
spellID = 109151
spellStatus = <table> {}
r = 1
bindingType =

"ACTIONBUTTON"
actionID = 1
actionType = "nUI_ACTIONBAR"
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
}
GetTime = <func> =[C]:-1
 
11-28-12, 10:39 PM   #18
Devate
A Deviate Faerie Dragon
Join Date: Jan 2010
Posts: 11
Just copied the file you uploaded earlier into the directory and logged in. Still getting the error. Also, at least in my case, I don't have any equipment set buttons on my action bar. Here's a copy of the error.


Date: 2012-11-28 20:34:01
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\nUI\Bars\nUI_Button.lua line 1004:
attempt to call upvalue 'type' (a string value)
Debug:
[C]: ?
nUI\Bars\nUI_Button.lua:1004: updateCooldown()
nUI\Bars\nUI_Button.lua:941: onUpdate()
nUI\Bars\nUI_Button.lua:373:
nUI\Bars\nUI_Button.lua:368
[C]: ActionButton_OnUpdate()
[string "*:OnUpdate"]:1:
[string "*:OnUpdate"]:1
Locals:
(*temporary) = "spell"
(*temporary) = 1022
(*temporary) = "attempt to call upvalue 'type' (a string value)"
action = 61
button = nUI_TopLeftBar_Button1 {
0 = <userdata>
feedback_action = 61
action = 61
bindAction = <function> defined @Interface\AddOns\nUI\Bars\nUI_ButtonBar.lua:730
flashing = 0
eventsRegistered = true
rangeTimer = 0.10399999544024
FlyoutBorder = nUI_TopLeftBar_Button1FlyoutBorder {
}
FlyoutBorderShadow = nUI_TopLeftBar_Button1FlyoutBorderShadow {
}
flashtime = 0
FlyoutArrow = nUI_TopLeftBar_Button1FlyoutArrow {
}
icon = nUI_TopLeftBar_Button1Icon {
}
cooldown = nUI_TopLeftBar_Button1Cooldown {
}
}
type = "spell"
id = 1022
GetActionInfo = <function> defined =[C]:-1
cooldown = nil
Cooldowns = <table> {
}
cdc = nil
cdc2 = nUI_TopLeftBar_Button1_CDCLabel {
0 = <userdata>
}
overlay = nUI_TopLeftBar_Button1_ActionOverlay {
0 = <userdata>
Timers = <table> {
}
action = 61
updateHotkeys = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:703
nUI_CachedSetAllPoints = <function> defined =[C]:-1
abCooldown = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:673
cdc_duration = 1
updateCooldown = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:956
cdc_start = 708684.419
button = nUI_TopLeftBar_Button1 {
}
onUpdate = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:884
b = 1
is_oor = false
spellID = 1022
spellStatus = <table> {
}
r = 1
bindingType = "MULTIACTIONBAR1BUTTON"
actionID = 1
actionType = "nUI_TOPLEFTBAR"
is_oom = false
elapsed = 0
layers = <table> {
}
nUI_CachedClearAllPoints = <function> defined =[C]:-1
nUI_CachedSetPoint = <function> defined =[C]:-1
is_usable = true
updateUsable = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:764
is_cdc = false
nUI_init = true
}
start = 708684.419
duration = 1
now = 708684.447
GetTime = <function> defined =[C]:-1
nUI = <table> {
info_frame = nUI_InfoPanelSelector {
}
SpellStatus = <table> {
}
ReparentChat = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:114
realmName = "Dragonblight"
TableSort = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:789
SkinnedFrames = <table> {
}
registerScalableFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:460
HideDefaultFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:861
TableInsertByValue = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:809
setScale = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:636
BlizUI = nUI_BlizUI {
}
initActionButton = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:481
unregisterSkinnedFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:623
TableRemoveByValue = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:760
setConsoleVisibility = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:828
FrameList = <table> {
}
chat_frame = nUI_ChatFrame {
}
hScale = 0.75
scale = 0.75
worldLatency = 43
vScale = 0.64124992752075
unregisterScalableFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:495
registerSkinnedFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:595
playerName = "Devate"
SafeCall = <function> defined @Interface\AddOns\nUI\Main\ExceptionHandler.lua:101
configButtons = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:212
UnitFrames = <table> {
}
UnitPanels = <table> {
}
framerate = 36.407764434814
FrameExplorer = <function> defined @Interface\AddOns\nUI\Integration\nUI_ChatFrame.lua:407
Cooldowns = <table> {
}
patchConfig = <function> defined @Interface\AddOns\nUI\Tools\nUI_Config.lua:320
disableUnitFrame = <function> defined @Interface\AddOns\nUI\Main\nUI.lua:725
configButtonColor = <function> defined @Interface\AddOns\nUI\Bars\nUI_Button.lua:226
latency = 42
}
remain = nil
text = nil
color = nil
name = nil
nUI_GCDSpells = <table> {
}

AddOns:
Swatter, v4.0.0 (<%codename%>)
nUI, v5.07.28 (Plus)
BlizRuntimeLib_enUS v5.1.0.50100 <us>
(ck=60)
 
11-28-12, 10:47 PM   #19
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Ugh... okay... my bad... I stepped on one of my own variables there.

See if this one fixes it. If not, please post me the new error again. Thanks
Attached Files
File Type: lua nUI_Button.lua (44.7 KB, 807 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/
 
11-28-12, 10:57 PM   #20
Devate
A Deviate Faerie Dragon
Join Date: Jan 2010
Posts: 11
That seems to have fixed it. At least for me. Thanks man.
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » Attempt to compare number with string error upon entering combat

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