EmoteLDB

148k Downloads

LUA error

Andf opened this issue ยท 4 comments

commented

Receving the following LUA error after logging in.

28x EmoteLDB\LibQTip-ELDB.lua:542: attempt to call method 'GetBackdrop' (a nil value) [string "@EmoteLDB\LibQTip-ELDB.lua"]:542: in function <EmoteLDB\LibQTip-ELDB.lua:538> [string "@EmoteLDB\LibQTip-ELDB.lua"]:133: in function Acquire'
[string "@EmoteLDB\EmoteLDB-v2020.11.20.6.lua"]:333: in function OnEnter' [string "@Bazooka\Bazooka-v2.9.9.lua"]:1583: in function showTip'
[string "@bazooka\Bazooka-v2.9.9.lua"]:1388: in function <Bazooka\Bazooka.lua:1379>

Locals:
tooltip = {
0 =
OnBackdropLoaded = defined @SharedXML\Backdrop.lua:144
GetBackdropColor = defined @SharedXML\Backdrop.lua:382
SetupTextureCoordinates = defined @SharedXML\Backdrop.lua:206
OnBackdropSizeChanged = defined @SharedXML\Backdrop.lua:174
HasBackdropInfo = defined @SharedXML\Backdrop.lua:270
SetBackdropBorderColor = defined @SharedXML\Backdrop.lua:414
scrollFrame = {
}
GetEdgeSize = defined @SharedXML\Backdrop.lua:180
scrollChild = {
}
ApplyBackdrop = defined @SharedXML\Backdrop.lua:286
SetBackdrop = defined @SharedXML\Backdrop.lua:321
ClearBackdrop = defined @SharedXML\Backdrop.lua:274
GetBackdropBorderColor = defined @SharedXML\Backdrop.lua:401
GetBackdrop = defined @SharedXML\Backdrop.lua:339
SetupPieceVisuals = defined @SharedXML\Backdrop.lua:238
SetBackdropColor = defined @SharedXML\Backdrop.lua:391
SetBorderBlendMode = defined @SharedXML\Backdrop.lua:258
}
key = "EmoteLDBTooltip"
(*temporary) = nil
(*temporary) = GameTooltip {
0 =
textLeft1Font = "GameTooltipHeaderText"
ItemTooltip = {
}
SetHyperlink = defined =[C]:-1
SetGuildBankItem = defined =[C]:-1
updateTooltipTimer = 0.109000
SetVoidDepositItem = defined =[C]:-1
SetVoidWithdrawalItem = defined =[C]:-1
hasMoney = 1
SetTradeTargetItem = defined =[C]:-1
SetItemKey = defined =[C]:-1
TextRight1 = GameTooltipTextRight1 {
}
comparing = false
ClearLines = defined =[C]:-1
SetSocketGem = defined =[C]:-1
SetItemByID = defined =[C]:-1
Show = defined =[C]:-1
Hide = defined =[C]:-1
textRight2Font = "GameTooltipText"
SetHeirloomByItemID = defined =[C]:-1
SetLootItem = defined =[C]:-1
SetQuestItem = defined =[C]:-1
SetExistingSocketGem = defined =[C]:-1
waitingForData = false
SetTrainerService = defined =[C]:-1
numMoneyFrames = 1
SetCurrencyToken = defined @Altoholic\Services\Tooltip.lua:562
SetRecipeResultItem = defined =[C]:-1
SetRecipeReagentItem = defined @Altoholic\Services\Tooltip.lua:562
SetBuybackItem = defined =[C]:-1
shoppingTooltips =

{
}
SetWeeklyReward = defined =[C]:-1
SetMerchantItem = defined =[C]:-1
SetQuestLogItem = defined =[C]:-1
SetInboxItem = defined =[C]:-1
BottomOverlay = {
}
layoutType = "TooltipDefaultLayout"
SetTradePlayerItem = defined =[C]:-1
textRight1Font = "GameTooltipHeaderText"
SetSendMailItem = defined =[C]:-1
SetMerchantCostItem = defined @TradeSkillMaster\LibTSM\Service\ItemTooltipClasses\Wrapper.lua:105
NineSlice = {
}
textLeft2Font = "GameTooltipText"
SetLootRollItem = defined =[C]:-1
TextRight2 = GameTooltipTextRight2 {
}
TextLeft2 = GameTooltipTextLeft2 {
}
SetInventoryItem = defined =[C]:-1
SetAuctionSellItem = defined @TradeSkillMaster\LibTSM\Service\ItemTooltipClasses\Wrapper.lua:105
SetBagItem = defined =[C]:-1
needsReset = true
TextLeft1 = GameTooltipTextLeft1 {
}
SetVoidItem = defined =[C]:-1
TopOverlay = {
}
SetAuctionItem = defined @TradeSkillMaster\LibTSM\Service\ItemTooltipClasses\Wrapper.lua:105
}
(*temporary) = "attempt to call method 'GetBackdrop' (a nil value)"
GameTooltip = GameTooltip {
0 =
textLeft1Font = "GameTooltipHeaderText"
ItemTooltip = {
}
SetHyperlink = defined =[C]:-1
SetGuildBankItem = defined =[C]:-1
updateTooltipTimer =`

commented

Uhm... that's weird, I downloaded EmoteLDB from Curse a couple of weeks ago. I'll check versions later today and I'll let you know.

Many thanks for your swift response!

commented

I think I know what happened; version on Curseforge seems to be marked as Beta, so Ajour downgraded it using latest stable.
Everything is working fine using latest version, many thanks!

commented

Not sure if it's EmoteLDB ort Bazooka...

commented

It's technically being generated from Bazooka, but from the version of LibQTip inside EmoteLDB. Unfortunately, it looks like you're running a very old version of EmoteLDB (Nov 20, 2020). My version of LibQTip was patched on Nov 4, 2021 to mix-in BackdropTemplateMixin to avoid this specific error. Please try updating to the latest version (9.2.0.01 was released Feb 27, 2022) to see if it fixes your issue.