LUA error when talking to vendor
klingo opened this issue ยท 3 comments
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.
- Go to any vendor
- Click on it to open the merchant tab
- See error
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:
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 function
SetBagItem'
[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 =
`
Duplicate issue, you can temporarily fix it in the prices file, see here: #225 (comment)