Thread Tools Display Modes
02-26-11, 09:01 AM   #1
HuntersRock
A Defias Bandit
Join Date: Oct 2010
Posts: 3
Chatframe lua error

I am using the 5.0.7.12 NUI release and started getting the following LUA error:

Code:
Message: Interface\FrameXML\ChatFrame.lua:3779: attempt to perform arithmetic on a nil value
Time: 02/26/11 09:11:42
Count: 1
Stack: Interface\FrameXML\ChatFrame.lua:3779: in function `ChatEdit_UpdateHeader'
Interface\FrameXML\ChatFrame.lua:3506: in function `ChatEdit_ResetChatType'
Interface\FrameXML\ChatFrame.lua:3576: in function <Interface\FrameXML\ChatFrame.lua:3562>
Interface\FrameXML\ChatFrame.lua:3586: in function `ChatEdit_DeactivateChat'
Interface\FrameXML\InterfaceOptionsPanels.lua:980: in function `InterfaceOptionsSocialPanelChatStyle_SetChatStyle'
Interface\FrameXML\InterfaceOptionsPanels.lua:909: in function <Interface\FrameXML\InterfaceOptionsPanels.lua:896>

Locals: editBox = ChatFrame2EditBox {
 0 = <userdata>
 tabCompleteIndex = 1
 headerSuffix = ChatFrame2EditBoxHeaderSuffix {
 }
 focusLeft = ChatFrame2EditBoxFocusLeft {
 }
 focusRight = ChatFrame2EditBoxFocusRight {
 }
 chatFrame = ChatFrame2 {
 }
 addSpaceToAutoComplete = true
 focusMid = ChatFrame2EditBoxFocusMid {
 }
 header = ChatFrame2EditBoxHeader {
 }
}
type = "SAY"
info = <table> {
 colorNameByClass = false
 flashTab = false
 b = 1.000000059139
 r = 1.000000059139
 id = 2
 sticky = 1
 flashTabOnGeneral = false
 g = 1.000000059139
}
header = ChatFrame2EditBoxHeader {
 0 = <userdata>
}
headerSuffix = ChatFrame2EditBoxHeaderSuffix {
 0 = <userdata>
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = ChatFrame2EditBoxHeader {
 0 = <userdata>
}
(*temporary) = nil
(*temporary) = "SAY"
(*temporary) = "_SEND"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on a nil value"
Has anyone else had this error?
Edit: Added code tags for better visibility. ~voodoodad

Last edited by voodoodad : 02-27-11 at 11:21 AM.
 
02-27-11, 08:16 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
This is not an error I am familiar with.

If you could, can you try disabling all mods except nUI itself (including disabling the nUI plugins you might have installed) and see if the problem goes away.
__________________

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/
 
02-28-11, 12:50 PM   #3
HuntersRock
A Defias Bandit
Join Date: Oct 2010
Posts: 3
Sounds good, I will try it when I get home tonight.
 
03-02-11, 06:42 AM   #4
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 793
Addons can use Blizzard's templates to create their own chat frames or what not, problem then is that if they error it appears as if it's Blizzard that is at fault -but in fact it's their use of the template that was not bulletproof in all situations.
Other explanation is that some API was changed by pre-hooking insecure chat functions thus creating problems. (Especially if a patch changes a function and the old addon hooks it like the old behavior, this can also results in a lot of errors.)

In any case try as above poster said about disabling.
 
03-05-11, 07:44 PM   #5
HuntersRock
A Defias Bandit
Join Date: Oct 2010
Posts: 3
I disabled all the other addons and the problem disappeared, however once I reenabled Carbonite it started to occur again. It appears that Carbonite is the culprit.

Is it possible that it is a conflict between nui and carbonite. I did load the nui carbonite addon.
 
03-05-11, 07:57 PM   #6
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,930
Its always possible to have a conflict. Especially if more than one addon is playing with the chat frames.

1. Check if carbonite has options that you can turn off so that nUI can control the chat frames position etc.

2. Maybe someone that uses carbonite can confirm they have the same problem.
__________________


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-06-11, 08:36 AM   #7
Chmee
A Molten Giant
Join Date: Dec 2006
Posts: 960
The only thing Carbonite does with chat is to create a couple of new channels for data transmission to other Carbonite users. Personally, I've never seen that cause this kind of problem. You can turn this channel creation off, somewhere in the Carbonite options.
 
03-07-11, 02:40 AM   #8
sigg
Featured Artist
 
sigg's Avatar
Featured
Join Date: Aug 2008
Posts: 1,251
Hi

This problem is coming from the last patch.

http://www.wowinterface.com/forums/s...ad.php?t=38910

Cheers
__________________
RDX manager
Sigg
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Technical Support » Chatframe lua error


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