Kong Automatic UI Hider

3 - Error while configuring

IMPORTANT: Attaching a saved variables file/screenshot will increase the likelihood of your problem being solved.
Saved variables can be found in: "World of Warcraft/WTF/Account/<Account Name>/SavedVariables/TellMeWhen. lua"

What steps will reproduce the problem?
1. Install Kong UI Hider
2. Enter /kong to enter cofig

What do you expect to happen? What happens instead?
When I enter the config it throws an error and while it usually shows a blue rectangle over frames it can hide, it now misses quite a few

What version of TellMeWhen are you using? ("The latest" is not a version)
Kong Automatic UI Hider v1.2b

Do you have an error log of what happened?
Message: Interface\AddOns\KongConfig\KongConfig.lua:77 attempt to concatenate a nil value
Time: 03/28/11 18:28:45
Count: 1
Stack: Interface\AddOns\KongConfig\KongConfig.lua:77 in function `KongConfig_Show'
Interface\AddOns\Kong\KongCommandLine.lua:626 in function `value'
Interface\FrameXML\ChatFrame.lua:4235 in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:3825 in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:3863 in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals: (for generator) = <function> defined =[C]:-1
(for state) = <table> {
 1 = ShoppingTooltip1 {
 }
 2 = ShoppingTooltip2 {
 }
 3 = ShoppingTooltip3 {
 }
 4 = GameTooltip {
 }
 5 = SmallTextTooltip {
 }
 6 = ExampleButtonFrame {
 }
 7 = GameMenuFrame {
 }
 8 = UIErrorsFrame {
 }
 9 = AutoCompleteBox {
 }
 10 = StaticPopup1 {
 }

Please provide any additional information below.
This error occurs while I have the addon TellMeWhen 4.0.0 beta 8 enabled. I've informed the author of that addon as well,.

Also for the sake of brevity I only listed the first 10 frames in the list but a lot more appear in the error message.

User When Change
xentaros Apr 01, 2011 at 23:59 UTC Changed status from Replied to Accepted
xentaros Apr 01, 2011 at 23:58 UTC Changed status from Waiting to Replied
xentaros Apr 01, 2011 at 23:30 UTC Changed status from New to Waiting
Beruchan Mar 29, 2011 at 03:31 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of xentaros xentaros Apr 01, 2011 at 23:58 UTC - 0 likes

    It sounds like this was fixed in TMW, but I'm not sure that I'm 100% happy with the solution. KongConfig expects the return value from tostring() to be a unique value for every frame, and it could be possible that more than one of the TMW icons return the same empty string "".

    I'm going to leave this ticket open until I've added protection against the problem in Kong.

  • Avatar of Cybeloras Cybeloras Mar 29, 2011 at 03:39 UTC - 0 likes

    This is definitely related to the metamethod that I added in the latest version:

     __tostring = function(icon)
    	return icon:GetName()
    end
    

    I'll change it in the next version to:

     __tostring = function(icon)
    	return icon:GetName() or ""
    end
    

    but I think that there could be other addons out there that could cause this error as well (although I really don't understand why this error is occuring, because TMW icons are always created with a name.)

    Last edited Mar 29, 2011 by Cybeloras
  • 2 comments

Facts

Last updated
Apr 01, 2011
Reported
Mar 29, 2011
Status
Accepted - Problem reproduced / Need acknowledged.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees