View Bug Report
opening Auction House with pending sales throws error
Bug #: 7186
File: Sigma
Date: 01-11-11 02:47 PM
By: nekrossa
Status: Fixed
i got this error today. Visited the AH first thing and Sigma worked just fine. At the time i none of my Auctions were pending, so the tally appeared to be correct. Ran a heroic instance and then returned to the AH to sell my spoils and Sigma threw this error when i opened the AH;

2x Sigma-40000.2\Sigma.lua:26: attempt to call method 'SetFormattedText' (a nil value)



At that point in time, i had 5-6 auctions with sales pending. The value that Sigma shows doesn't appear to update after this error is thrown.

Love this addon, hope there's an easy fix....

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: nekrossa - 01-11-11 03:52 PM
odd, looking at the code it appears that the text variable has become undefined, not sure how that could happen.

i may try to fiddle with the code myself and see what happens when i'm online tonight
By: nekrossa - 01-11-11 03:57 PM
i'm going to try this (modified line 14);

local text = f:CreateFontString(nil, "OVERLAY", "GameFontHighlightMedium")
^ make this a local variable, just like f
By: Ailae - 01-11-11 04:48 PM
Hiya and thanks for the report! I can't see any other reason for anything to go wrong, besides the unintentional global (oops!). Will change it asap.
By: nekrossa - 01-11-11 10:23 PM
ok, changing text to be a local seems to have fixed the problem. I can open and close the AH without any errors now. I'll do some more testing, but that appears to be the problem.