Foundthis in my BugSack

Found a bug with the CensusPlus UI Mod? Post it here!
Post Reply
User avatar
FuxieDK
Census Taker
Posts: 659
Joined: Thu May 22, 2008 11:36 am
Location: Copenhagen, DK

Foundthis in my BugSack

Post by FuxieDK »

No idea how critical it is...

Code: Select all

1x ...aceCensusPlus\libs\LibWho-2.0\LibWho-2.0-140.lua:916: attempt to index field 'Result' (a nil value)
...aceCensusPlus\libs\LibWho-2.0\LibWho-2.0-140.lua:916: in function `ProcessWhoResults'
...aceCensusPlus\libs\LibWho-2.0\LibWho-2.0-140.lua:908: in function `?'
...aceCensusPlus\libs\LibWho-2.0\LibWho-2.0-140.lua&#58;929&#58; in function <aceCensusPlus>

Locals&#58;
self = <table> &#123;
 GetNextFromScheduler = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;376
 ReturnWho = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;501
 Cache = <table> &#123;
 &#125;
 UserInfo = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;179
 MinInterval = 2.5
 CachedUserInfo = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;259
 SetWhoToUIState = true
 AskWhoNextIn5sec = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;328
 CapitalizeInitial = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;736
 CancelPendingWhoNext = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;336
 WHOLIB_QUEUE_QUIET = 2
 embeds = <table> &#123;
 &#125;
 hooked = <table> &#123;
 &#125;
 ProcessWhoResults = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;911
 WHO_LIST_UPDATE = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;902
 AllQueuesEmpty = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;313
 CHAT_MSG_SYSTEM = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;894
 RegisterCallback = <function> defined @TomTom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua&#58;118
 CheckCallback = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;674
 TriggerEvent = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;749
 UnregisterCallback = <function> defined @TomTom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua&#58;181
 PossibleEvents = <table> &#123;
 &#125;
 DupAll = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;724
 ConsoleWho = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;609
 Embed = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;290
 Dup = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;710
 WHOLIB_FLAG_ALWAYS_CALLBACK = 1
 simple_dump = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;700
 GetQueryInterval = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;326
 external = <table> &#123;
 &#125;
 callbacks = <table> &#123;
 &#125;
 CheckArgument = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;646
 RaiseCallback = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;636
 MaxInterval = 10
 AskWho = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;493
 GuiWho = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;591
 Library = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;303
 ReturnUserInfo = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;630
 AskWhoNext = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;408
 L = <table> &#123;
 &#125;
 queue_bounds = <table> &#123;
 &#125;
 UnregisterAllCallbacks = <function> defined @TomTom\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua&#58;202
 UpdateWeights = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;357
 Total = 50
 Debug = false
 SetWhoLibDebug = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;275
 CheckPreset = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;656
 GetWhoLibDebug = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;271
 hook = <table> &#123;
 &#125;
 Queue = <table> &#123;
 &#125;
 WhoInProgress = false
 CacheQueue = <table> &#123;
 &#125;
 events = <table> &#123;
 &#125;
 Who = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;147
 WHOLIB_QUEUE_SCANNING = 3
 frame = LibWho-2.0 &#123;
 &#125;
 WHOLIB_QUEUE_USER = 1
 Reset = <function> defined @CensusPlus\libs\LibWho-2.0\LibWho-2.0.lua&#58;141
&#125;
lib = <table> &#123;
 GetNextFromSc
Doing census mainly on Draenor; Raluf - Nimsay - Lusmo - Quixx - Sosyan - Garthog - Trubin - Zalistra - Zesmi and Djaang

User avatar
FuxieDK
Census Taker
Posts: 659
Joined: Thu May 22, 2008 11:36 am
Location: Copenhagen, DK

Post by FuxieDK »

With my very very limited knowledge of LUA, it looks like, LibWho isn't complely compatible with WoW v6...

Maybe it's the cause of ShiftClick problem..
Doing census mainly on Draenor; Raluf - Nimsay - Lusmo - Quixx - Sosyan - Garthog - Trubin - Zalistra - Zesmi and Djaang

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

thanks for the Bugsack report...
I had not been able to create any failure reports to allow tracking issues.

What appears to be happening is that wholib which has hooked the standard /who calls
is attempting to respond to a request (presume it was a shift click since it didn't come from censusplus) and the request failed since the character (I expect was below level 20).

The tracking shows wholib going through line 908... which is significant.
that is part of the routine that fires on event WHO_LIST_UPDATE

The problem I think I see is that the default is to pop up the FriendsFrame (aka Who list) unless the quiet flag is set... and Blizzard doesn't know anything about a quiet flag.

Me thinks the logic is backwards.. or maybe incomplete..
I have triggered a ticket for the author of libwho.

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

I did some more research on the altered behavior on shift clicking of character names in chat window when wholib is functional.

This has been a problem for wholib for a very long time.
A fix was thought to be in place back in 2009, but apparently it either reverted or didn't actually fix the problem.

wholib is a necessary evil, even the maintainer doesn't like it... but Blizzard has left us no other options.
Without something like wholib any addon that attempts to use the limited /who resource from the server will conflict with any other addon.
Which is why Sylvanaar stepped in and provided us the initial implementation for CensusPlus... we were being a very bad boy :roll:

Post Reply