Thread Tools Display Modes
Unread 02-12-11, 10:06 PM   #1
Astemos
A Defias Bandit
Join Date: Feb 2011
Posts: 3
NUI error Chatframe

Not sure what this talks about, but here is the error:

Date: 2011-02-12 20:54:56
ID: 1
Error occured in: Global
Count: 1
Message: ..\FrameXML\ChatFrame.lua line 3779:
attempt to perform arithmetic on a nil value
Debug:
[C]: ?
..\FrameXML\ChatFrame.lua:3779: ChatEdit_UpdateHeader()
..\FrameXML\ChatFrame.lua:3506: ChatEdit_ResetChatType()
..\FrameXML\ChatFrame.lua:3576:
..\FrameXML\ChatFrame.lua:3562
..\FrameXML\ChatFrame.lua:3586: ChatEdit_DeactivateChat()
..\FrameXML\InterfaceOptionsPanels.lua:980: InterfaceOptionsSocialPanelChatStyle_SetChatStyle()
..\FrameXML\InterfaceOptionsPanels.lua:909:
..\FrameXML\InterfaceOptionsPanels.lua:896
AddOns:
Swatter, v5.9.4960 (WhackyWallaby)
NPCScan, v4.0.3.6
Archy, vv1.7b7
AtlasLoot, vv6.02.00
AtlasLootBurningCrusade, vv6.02.00
AtlasLootCataclysm, vv6.02.00
AtlasLootClassicWoW, vv6.02.00
AtlasLootCrafting, vv6.02.00
AtlasLootWorldEvents, vv6.02.00
AtlasLootWrathoftheLichKing, vv6.02.00
AucAdvanced, v5.9.4960 (WhackyWallaby)
AucDb, v5.1.DEV.3583
AucFilterBasic, v5.9.4960 (WhackyWallaby)
AucFilterOutlier, v5.9.4960.2531
AucMatchUndercut, v5.9.4960.2531
AucStatHistogram, v5.9.4960 (WhackyWallaby)
AucStatiLevel, v5.9.4960 (WhackyWallaby)
AucStatPurchased, v5.9.4960 (WhackyWallaby)
AucStatSales, v5.9.4960.2842
AucStatSimple, v5.9.4960 (WhackyWallaby)
AucStatStdDev, v5.9.4960 (WhackyWallaby)
AucStatWOWEcon, v5.9.4960.2530
AucUtilAHWindowControl, v5.9.4960.3311
AucUtilAppraiser, v5.9.4960.2530
AucUtilAskPrice, v5.9.4960.3175
AucUtilAutoMagic, v5.9.4960.3142
AucUtilCompactUI, v5.9.4960.2530
AucUtilEasyBuyout, v5.9.4960.3583
AucUtilFixAH, v5.9.4960 (WhackyWallaby)
AucUtilGlypher, v5.9.4960.2545
AucUtilItemSuggest, v5.9.4960.3108
AucUtilPriceLevel, v5.9.4960.2545
AucUtilScanButton, v5.9.4960.2530
AucUtilScanFinish, v5.9.4960.2530
AucUtilScanProgress, v5.9.4960.2530
AucUtilScanStart, v5.9.4960.4819
AucUtilSearchUI, v5.9.4960.3655
AucUtilSimpleAuction, v5.9.4960.4546
AucUtilVendMarkup, v5.9.4960.2530
Babylonian, v5.1.DEV.130
BeanCounter, v5.9.4960 (WhackyWallaby)
Configator, v5.1.DEV.282
DBMCore, v
DebugLib, v5.1.DEV.275
Enchantrix, v5.9.4960 (WhackyWallaby)
EnchantrixBarker, v5.9.4960 (WhackyWallaby)
GroupCalendar5, v5.4
Informant, v5.9.4960 (WhackyWallaby)
MonkeyBuddy, v
MonkeyLibrary, v
MonkeyQuest, v
MonkeyQuestLog, v
nUI, v5.07.11 (Lite)
Overachiever, v0.60
OverachieverTabs, v0.60
OverachieverTrade, v0.60
RatingBuster, v
Recount, v
SlideBar, v5.9.4960 (WhackyWallaby)
Stubby, v5.9.4960 (WhackyWallaby)
TomTom, vv40000-1.0.9
BlizRuntimeLib_enUS v4.0.6.40000 <us>
(ck=7d7)
Astemos is offline  
Unread 02-13-11, 04:37 AM   #2
sigg
Featured Artist
 
sigg's Avatar
Featured
Join Date: Aug 2008
Posts: 1,231
spend a lot of time to fix this error.

hum Blizzard...

Somewhere in the code, the editbox is not anchor anymore to the chatframe, so call GetRight and GetLeft return nil.

Add this code somewhere.

Code:
local tt = ChatEdit_UpdateHeader;
	
ChatEdit_UpdateHeader = function(editBox)
	local header = _G[editBox:GetName().."Header"];
	header:ClearAllPoints();
	header:SetPoint("LEFT", editBox, "LEFT", 15, 0);
	if header:GetRight() ~= nil and header:GetLeft() ~= nil then
		tt(editBox);
	end
end
__________________
RDX manager
Sigg
sigg is offline  
Unread 02-13-11, 09:25 PM   #3
Astemos
A Defias Bandit
Join Date: Feb 2011
Posts: 3
Thank you for responding.

Can I add that to the end, or do I have to find a spot to add it?
Astemos is offline  
Unread 05-23-12, 10:00 PM   #4
generalhanor
A Deviate Faerie Dragon
Join Date: May 2012
Posts: 18
Originally Posted by sigg View Post
spend a lot of time to fix this error.

hum Blizzard...

Somewhere in the code, the editbox is not anchor anymore to the chatframe, so call GetRight and GetLeft return nil.

Add this code somewhere.

Code:
local tt = ChatEdit_UpdateHeader;
	
ChatEdit_UpdateHeader = function(editBox)
	local header = _G[editBox:GetName().."Header"];
	header:ClearAllPoints();
	header:SetPoint("LEFT", editBox, "LEFT", 15, 0);
	if header:GetRight() ~= nil and header:GetLeft() ~= nil then
		tt(editBox);
	end
end
I couldn't get this to work
Maybe I'm doing it wrong....where do I add this?
__________________
generalhanor is offline  
 

Go BackWoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » NUI error Chatframe

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