Scrap (Junk Seller)

Scrap (Junk Seller)

21M Downloads

LUA error when talking to vendor

klingo opened this issue ยท 3 comments

commented

Which software were you running?

  • Addon version name: Scrap-10.1.4
  • Client used: Vanilla 1.14.4

Have you read the changelog?
[X] Mark if read.

Please describe the bug.
Whenever I open the "Merchant" tab on any vendor

Please describe how to reproduce it.

  1. Go to any vendor
  2. Click on it to open the merchant tab
  3. See error

Any Screenshots?
image

Error Logs are Important!

Message: Interface/AddOns/Scrap/addons/main/pricing.lua:42: attempt to index local 'info' (a nil value)
Time: Sun Sep 17 12:31:26 2023
Count: 218
Stack: Interface/AddOns/Scrap/addons/main/pricing.lua:42: attempt to index local 'info' (a nil value)

Locals: 
commented

I'm having this same issue:

80x 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 functionSetBagItem'
[string "@TitanClassicRepair/TitanClassicRepair.lua"]:611: in function TitanRepair_GetStatus' [string "@TitanClassicRepair/TitanClassicRepair.lua"]:478: in function TitanRepair_GetInventoryInformation'
[string "@TitanClassicRepair/TitanClassicRepair.lua"]:369: in function TitanPanelRepairButton_OnUpdate' [string "@TitanClassicRepair/TitanClassicRepair.lua"]:324: in function TitanPanelRepairButton_OnEvent'
[string "*TitanClassicRepair.xml:14_OnEvent"]:1: in function <[string "*TitanClassicRepair.xml:14_OnEvent"]:1>

Locals:
tip = TitanRepairTooltip {
0 =
NineSlice = Frame {
}
SetBorderBlendMode = defined @SharedXML/SharedTooltipTemplates.lua:302
updateTooltip = 0.200000
_hasPrice = true
layoutType = "TooltipDefaultLayout"
TooltipBackdropOnLoad = defined @SharedXML/SharedTooltipTemplates.lua:271
TopOverlay = Texture {
}
GetBackdropBorderColor = defined @SharedXML/SharedTooltipTemplates.lua:298
comparing = false
needsReset = true
BottomOverlay = Texture {
}
SetBackdropBorderColor = defined @SharedXML/SharedTooltipTemplates.lua:294
GetBackdropColor = defined @SharedXML/SharedTooltipTemplates.lua:290
SetBackdropColor = defined @SharedXML/SharedTooltipTemplates.lua:286
}
bag = 2
slot = 1
info = nil
(*temporary) = defined @Scrap/addons/main/pricing.lua:26
(*temporary) =

{
SendSignal = defined @Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:82
OnMail = defined @Scrap/addons/main/pricing.lua:60
OnBag = defined @Scrap/addons/main/pricing.lua:40
RegisterMessage = defined @Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterMessage = defined @Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
OnQuest = defined @Scrap/addons/main/pricing.lua:51
AddLine = defined @Scrap/addons/main/pricing.lua:26
OnSetCraftItem = defined @Scrap/addons/main/pricing.lua:73
SendMessage = defined @Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:59
UnregisterSignal = defined @Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:78
RegisterEvent = defined @Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:90
UnregisterAllMessages = defined @Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
OnInventory = defined @Scrap/addons/main/pricing.lua:45
OnLink = defined @Scrap/addons/main/pricing.lua:77
OnSetTradeSkillItem = defined @Scrap/addons/main/pricing.lua:65
OnEnable = defined @Scrap/addons/main/pricing.lua:13
OnLoot = defined @Scrap/addons/main/pricing.lua:56
UnregisterAllEvents = defined @Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:174
RegisterSignal = defined @Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:74
NewModule = defined @Scrap/libs/WildAddon-1.0/WildAddon-1.0.lua:68
UnregisterEvent = defined @Scrap/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:153
Tag = "SCRAP
"
}
(*temporary) = TitanRepairTooltip {
0 =
NineSlice = Frame {
}
SetBorderBlendMode = defined @SharedXML/SharedTooltipTemplates.lua:302
updateTooltip = 0.200000
__hasPrice = true
layoutType = "TooltipDefaultLayout"
TooltipBackdropOnLoad = defined @SharedXML/SharedTooltipTemplates.lua:271
TopOverlay = Texture {
}
GetBackdropBorderColor = defined @SharedXML/SharedTooltipTemplates.lua:298
comparing = false
needsReset = true
BottomOverlay = Texture {
}
SetBackdropBorderColor = defined @SharedXML/SharedTooltipTemplates.lua:294
GetBackdropColor = defined @SharedXML/SharedTooltipTemplates.lua:290
SetBackdropColor = defined @SharedXML/SharedTooltipTemplates.lua:286
}
(*temporary) = defined =[C]:-1
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'info' (a nil value)"
C =
{
locate = defined @Scrap/libs/C_Everywhere/C_Everywhere.lua:36
GetContainerItemQuestInfo =

`

commented

Got exactly the same error with version 10.1.16 on current Classic Era.

commented

Duplicate issue, you can temporarily fix it in the prices file, see here: #225 (comment)