WIM (WoW Instant Messenger) v3

385 - Don't work History button in Battle.tag / RealID conversation window

What steps will reproduce the problem?
1. Press click in button of window: Click to view message history. Only with windows of Battle.tag // RealID
2.
3.

What is the expected output? What do you see instead?

History window not open. I have LUA error.

What version of the product are you using?

r371

Do you have an error log of what happened?

Message: Interface\AddOns\WIM\Modules\History.lua:1041 attempt to get length of local 'tbl' (a nil value)
Time: 03/16/13 01:52:38
Count: 3
Stack: Interface\AddOns\WIM\Modules\History.lua:1041 in function `UpdateConvoList'
Interface\AddOns\WIM\Modules\History.lua:1004 in function `SelectConvo'
Interface\AddOns\WIM\Modules\History.lua:1363 in function `ShowHistoryViewer'
Interface\AddOns\WIM\Modules\History.lua:115 in function <Interface\AddOns\WIM\Modules\History.lua:113

Locals: self = nil
realm = "Minahonda"
character = "Krovikan"
tbl = nil
(*temporary) = 1
(*temporary) = "Krovikan"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to get length of local 'tbl' (a nil value)"
win = WIM3_HistoryFrame {
 CONVO = "|Kf199|kLuisuari|k"
 UpdateUserList = <function> defined @Interface\AddOns\WIM\Modules\History.lua:1058
 USERLIST = <table> {
 }
 UpdateDisplay = <function> defined @Interface\AddOns\WIM\Modules\History.lua:1009
 nav = <unnamed> {
 }
 progressBar = <unnamed> {
 }
 resize = <unnamed> {
 }
 USER = "Minahonda/Krovikan"
 FILTER = ""
 0 = <userdata>
 FILTERLIST = <table> {
 }
 SelectConvo = <function> defined @Interface\AddOns\WIM\Modules\History.lua:996
 search = <unnamed> {
 }
 TAB = 1
 UpdateConvoList = <function> defined @Interface\AddOns\WIM\Modules\History.lua:1034
 SEARCHLIST = <table> {
 }
 close = WIM3_HistoryFrameClose {
 }
 title = WIM3_HistoryFrameTitle {
 }
 filter = <table> {
 }
 CONVOLIST = <table> {
 }
 displayUpdate = <unnamed> {
 }
 content = <unnamed> {
 }
 UpdateFilterList = <function> defined @Interface\AddOns\WIM\Modules\History.lua:1015
}
string = <table> {
 split = <function> defined =[C]:-1
 match = <function> defined =[C]:-1
 gmatch = <function> defined =[C]:-1
 upper = <function> defined =[C]:-1
 gsub = <function> defined =[C]:-1
 format = <function> defined =[C]:-1
 lower = <function> defined =[C]:-1
 sub = <function> defined =[C]:-1
 gfind = <function> defined =[C]:-1
 rep = <function> defined =[C]:-1
 char = <function> defined =[C]:-1
 rtgsub = <function> defined @Interface\FrameXML\RestrictedInfrastructure.lua:610
 join = <function> defined =[C]:-1
 reverse = <function> defined =[C]:-1
 byte = <function> defined =[C]:-1
 trim = <function> defined =[C]:-1
 len = <function> defined =[C]:-1
 find = <function> defined =[C]:-1
}
table = <table> {
 setn = <function> defined =[C]:-1
 insert = <function> defined =[C]:-1
 getn = <function> defined =[C]:-1
 foreachi = <function> defined =[C]:-1
 maxn = <function> defined =[C]:-1
 foreach = <function> defined =[C]:-1
 concat = <function> defined =[C]:-1
 removemulti = <function> defined =[C]:-1
 sort = <function> defined =[C]:-1
 wipe = <function> defined =[C]:-1
 remove = <function> defined =[C]:-1
}
pairs = <function> defined =[C]:-1

Please provide any additional information below.

User When Change
krovikania Mar 16, 2013 at 01:02 UTC Create

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

  • 4 comments
  • Avatar of krovikania krovikania Apr 01, 2013 at 16:09 UTC - 0 likes

    With the latest alpha, the LUA error is gone.

    I'm happy with this fix. The icon of "View Message History" button don't appear but how I know where it would be, I click in the corresponding site.

    New users not see that button, but good.

    Regards

  • Avatar of mysticalos mysticalos Mar 31, 2013 at 02:12 UTC - 0 likes

    For time being i just put a workaround fix in. if tbl is nil, it'll just open the history window without selecting the proper conversation (since doing that will take a lot of extra work i don't want to do right now)

  • Avatar of mysticalos mysticalos Mar 31, 2013 at 02:00 UTC - 0 likes

    not sure how easy that is to fix, only way to get history to work with realid/battletag was to associate the actual chat with character name. so i imagine it's a mismatch finding it. i always just do /wim history to find those chats.

    I'll see if that button is fixable though

  • Avatar of Spennig Spennig Mar 20, 2013 at 02:08 UTC - 1 like

    Same issue, finally was able to open the chat history when I whispered someone on same server without realID, but it's kinda frustrating since I do most chatting cross server.

    Message: Interface\AddOns\WIM\Modules\History.lua:1041: attempt to get length of local 'tbl' (a nil value) Time: 03/19/13 21:58:19 Count: 1 Stack: Interface\AddOns\WIM\Modules\History.lua:1041: in function `UpdateConvoList' Interface\AddOns\WIM\Modules\History.lua:1004: in function `SelectConvo' Interface\AddOns\WIM\Modules\History.lua:1363: in function `ShowHistoryViewer' Interface\AddOns\WIM\Modules\History.lua:115: in function <Interface\AddOns\WIM\Modules\History.lua:113>

    Locals: self = nil realm = "Steamwheedle Cartel" character = "Dreugan" tbl = nil (*temporary) = 1 (*temporary) = "Dreugan"

    ... more of the same message as above...

    Love the mod, would adore a solution to loading the history from either a) any window, or b) a button from inside the WIM options console. :) the second might make for an easier temp fix.

  • 4 comments

Facts

Last updated
Mar 20, 2013
Reported
Mar 16, 2013
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
1

Reported by

Possible assignees