4 - attempt to index field '?' (a nil value) on auctionsnatch.lua line 419
What steps will reproduce the problem?
1. Install Auction Snatch
2. Start WoW
3. Error comes immediately
What is the expected output? What do you see instead?
No error of course ;)
What version of the product are you using?
latest v3.0.8
Do you have an error log of what happened?
Date: 2009-02-17 09:29:59
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Auctionsnatch\auctionsnatch.lua line 419:
attempt to index field '?' (a nil value)
Debug:
(tail call): ?
[C]: ?
Auctionsnatch\auctionsnatch.lua:419 ASscrollbar_Update()
Auctionsnatch\auctionsnatch.lua:187 ASinitialize()
Auctionsnatch\auctionsnatch.lua:518 AS_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
AddOns:
Swatter, v5.2.4013 (DingoII)
Ace2, v
Atlas, v1.13.0
AtlasBattlegrounds, v1.13.0
AtlasDungeonLocs, v1.13.0
AtlasOutdoorRaids, v1.13.0
AtlasTransportation, v1.13.0
AtlasLoot, vv5.03.03
AucAdvanced, v5.2.4013 (DingoII)
AucFilterBasic, v5.2.4013 (DingoII)
AucFilterOutlier, v5.2.4013.2531
AucMatchUndercut, v5.2.4013.2531
AucStatClassic, v5.2.4013 (DingoII)
AucStatHistogram, v5.2.4013 (DingoII)
AucStatiLevel, v5.2.4013 (DingoII)
AucStatPurchased, v5.2.4013 (DingoII)
AucStatSales, v5.2.4013.2842
AucStatSimple, v5.2.4013 (DingoII)
AucStatStdDev, v5.2.4013 (DingoII)
AucStatWOWEcon, v5.2.4013.2530
AucUtilAHWindowControl, v5.2.4013.3311
AucUtilAppraiser, v5.2.4013.2530
AucUtilAskPrice, v5.2.4013.3175
AucUtilAutoMagic, v5.2.4013.3142
AucUtilCompactUI, v5.2.4013.2530
AucUtilEasyBuyout, v5.2.4013.3583
AucUtilItemSuggest, v5.2.4013.3108
AucUtilPriceLevel, v5.2.4013.2545
AucUtilScanButton, v5.2.4013.2530
AucUtilScanFinish, v5.2.4013.2530
AucUtilScanProgress, v5.2.4013.2530
AucUtilSearchUI, v5.2.4013.3655
AucUtilSimpleAuction, v5.2.4013.0
AucUtilVendMarkup, v5.2.4013.2530
Auctionsnatch, v
AuldLangSyne, v2.0
Babylonian, v5.1.DEV.130
BeanCounter, v5.2.4013 (DingoII)
Cartographer, v2.0
CartographerWaypoints, v2.0
Configator, v5.1.DEV.130
DebugLib, v5.1.DEV.130
DoTimer, v4.2.4
EnchantingSell, v
Enchantrix, v5.2.4013 (DingoII)
EnchantrixBarker, v5.2.4013 (DingoII)
FuBar, v
FuBarAtlasFu, v
FuBarExperienceFu, v1.1 $Revision: 65606 $
FuBarFromAViewToAKillFu, v1.0.1
FuBarGearRating, v0.5
FuBarGroupFu, v1
FuBarMoneyFu, vv1.2
FuBarPortalFu, v1.10.1
Gatherer, v3.1.11
GathererHUD, v3.1.11
GathererDBWowhead, v1.0.2008-11-07
GroupAggroMeter, v1.53
LibBabbleZone30, v
LightHeaded, v275
MasterLoot, v0.1
MaterialsTracker, v30000.01
Omen, v3.0.6
Outfitter, v4.4b3
Postal, v3.1.0
qPartyTarget, v
QuestHelper, v0.87
RatingBuster, v
SlideBar, v5.2.4013 (DingoII)
Stubby, v5.2.4013 (DingoII)
WitchHunt, v3.0
zzml, v3.1
(ck=804)
Please provide any additional information below.
| User | When | Change |
|---|---|---|
| Highlander1694 | Tue, 17 Feb 2009 08:32:25 | Create |
- 4 comments
- 4 comments
Facts
- Last updated on
- 05 Mar 2009
- Reported on
- 17 Feb 2009
- Status
- New - Issue has not had initial review yet.
- Type
- Defect - A shortcoming, fault, or imperfection
- Priority
- Medium - Normal priority.
- #4
Highlander1694 Tue, 16 Jun 2009 17:37:35Fixed, you can close this
- #3
daxdax Sun, 26 Apr 2009 03:07:09all resolution issues
- #2
daxdax Sun, 26 Apr 2009 03:02:42apparently it depends on screen resolution??
- #1
Highlander1694 Mon, 02 Mar 2009 07:35:27Tried to fix it myself, dont know LUA but I am assuming that at login the "AS.mainframe.listframe.itembutton[x]" does not yet exist, which causes this error to occur. I added a simple IF check for the variable, see below:
Patch:
-- ASprint("no .item. index= "..x) --if theres no item, then clear the text if (AS.mainframe.listframe.itembutton[x]) then AS.mainframe.listframe.itembutton[x].leftstring:SetText("") -- clear icon, link AS.mainframe.listframe.itembutton[x].icon:SetNormalTexture("Interface\\Buttons\\UI-Slot-Background") AS.mainframe.listframe.itembutton[x].icon:GetNormalTexture():SetTexCoord(0,0.640625, 0,0.640625) --i have no idea how this manages to make the texture bigger, but hallelujah it does AS.mainframe.listframe.itembutton[x].link = nil AS.mainframe.listframe.itembutton[x].rightstring:SetText("") end