Scrap (Junk Seller)

Scrap (Junk Seller)

21M Downloads

Attempt to call global 'GetContainerItemInfo' (a nil value)

Spotnick2 opened this issue ยท 1 comments

commented

Running Software (issues missing this information will be deleted):

  • Addon version: 10.0.11

Describe the bug

The update today on WOTLK Classic does this non-stop multiple times, potential issue with TSM?

61x Scrap/addons/main/sellPrices.lua:55: attempt to call global 'GetContainerItemInfo' (a nil value)
[string "@Scrap/addons/main/sellPrices.lua"]:55: in function <Scrap/addons/main/sellPrices.lua:54>
[string "=[C]"]: in function SetBagItem' [string "@TradeSkillMaster/LibTSM/Service/TooltipScanning.lua"]:158: in function SetContainerItem'
[string "@TradeSkillMaster/LibTSM/Service/TooltipScanning.lua"]:32: in function IsSoulbound' [string "@TradeSkillMaster/LibTSM/Service/InventoryInfo.lua"]:79: in function IsSoulbound'
[string "@TradeSkillMaster/LibTSM/Service/BagTracking.lua"]:619: in function ScanBagSlot' [string "@TradeSkillMaster/LibTSM/Service/BagTracking.lua"]:545: in function ScanBagOrBank'
[string "@TradeSkillMaster/LibTSM/Service/BagTracking.lua"]:438: in function BagUpdateDelayedHandler' [string "@TradeSkillMaster/LibTSM/Service/BagTracking.lua"]:205: in function gameDataLoadFunc'
[string "@TradeSkillMaster/LibTSM/Core.lua"]:175: in function `ProcessGameDataLoad'
[string "@TradeSkillMaster/LibTSM/Core.lua"]:220: in function <TradeSkillMaster/LibTSM/Core.lua:202>

Locals:
tip = TSMScanTooltip {
SetBorderBlendMode = defined @SharedXML/SharedTooltipTemplates.lua:203
NineSlice = Frame {
}
updateTooltip = 0.200000
TooltipBackdropOnLoad = defined @SharedXML/SharedTooltipTemplates.lua:172
0 =
TopOverlay = Texture {
}
GetBackdropColor = defined @SharedXML/SharedTooltipTemplates.lua:191
GetBackdropBorderColor = defined @SharedXML/SharedTooltipTemplates.lua:199
needsReset = true
BottomOverlay = Texture {
}
SetBackdropColor = defined @SharedXML/SharedTooltipTemplates.lua:187
layoutType = "TooltipDefaultLayout"
SetBackdropBorderColor = defined @SharedXML/SharedTooltipTemplates.lua:195
}
bag = 0
slot = 1
(*temporary) = nil
(*temporary) = 0
(*temporary) = 1
(*temporary) = "attempt to call global 'GetContainerItemInfo' (a nil value)"
Prices =

{
SendSignal = defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:82
OnMail = defined @Scrap/addons/main/sellPrices.lua:74
OnBag = defined @Scrap/addons/main/sellPrices.lua:54
RegisterMessage = defined @DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:85
UnregisterMessage = defined @DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:148
OnQuest = defined @Scrap/addons/main/sellPrices.lua:65
AddLine = defined @Scrap/addons/main/sellPrices.lua:40
OnSetCraftItem = defined @Scrap/addons/main/sellPrices.lua:87
SendMessage = defined @DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:54
UnregisterSignal = defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:78
RegisterEvent = defined @DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:85
UnregisterAllMessages = defined @DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:169
OnInventory = defined @Scrap/addons/main/sellPrices.lua:59
OnLink = defined @Scrap/addons/main/sellPrices.lua:91
OnSetTradeSkillItem = defined @Scrap/addons/main/sellPrices.lua:79
OnEnable = defined @Scrap/addons/main/sellPrices.lua:24
OnLoot = defined @Scrap/addons/main/sellPrices.lua:70
UnregisterAllEvents = defined @DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:169
RegisterSignal = defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:74
NewModule = defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:68
UnregisterEvent = defined @DataStore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:148
Tag = "SCRAP_"
}

commented

nope, problem exists in the file listed at the top of the stack (sellPrices.lua)
fix linked in #200 till its updated..