Page 1 of 1

2 Problems with a program i would REALLY like to be flwaless

Posted: Sat Jun 02, 2007 7:13 am
by dima_todd
I Hope this will be enough information to fix it. :-D
--------------------------------------------------------------
Date: 2007-06-02 09:12:13
ID: 51
Error occured in: Global
Count: 1
Message: ..\AddOns\CensusPlus\CensusPlus.lua line 2601:
attempt to index field '?' (a nil value)
Debug:
[C]: ?
CensusPlus\CensusPlus.lua:2601: CensusPlus_UpdateView()
CensusPlus\CensusPlus.lua:2905: CensusPlus_OnClickClass()
[string "*:OnClick"]:1:
[string "*:OnClick"]:1
AddOns:
AlreadyKilled
BattleCry, v2.24
BuyEmAll
CensusPlus, v4.1.3
CTMailMod, v2.0 (CTMod 2.0)
EnhTooltip, v4.0.1
Gatherer, v2.99.0.0515
GroupCalendar
GuildGreet, v2.0.3
HealBot, vv2.11
Informant, v4.0.1
killcount, v1.0
killz2lvl
FlightPath, v2.00
LocalDefender
MapLibrary, v1.1.5
mBlacklist, v1.3.8
MetaMap, v20003-20
MetaMapBWP
MetaMapFWM
MetaMapNBK
MetaMapQST
MetaMapTRK
MobInfo2, v3.24
Nauticus, v2.0.0
PvPLog, v2.4.2
PvPLog2, v2.4.1
QuickCalc, v1.6.20000
RareFinder, v0.7
CharacterProfiler, v2.0.6
SpamReport, v0.4.4
Stubby, v1508
Swatter, v4.0.1
Swisp, v0.2
Wardrobe

--------------------------------------
AND:
Date: 2007-06-02 09:14:29
ID: 52
Error occured in: Global
Count: 1
Message: ..\AddOns\CensusPlus\CensusPlayerList.lua line 73:
attempt to index field '?' (a nil value)
Debug:
[C]: ?
CensusPlus\CensusPlayerList.lua:73: CensusPlus_PlayerListOnShow()
[string "*:OnShow"]:1:
[string "*:OnShow"]:1
[C]: Show()
CensusPlus\CensusPlayerList.lua:37: CensusPlus_ShowPlayerList()
[string "*:OnClick"]:5:
[string "*:OnClick"]:1
AddOns:
AlreadyKilled
BattleCry, v2.24
BuyEmAll
CensusPlus, v4.1.3
CTMailMod, v2.0 (CTMod 2.0)
EnhTooltip, v4.0.1
Gatherer, v2.99.0.0515
GroupCalendar
GuildGreet, v2.0.3
HealBot, vv2.11
Informant, v4.0.1
killcount, v1.0
killz2lvl
FlightPath, v2.00
LocalDefender
MapLibrary, v1.1.5
mBlacklist, v1.3.8
MetaMap, v20003-20
MetaMapBWP
MetaMapFWM
MetaMapNBK
MetaMapQST
MetaMapTRK
MobInfo2, v3.24
Nauticus, v2.0.0
PvPLog, v2.4.2
PvPLog2, v2.4.1
QuickCalc, v1.6.20000
RareFinder, v0.7
CharacterProfiler, v2.0.6
SpamReport, v0.4.4
Stubby, v1508
Swatter, v4.0.1
Swisp, v0.2
Wardrobe

Posted: Sat Jun 02, 2007 8:01 am
by Rollie
Hi -

Can you tell me what you were doing when this happened?

Posted: Sat Jun 02, 2007 8:31 am
by dima_todd
Let's see...for one of them, i had picked a race, class, and level, then i picked a guild. When i trued to deselect a level, race or class, it would do that. And the second one was when i pciked a race, class, level, and guild, then when i tried to view all teh chars it did that.

Posted: Sat Jun 02, 2007 10:15 am
by DM.
Both errors confirmed, I am getting this as well.

What seems to be the problem is that when you click on the Guild Name it doesn't highlight itself and when you click on Show Chars the error comes up.

Open up CensusPlus and click on any guild name that you see. Then click on Show Chars. Nothing will come up. Its because when its sorted to see that guild name only it doesn't highlight itself, so you need to make sure that when you click on the guild name that you click on it again to make sure that its highlighted before clicking on Show Chars.
CensusPlus\CensusPlayerList.lua:73: attempt to index field '?' (a nil value)
<string>:"*:OnShow":1: in function <[string "*:OnShow"]:1>
<in C code>: in function `Show'
CensusPlus\CensusPlayerList.lua:37: in function `CensusPlus_ShowPlayerList'
<string>:"*:OnClick":5: in function <[string "*:OnClick"]:1>

The next error is the result of the guild name not being highlighted. If you have it sorted for one guild only, but the guild name is not highlighted and you proceed to sort it by Race, Class, or Level then you will get the error. Also the tooltips will show 1.#INF% in the percentage field, but will still show the exact number of chars.
CensusPlus\CensusPlus.lua:2601: attempt to index field '?' (a nil value)
CensusPlus\CensusPlus.lua:2905: in function `CensusPlus_OnClickClass'
<string>:"*:OnClick":1: in function <[string "*:OnClick"]:1

All steps can be reproduced at any time, thanks for bringing it up :)

Posted: Sat Jun 02, 2007 2:57 pm
by Rollie
Ah, thanks for that write up. I can confirm that I can repeat it. I'll try to spend some time fixing it tomorrow. This was introduced when I allowed the guild list to be dynamic =)

Posted: Sat Jun 02, 2007 6:27 pm
by xpolockx
yeah, I was going to mention this earlier but I was too tired when I went to bed so I was going to write it up today. Guess I got beaten to it ;)

Posted: Sun Jun 03, 2007 8:22 pm
by Rollie