Error while opening shop
BorniPL opened this issue ยท 2 comments
Running Software (issues missing this information will be deleted):
- Addon version: Scrap-9.2.1-3.4.0.zip
- Server patch: Wrath Classic 3.4.0.45613
Have you read the changelog? (please don't waste our time)
Yes
Describe the bug
There's possibly some item in my bag that cannot be scrapped. After the error shows you cannot use the Scrap button anymore - reload required.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Error doesn't show up. Scrap is still usable.
Screenshots
If applicable, add screenshots to help explain your problem.
Error Logs
Message: Interface\AddOns\Scrap\addons\main\main.lua:209: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation))
Time: Sun Sep 18 22:39:51 2022
Count: 1
Stack: Interface\AddOns\Scrap\addons\main\main.lua:209: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation))
[string "@interface\AddOns\Scrap\addons\main\main.lua"]:158: in function IsFiltered' [string "@Interface\AddOns\Scrap\addons\main\main.lua"]:85: in function
IsJunk'
[string "@interface\AddOns\Scrap\addons\main\main.lua"]:117: in function (for generator)' [string "@Interface\AddOns\Scrap\addons\merchant\button.lua"]:229: in function
GetReport'
[string "@interface\AddOns\Scrap\addons\merchant\button.lua"]:193: in function Sell' [string "@Interface\AddOns\Scrap\addons\merchant\button.lua"]:60: in function
?'
[string "@interface\AddOns\Atlas\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:119: in function <...las\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@interface\AddOns\Atlas\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:29: in function <...las\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@interface\AddOns\Atlas\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:64: in function SendMessage' [string "@Interface\AddOns\Bagnon\common\Wildpants\libs\WildAddon-1.0\WildAddon-1.0.lua"]:83: in function
SendSignal'
[string "@interface\AddOns\Scrap\addons\main\main.lua"]:56: in function <Interface\AddOns\Scrap\addons\main\main.lua:56>
[string "=[C]"]: ?
[string "@interface\AddOns\Atlas\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:29: in function <...las\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@interface\AddOns\Atlas\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:64: in function `Fire'
[string "@interface\AddOns\Attune\Libs\AceEvent-3.0\AceEvent-3.0.lua"]:120: in function <...ace\AddOns\Attune\Libs\AceEvent-3.0\AceEvent-3.0.lua:119>
Locals:
Left only Scrap running
Message: Interface\AddOns\Scrap\addons\main\main.lua:209: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation))
Time: Sun Sep 18 22:52:26 2022
Count: 1
Stack: Interface\AddOns\Scrap\addons\main\main.lua:209: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation))
[string "=[C]"]: in function `DoesItemExist'
[string "@Interface\AddOns\Scrap\addons\main\main.lua"]:209: in function `IsBetterEquip'
[string "@Interface\AddOns\Scrap\addons\main\main.lua"]:203: in function `IsLowEquip'
[string "@Interface\AddOns\Scrap\addons\main\main.lua"]:158: in function `IsFiltered'
[string "@Interface\AddOns\Scrap\addons\main\main.lua"]:85: in function `IsJunk'
[string "@Interface\AddOns\Scrap\addons\main\spotlight.lua"]:56: in function `UpdateContainer'
[string "@Interface\AddOns\Scrap\addons\main\spotlight.lua"]:29: in function <Interface\AddOns\Scrap\addons\main\spotlight.lua:28>
[string "=[C]"]: in function `ContainerFrame_Update'
[string "@Interface\FrameXML\ContainerFrame_Shared.lua"]:632: in function `ContainerFrame_UpdateAll'
[string "@Interface_TBC\FrameXML\MerchantFrame.lua"]:87: in function <Interface_TBC\FrameXML\MerchantFrame.lua:85>
[string "=[C]"]: in function `Show'
[string "@Interface_Wrath\FrameXML\UIParent.lua"]:2214: in function `SetUIPanel'
[string "@Interface_Wrath\FrameXML\UIParent.lua"]:2059: in function `ShowUIPanel'
[string "@Interface_Wrath\FrameXML\UIParent.lua"]:1927: in function <Interface_Wrath\FrameXML\UIParent.lua:1923>
[string "=[C]"]: in function `SetAttribute'
[string "@Interface_Wrath\FrameXML\UIParent.lua"]:2718: in function `ShowUIPanel'
[string "@Interface_TBC\FrameXML\MerchantFrame.lua"]:31: in function <Interface_TBC\FrameXML\MerchantFrame.lua:24>
Locals: (*temporary) = <table> {
Clear = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:21
IsEquipmentSlot = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:48
IsEqualToBagAndSlot = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:60
SetBagAndSlot = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:27
IsBagAndSlot = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:52
SetEquipmentSlot = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:38
HasAnyLocation = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:56
GetEquipmentSlot = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:44
IsEqualToEquipmentSlot = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:68
GetBagAndSlot = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:34
IsEqualTo = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:76
}
Message: Interface\AddOns\Scrap\addons\main\main.lua:209: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation))
Time: Sun Sep 18 22:52:26 2022
Count: 1
Stack: Interface\AddOns\Scrap\addons\main\main.lua:209: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation))
[string "=[C]"]: in function `DoesItemExist'
[string "@Interface\AddOns\Scrap\addons\main\main.lua"]:209: in function `IsBetterEquip'
[string "@Interface\AddOns\Scrap\addons\main\main.lua"]:203: in function `IsLowEquip'
[string "@Interface\AddOns\Scrap\addons\main\main.lua"]:158: in function `IsFiltered'
[string "@Interface\AddOns\Scrap\addons\main\main.lua"]:85: in function `IsJunk'
[string "@Interface\AddOns\Scrap\addons\main\spotlight.lua"]:56: in function `UpdateContainer'
[string "@Interface\AddOns\Scrap\addons\main\spotlight.lua"]:29: in function <Interface\AddOns\Scrap\addons\main\spotlight.lua:28>
[string "=[C]"]: in function `ContainerFrame_Update'
[string "@Interface\FrameXML\ContainerFrame_Shared.lua"]:292: in function `ContainerFrame_OnShow'
[string "*:OnShow"]:1: in function <[string "*:OnShow"]:1>
[string "=[C]"]: in function `Show'
[string "@Interface_Wrath\FrameXML\UIParent.lua"]:2214: in function `SetUIPanel'
[string "@Interface_Wrath\FrameXML\UIParent.lua"]:2059: in function `ShowUIPanel'
[string "@Interface_Wrath\FrameXML\UIParent.lua"]:1927: in function <Interface_Wrath\FrameXML\UIParent.lua:1923>
[string "=[C]"]: in function `SetAttribute'
[string "@Interface_Wrath\FrameXML\UIParent.lua"]:2718: in function `ShowUIPanel'
[string "@Interface_TBC\FrameXML\MerchantFrame.lua"]:31: in function <Interface_TBC\FrameXML\MerchantFrame.lua:24>
Locals: (*temporary) = <table> {
Clear = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:21
IsEquipmentSlot = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:48
IsEqualToBagAndSlot = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:60
SetBagAndSlot = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:27
IsBagAndSlot = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:52
SetEquipmentSlot = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:38
HasAnyLocation = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:56
GetEquipmentSlot = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:44
IsEqualToEquipmentSlot = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:68
GetBagAndSlot = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:34
IsEqualTo = <function> defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:76
}
Message: Interface\AddOns\Scrap\addons\main\main.lua:209: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation))
Time: Sun Sep 18 22:52:26 2022
Count: 1
Stack: Interface\AddOns\Scrap\addons\main\main.lua:209: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation))
[string "=[C]"]: in function `DoesItemExist'
[string "@Interface\AddOns\Scrap\addons\main\main.lua"]:209: in function `IsBetterEquip'
[string "@Interface\AddOns\Scrap\addons\main\main.lua"]:203: in function `IsLowEquip'
[string "@Interface\AddOns\Scrap\addons\main\main.lua"]:158: in function `IsFiltered'
[string "@Interface\AddOns\Scrap\addons\main\main.lua"]:85: in function `IsJunk'
[string "@Interface\AddOns\Scrap\addons\main\main.lua"]:117: in function `(for generator)'
[string "@Interface\AddOns\Scrap\addons\merchant\button.lua"]:229: in function `GetReport'
[string "@Interface\AddOns\Scrap\addons\merchant\button.lua"]:193: in function `Sell'
[string "@Interface\AddOns\Scrap\addons\merchant\button.lua"]:60: in function `?'
[string "@Interface\AddOns\Scrap\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:119: in function <...rap\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@Interface\AddOns\Scrap\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:29: in function <...rap\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@Interface\AddOns\Scrap\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:64: in function `SendMessage'
[string "@Interface\AddOns\Scrap\libs\WildAddon-1.0\WildAddon-1.0.lua"]:83: in function `SendSignal'
[string "@Interface\AddOns\Scrap\addons\main\main.lua"]:56: in function <Interface\AddOns\Scrap\addons\main\main.lua:56>
[string "=[C]"]: ?
[string "@Interface\AddOns\Scrap\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:29: in function <...rap\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@Interface\AddOns\Scrap\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:64: in function `Fire'
[string "@Interface\AddOns\Scrap\libs\AceEvent-3.0\AceEvent-3.0.lua"]:120: in function <...face\AddOns\Scrap\libs\AceEvent-3.0\AceEvent-3.0.lua:119>
Locals: <none>