SavedInstances

SavedInstances

11M Downloads

Lua Error 9.1.5

keypulse opened this issue ยท 9 comments

commented

I am getting the following LUA error while hovering over the minimap icon in 9.1.5, but it mentions UndermineJournal addon as well so I'm not quite sure where the issue resides:

Message: ...dOns\SavedInstances\Libs\LibQTip-1.0\LibQTip-1.0.lua:543: attempt to call method 'GetBackdrop' (a nil value) Time: Wed Nov 3 00:36:31 2021 Count: 1 Stack: ...dOns\SavedInstances\Libs\LibQTip-1.0\LibQTip-1.0.lua:543: attempt to call method 'GetBackdrop' (a nil value) [string "@Interface\AddOns\SavedInstances\Libs\LibQTip-1.0\LibQTip-1.0.lua"]:543: in function <...dOns\SavedInstances\Libs\LibQTip-1.0\LibQTip-1.0.lua:539> [string "@Interface\AddOns\SavedInstances\Libs\LibQTip-1.0\LibQTip-1.0.lua"]:132: in function Acquire'
[string "@interface\AddOns\SavedInstances\Core\Core.lua"]:3454: in function ShowTooltip' [string "@Interface\AddOns\SavedInstances\Core\Core.lua"]:2555: in function OnEnter'
[string "@interface\AddOns\DBM-Core\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua"]:77: in function <...AddOns\DBM-Core\Libs\LibDBIcon-1.0\LibDBIcon-1.0.lua:60>

Locals: tooltip = {
0 =
scrollChild = {
}
scrollFrame = {
}
}
key = "SavedInstancesTooltip"
(*temporary) = nil
(*temporary) = GameTooltip {
0 =
SetQuestLogRewardSpell = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
textLeft1Font = "GameTooltipHeaderText"
ItemTooltip = {
}
SetCurrencyToken = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
SetGuildBankItem = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
updateTooltipTimer = 0.061000
SetQuestRewardSpell = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
textRight2Font = "GameTooltipText"
comparing = false
TopOverlay = {
}
SetPetAction = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
SetLootItem = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
SetQuestItem = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
hasMoney = 1
waitingForData = false
SetTrainerService = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
numMoneyFrames = 1
shoppingTooltips =

{
}
SetBagItem = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
SetInboxItem = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
SetBuybackItem = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
TextLeft1 = GameTooltipTextLeft1 {
}
SetHyperlink = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
SetMerchantItem = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
SetQuestLogItem = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
SetLootRollItem = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
BottomOverlay = {
}
SetTalent = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
SetTradePlayerItem = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
textRight1Font = "GameTooltipHeaderText"
SetSendMailItem = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
SetInventoryItem = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
NineSlice = {
}
textLeft2Font = "GameTooltipText"
SetShapeshift = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
TextRight2 = GameTooltipTextRight2 {
}
TextLeft2 = GameTooltipTextLeft2 {
}
SetTradeTargetItem = defined @interface\AddOns\TheUndermineJournal\libs\LibExtraTip\LibExtraTip.lua:419
SetRecipeReagentItem = <functi`

commented

Some info here: https://us.forums.blizzard.com/en/wow/t/backdroptemplate-issues/1125674/8

Haven't found anything official, so far...

commented

Got the same issue, tryde to make some changes but did not work

commented

made a quick fix that worked for me, untill it fixed by the author,
in file :\SavedInstances\Libs\LibQTip-1.0\LibQTip-1.0.lua:543

Background color is a bit off thoe, at least no Lua error

-- local backdrop = GameTooltip:GetBackdrop()

-- tooltip:SetBackdrop(backdrop)
local GenericBackdrop = {
bgFile = "Interface\Tooltips\UI-Tooltip-Background"
}
tooltip:SetBackdrop(GenericBackdrop)

commented

The problem is in LibQTip-1.0 so we'll have to wait until someone updates it or switch to a fork

commented

After tooltip:SetBackdrop(GenericBackdrop) add

tooltip:SetBackdropColor(0.06, 0.06, 0.06, 1.0)
tooltip:SetBackdropBorderColor(0.15, 0.15, 0.15, 1.0)

with your fav colors

commented

following what others posted here worked for me.
Line 543 - comment out or remove

local backdrop = GameTooltip:GetBackdrop()

tooltip:SetBackdrop(backdrop

replace with

local GenericBackdrop = {
bgFile = "Interface\Tooltips\UI-Tooltip-Background"
}
tooltip:SetBackdrop(GenericBackdrop)
tooltip:SetBackdropColor(0.06, 0.06, 0.06, 1.0)
tooltip:SetBackdropBorderColor(0.15, 0.15, 0.15, 1.0)

Visual that may help others
image

Working!
image

commented

As @Duckwhale referenced, I downloaded https://www.curseforge.com/wow/addons/libqtip-1-0 and it resolved the issue for me without having to edit the LUA file.

commented

LibQTip was updated and we will push an update with the new version soon.