Auctionator

Auctionator

136M Downloads

Classic Era Bug when clicking "Selling" Button

maximus210793 opened this issue ยท 5 comments

commented

Hi,
I am playing WoW Classic Era.
When I click the auction house tab "Selling" I get the following error message:


27x ...or\Source_Classic\Utilities\ItemInfoFromLocation.lua:10: attempt to index local 'itemInfo' (a number value)
[string "@interface\AddOns\Auctionator\Source_Classic\Utilities\ItemInfoFromLocation.lua"]:10: in function ItemInfoFromLocation' [string "@Interface\AddOns\Auctionator\Source\Tabs\DataProviders\Bag.lua"]:67: in function LoadBagData'
[string "@interface\AddOns\Auctionator\Source\Tabs\DataProviders\Bag.lua"]:13: in function Reload' [string "@Interface\AddOns\Auctionator\Source\Tabs\DataProviders\Bag.lua"]:33: in function <...AddOns\Auctionator\Source\Tabs\DataProviders\Bag.lua:29> [string "=[C]"]: in function Show'
[string "@interface\AddOns\Auctionator\Source_Classic\Tabs\Mixins\TabButton.lua"]:34: in function Selected' [string "@Interface\AddOns\Auctionator\Source_Classic\Tabs\Mixins\TabContainer.lua"]:73: in function <...tionator\Source_Classic\Tabs\Mixins\TabContainer.lua:66> [string "=[C]"]: in function AuctionFrameTab_OnClick'
[string ":OnClick"]:1: in function <[string ":OnClick"]:1>

Locals:
location =

{
Clear = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:21
IsEquipmentSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:48
IsEqualToBagAndSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:60
SetBagAndSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:27
IsBagAndSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:52
SetEquipmentSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:38
HasAnyLocation = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:56
slotIndex = 1
GetEquipmentSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:44
IsEqualToEquipmentSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:68
bagID = 0
GetBagAndSlot = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:34
IsEqualTo = defined @interface\FrameXML\ObjectAPI\ItemLocation.lua:76
}
icon = nil
itemCount = nil
quality = nil
itemLink = nil
_ = nil
currentDurability = nil
maxDurability = nil
itemInfo = 134497
(*temporary) = 0
(*temporary) = 1
(*temporary) = 134497
(*temporary) = 1
(*temporary) = false
(*temporary) = 3
(*temporary) = false
(*temporary) = false
(*temporary) = "|cff0070dd|Hitem:19260::::::::59:::::::::|h[Three of Warlords]|h|r"
(*temporary) = false
(*temporary) = "attempt to index local 'itemInfo' (a number value)"


Any Idea what I can do?
Thanks in advance!

commented

Is this error still happening? It looks like a Blizzard API is returning no results when previously it could be expected to.

commented

I'm going to close this issue as it isn't an Auctionator bug.

commented

Same error for me on Era -- happened with .39 and .40

commented

Correction, this isn't a Blizzard bug, its caused by another addon running something like

C_Container.GetContainerItemInfo = GetContainerItemInfo

It isn't something for Auctionator to fix, and the specific addon should be updated to fix this.

You can run a text search on your addon directory to look for that code line and it should give you the addon causing the issue. If it isn't found try searching for GetContainerItemInfo = GetContainerItemInfo instead.

For an interim solution running this chat command

/run C_Container.GetContainerItemInfo = nil

will get the Selling tab to load correctly, but it will need to be run on each login to overwrite the other addon's faulty code.

commented

Found the offending add-on - it's RCLootCouncil Classic 0.18.3, which was fixed in 0.18.4 (May 2023)