Scrap (Junk Seller)

Scrap (Junk Seller)

21M Downloads

Lua error on looting an item in Classic SOD

KyrosKrane opened this issue ยท 0 comments

commented

Which software were you running?

  • Addon version name: Scrap-10.2.1.zip
  • Client used: Classic Season of Discovery v1.15.52302

Have you read the changelog?
Yes

Please describe the bug.
Lua error on looting a gray cloak item - sorry, not sure exactly which item.

1x Scrap/addons/main/pricing.lua:42: attempt to index local 'info' (a nil value)
[string "@Scrap/addons/main/pricing.lua"]:42: in function <Scrap/addons/main/pricing.lua:40>
[string "=[C]"]: in function `SetBagItem'
[string "@FrameXML/ContainerFrame_Shared.lua"]:1424: in function `ContainerFrameItemButton_OnEnter'
[string "@BagBrother/core/classes/item.lua"]:248: in function `ShowTooltip'
[string "@BagBrother/core/classes/item.lua"]:125: in function <BagBrother/core/classes/item.lua:121>
[string "=(tail call)"]: ?
[string "@BagBrother/frames/containers/item.lua"]:59: in function `UpdateTooltip'
[string "@FrameXML/GameTooltip.lua"]:444: in function <FrameXML/GameTooltip.lua:423>
[string "=[C]"]: ?

Locals:
tip = GameTooltip {
 0 = <userdata>
 GetBackdropColor = <function> defined @SharedXML/SharedTooltipTemplates.lua:294
 SetTradeSkillItem = <function> defined =[C]:-1
 _owner = QuestieFrame42 {
 }
 SetBackdropBorderColor = <function> defined @SharedXML/SharedTooltipTemplates.lua:298
 manualOrder = <table> {
 }
 questOrder = <table> {
 }
 SetCraftItem = <function> defined =[C]:-1
 comparing = false
 TopOverlay = Texture {
 }
 GetBackdropBorderColor = <function> defined @SharedXML/SharedTooltipTemplates.lua:302
 canAddRestStateLine = 1
 SetUnitDebuff = <function> defined =[C]:-1
 SetQuestItem = <function> defined =[C]:-1
 SetBorderBlendMode = <function> defined @SharedXML/SharedTooltipTemplates.lua:306
 layoutType = "TooltipDefaultLayout"
 shoppingTooltips = <table> {
 }
 SetCurrencyTokenByID = <function> defined =[C]:-1
 SetQuestLogItem = <function> defined =[C]:-1
 ShownAsMapIcon = false
 SetUnitBuff = <function> defined =[C]:-1
 NineSlice = Frame {
 }
 __hasCounters = false
 __hasPrice = true
 TooltipBackdropOnLoad = <function> defined @SharedXML/SharedTooltipTemplates.lua:275
 SetUnitAura = <function> defined =[C]:-1
 SetBackpackToken = <function> defined =[C]:-1
 npcAndObjectOrder = <table> {
 }
 needsReset = true
 miniMapIcon = true
 SetBackdropColor = <function> defined @SharedXML/SharedTooltipTemplates.lua:290
 BottomOverlay = Texture {
 }
 updateTooltip = 0.200000
}
bag = 0
slot = 11
info = nil
(*temporary) = <function> defined @Scrap/addons/main/pricing.lua:26
(*temporary) = <table> {
 SendSignal = <function> defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:82
 OnMail = <function> defined @Scrap/addons/main/pricing.lua:60
 OnBag = <function> defined @Scrap/addons/main/pricing.lua:40
 RegisterMessage = <function> defined @AnnoyingPopupRemover/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:80
 UnregisterMessage = <function> defined @AnnoyingPopupRemover/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:143
 OnQuest = <function> defined @Scrap/addons/main/pricing.lua:51
 AddLine = <function> defined @Scrap/addons/main/pricing.lua:26
 OnSetCraftItem = <function> defined @Scrap/addons/main/pricing.lua:73
 SendMessage = <function> defined @AnnoyingPopupRemover/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:49
 UnregisterSignal = <function> defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:78
 RegisterEvent = <function> defined @AnnoyingPopupRemover/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:80
 UnregisterAllMessages = <function> defined @AnnoyingPopupRemover/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:164
 OnInventory = <function> defined @Scrap/addons/main/pricing.lua:45
 OnLink = <function> defined @Scrap/addons/main/pricing.lua:77
 OnSetTradeSkillItem = <function> defined @Scrap/addons/main/pricing.lua:65
 OnEnable = <function> defined @Scrap/addons/main/pricing.lua:13
 OnLoot = <function> defined @Scrap/addons/main/pricing.lua:56
 UnregisterAllEvents = <function> defined @AnnoyingPopupRemover/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:164
 RegisterSignal = <function> defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:74
 NewModule = <function> defined @BagBrother/libs/WildAddon-1.0/WildAddon-1.0.lua:68
 UnregisterEvent = <function> defined @AnnoyingPopupRemover/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:143
 Tag = "SCRAP_"
}
(*temporary) = GameTooltip {
 0 = <userdata>
 GetBackdropColor = <function> defined @SharedXML/SharedTooltipTemplates.lua:294
 SetTradeSkillItem = <function> defined =[C]:-1
 _owner = QuestieFrame42 {
 }
 SetBackdropBorderColor = <function> defined @SharedXML/SharedTooltipTemplates.lua:298
 manualOrder =