Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LUA error when talking to vendor #224

Open
klingo opened this issue Sep 17, 2023 · 3 comments
Open

LUA error when talking to vendor #224

klingo opened this issue Sep 17, 2023 · 3 comments

Comments

@klingo
Copy link

klingo commented Sep 17, 2023

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: 
@usoninja
Copy link

usoninja commented Sep 18, 2023

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 =

`

@ssnd292
Copy link

ssnd292 commented Oct 7, 2023

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

@atsolberg
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants