BagSync

BagSync

3M Downloads

Lua Error when using BagSync external tooltip

DiscordGregory opened this issue ยท 2 comments

commented

Enabling "Display item count data in an external tooltip" results in this error. No error when this setting isn't enabled.

10x ...faceBagSync\libs\LibQTip-1.0\LibQTip-1.0-48.lua:527: attempt to call method 'GetBackdrop' (a nil value)
[string "@BagSync\libs\LibQTip-1.0\LibQTip-1.0-48.lua"]:527: in function <...faceBagSync\libs\LibQTip-1.0\LibQTip-1.0.lua:521>
[string "@BagSync\libs\LibQTip-1.0\LibQTip-1.0-48.lua"]:132: in function Acquire' [string "@BagSync\wireframe\tooltip.lua"]:354: in function TallyUnits'
[string "@BagSync\wireframe\tooltip.lua"]:578: in function <BagSync\wireframe\tooltip.lua:569>
[string "=[C]"]: ?
[string "=[C]"]: in function SetBagItem' [string "@FrameXML\ContainerFrame.lua"]:1372: in function ContainerFrameItemButton_OnUpdate'
[string "@FrameXML\ContainerFrame.lua"]:1419: in function `ContainerFrameItemButton_OnEnter'
[string ":OnEnter"]:1: in function <[string ":OnEnter"]:1>

Locals:
tooltip = {
0 =
scrollChild = {
}
scrollFrame = {
}
}
key = "GameTooltip"
(*temporary) = defined @SharedXML\Backdrop.lua:321
(*temporary) = {
0 =
scrollChild = {
}
scrollFrame = {
}
}
(*temporary) = nil
(*temporary) = GameTooltip {
0 =
SetCurrencyByID = defined =[C]:-1
numMoneyFrames = 1
SetRecipeReagentItem = defined =[C]:-1
layoutType = "TooltipDefaultLayout"
TextLeft1 = GameTooltipTextLeft1 {
}
ItemTooltip = {
}
SetQuestLogItem = defined =[C]:-1
SetBackpackToken = defined =[C]:-1
BottomOverlay = {
}
hasMoney = 1
TextRight1 = GameTooltipTextRight1 {
}
textRight1Font = "GameTooltipHeaderText"
SetMerchantCostItem = defined =[C]:-1
SetCurrencyTokenByID = defined =[C]:-1
NineSlice = {
}
textLeft2Font = "GameTooltipText"
SetCurrencyToken = defined =[C]:-1
TextRight2 = GameTooltipTextRight2 {
}
TextLeft2 = GameTooltipTextLeft2 {
}
textLeft1Font = "GameTooltipHeaderText"
TopOverlay = {
}
shownMoneyFrames = 1
shoppingTooltips =

{
}
needsReset = true
updateTooltipTimer = 0.200000
textRight2Font = "GameTooltipText"
SetQuestItem = defined =[C]:-1
SetRecipeResultItem = defined =[C]:-1
}
(*temporary) = "attempt to call method 'GetBackdrop' (a nil value)"
GameTooltip = GameTooltip {
0 =
SetCurrencyByID = defined =[C]:-1
numMoneyFrames = 1
SetRecipeReagentItem = defined =[C]:-1
layoutType = "TooltipDefaultLayout"
TextLeft1 = GameTooltipTextLeft1 {
}
ItemTooltip = {
}
SetQuestLogItem = defined =[C]:-1
SetBackpackToken = defined =[C]:-1
BottomOverlay = {
}
hasMoney = 1
TextRight1 = GameTooltipTextRight1 {
}
textRight1Font = "GameTooltipHeaderText"
SetMerchantCostItem = defined =[C]:-1
SetCurrencyTokenByID = defined =[C]:-1
NineSlice = {
}
textLeft2Font = "GameTooltipText"
SetCurrencyToken = defined =[C]:-1
TextRight2 = GameTooltipTextRight2 {
}
TextLeft2 = GameTooltipTextLeft2 {
}
textLeft1Font = "GameTooltipHeaderText"
TopOverlay = {
}
shownMoneyFrames = 1
shoppingTooltips =
{
}
needsReset = true
updateTooltipTimer = 0.200000
textRight2Font = "GameTooltipText"
SetQuestItem = defined =[C]:-1
SetRecipeResultItem = defined =[C]:-1
}
AcquireTable = defined @BagSync\libs\LibQTip-1.0\LibQTip-1.0.lua:507
labelProvider =
{
cells =
{
}
cellMetatable =
{
}
cellPrototype =
{
}
heap =
{
}
}
CELL_MARGIN_H = 6
CELL_MARGIN_V = 3
ResetTooltipSize = defined @BagSync\libs\LibQTip-1.0\LibQTip-1.0.lua:847

commented
commented

This is a bug in LibQTip-1.0. See:

https://www.curseforge.com/wow/addons/libqtip-1-0/issues/49

Nice! Thank you for posting this bug and LQtip bug report! Helps me tracks down these issues and fix them.