Errors when posting via Selling tab
Alinnia opened this issue ยท 6 comments
Brief Description of Bug
When I click on the item icon in the Selling tab and hit my "/auctionator post" macro to post my pets for sale, randomly got these 3 error messages at once.
Error 1:
Message: bad argument #1 to '?' (Usage: local depositCost = C_AuctionHouse.CalculateItemDeposit(item, duration, quantity))
Time: Sat Aug 15 12:23:12 2020
Count: 173
Stack: bad argument #1 to '?' (Usage: local depositCost = C_AuctionHouse.CalculateItemDeposit(item, duration, quantity))
[string "=[C]"]: ?
[string "=[C]"]: in function CalculateItemDeposit' [string "@Interface\AddOns\Auctionator\Source\Tabs\Selling\Mixins\SaleItem.lua"]:99: in function
GetDeposit'
[string "@interface\AddOns\Auctionator\Source\Tabs\Selling\Mixins\SaleItem.lua"]:80: in function <...\Auctionator\Source\Tabs\Selling\Mixins\SaleItem.lua:63>
Locals:
Error 2:
Message: bad argument #1 to '?' (Usage: local depositCost = C_AuctionHouse.CalculateItemDeposit(item, duration, quantity))
Time: Sat Aug 15 12:23:10 2020
Count: 1
Stack: bad argument #1 to '?' (Usage: local depositCost = C_AuctionHouse.CalculateItemDeposit(item, duration, quantity))
[string "=[C]"]: ?
[string "=[C]"]: in function CalculateItemDeposit' [string "@Interface\AddOns\Auctionator\Source\Tabs\Selling\Mixins\SaleItem.lua"]:99: in function
GetDeposit'
[string "@interface\AddOns\Auctionator\Source\Tabs\Selling\Mixins\SaleItem.lua"]:415: in function GetPostButtonState' [string "@Interface\AddOns\Auctionator\Source\Tabs\Selling\Mixins\SaleItem.lua"]:429: in function
UpdatePostButtonState'
[string "@interface\AddOns\Auctionator\Source\Tabs\Selling\Mixins\SaleItem.lua"]:117: in function ReceiveEvent' [string "@Interface\AddOns\Auctionator\Source\Utilities\EventBusMixin.lua"]:86: in function
Fire'
[string "@interface\AddOns\Auctionator\Source\AH\Mixins\Throttling.lua"]:44: in function <...e\AddOns\Auctionator\Source\AH\Mixins\Throttling.lua:24>
Locals:
Error 3:
Message: ...\Auctionator\Source\Tabs\Selling\Mixins\SaleItem.lua:54: bad argument #1 to 'UnlockItem' (Usage: C_Item.UnlockItem(itemLocation))
Time: Sat Aug 15 12:23:12 2020
Count: 1
Stack: ...\Auctionator\Source\Tabs\Selling\Mixins\SaleItem.lua:54: bad argument #1 to 'UnlockItem' (Usage: C_Item.UnlockItem(itemLocation))
[string "=[C]"]: ?
[string "=[C]"]: in function UnlockItem' [string "@Interface\AddOns\Auctionator\Source\Tabs\Selling\Mixins\SaleItem.lua"]:54: in function
UnlockItem'
[string "@interface\AddOns\Auctionator\Source\Tabs\Selling\Mixins\SaleItem.lua"]:49: in function <...\Auctionator\Source\Tabs\Selling\Mixins\SaleItem.lua:40>
[string "=[C]"]: in function Hide' [string "@Interface\FrameXML\UIParent.lua"]:2728: in function
SetUIPanel'
[string "@interface\FrameXML\UIParent.lua"]:2755: in function MoveUIPanel' [string "@Interface\FrameXML\UIParent.lua"]:2779: in function
HideUIPanel'
[string "@interface\FrameXML\UIParent.lua"]:2457: in function <Interface\FrameXML\UIParent.lua:2449>
[string "=[C]"]: in function SetAttribute' [string "@Interface\FrameXML\UIParent.lua"]:3327: in function
HideUIPanel'
[string "@interface\FrameXML\UIParent.lua"]:3483: in function CloseWindows' [string "@Interface\FrameXML\UIParent.lua"]:3525: in function <Interface\FrameXML\UIParent.lua:3515> [string "=[C]"]: in function
securecall'
[string "@interface\FrameXML\UIParent.lua"]:4153: in function `ToggleGameMenu'
[string "TOGGLEGAMEMENU"]:1: in function <[string "TOGGLEGAMEMENU"]:1>
Locals:
Loaded Addons
Accountant 8.0
Auctionator
BadBoy
Battle Pet BreedID
Postal
Rematch
SavedInstances
The Undermine Journal
ElvUI
ElvUI OptionsUI
Have these errors happened again (I haven't been able to replicate them, so can't fix them)?
Every now and then when I click on an item icon then press the macro to post, I do occasionally get an error where the Count just keeps increasing on its own like in a loop and I have to /reloadui to get rid of the error message. I'll copy and paste the error here the next time it happens, incase it's not the same error message but related.
That should help me fix it. Even if you are pressing the buttons fast it shouldn't give an error. Thanks for narrowing it down.