BetterBags

BetterBags

1M Downloads

Lua error on load/login, but only for character with Pet in bag

fubbleskag opened this issue ยท 2 comments

commented

Addon Version

v0.1.80

World of Warcraft Version

Retail

Describe the bug

When logging into a character that has a gifted pet in bag, I get the below

11x BattlePetTooltip:SetPoint(): Usage: ("point" [, region or nil] [, "relativePoint"] [, offsetX, offsetY]
[string "=[C]"]: in function `SetPoint'
[string "@Blizzard_FrameXML/BattlePetTooltip.lua"]:53: in function `BattlePetToolTip_Show'
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataRules.lua"]:278: in function `func'
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:151: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:146>
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:173: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:169>
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:225: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:224>
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:375: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:339>
[string "=[C]"]: in function `securecallfunction'
[string "@Blizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua"]:336: in function <...lizzard_SharedXMLGame/Tooltip/TooltipDataHandler.lua:335>
[string "=(tail call)"]: ?
[string "@BetterBags-Openable/main.lua"]:158: in function <BetterBags-Openable/main.lua:152>
[string "=[C]"]: in function `xpcall'
[string "@BetterBags/data/categories.lua"]:273: in function `GetCustomCategory'
[string "@BetterBags/data/items.lua"]:673: in function `GetCategory'
[string "@BetterBags/data/items.lua"]:823: in function `AttachItemInfo'
[string "@BetterBags/data/loader.lua"]:72: in function <BetterBags/data/loader.lua:67>
[string "=[C]"]: in function `xpcall'
[string "@Blizzard_ObjectAPI/Mainline/AsyncCallbackSystem.lua"]:76: in function `FireCallbacks'
[string "@Blizzard_ObjectAPI/Mainline/AsyncCallbackSystem.lua"]:35: in function <.../Blizzard_ObjectAPI/Mainline/AsyncCallbackSystem.lua:31>

Locals:
(*temporary) = BattlePetTooltip {
 0 = <userdata>
 linePool = <table> {
 }
 Owned = FontString {
 }
 layoutType = "TooltipDefaultLayout"
 AddLine = <function> defined @Blizzard_FrameXML/FloatingPetBattleTooltip.lua:124
 GetBackdropColor = <function> defined @Blizzard_SharedXML/SharedTooltipTemplates.lua:326
 SpeedTexture = Texture {
 }
 SetBackdropBorderColor = <function> defined @Blizzard_SharedXML/SharedTooltipTemplates.lua:330
 HealthTexture = Texture {
 }
 PowerTexture = Texture {
 }
 speciesID = 3306
 PetType = FontString {
 }
 Power = FontString {
 }
 Speed = FontString {
 }
 TooltipBackdropOnLoad = <function> defined @Blizzard_SharedXML/SharedTooltipTemplates.lua:307
 SetBorderBlendMode = <function> defined @Blizzard_SharedXML/SharedTooltipTemplates.lua:338
 PetTypeTexture = Texture {
 }
 GetBackdropBorderColor = <function> defined @Blizzard_SharedXML/SharedTooltipTemplates.lua:334
 Name = FontString {
 }
 Health = FontString {
 }
 NineSlice = Frame {
 }
 SetBackdropColor = <function> defined @Blizzard_SharedXML/SharedTooltipTemplates.lua:322
 Level = FontString {
 }
 BattlePet = FontString {
 }
}

Steps to reproduce

Log in with a pet in bag

commented

This is being caused by a plugin, BetterBags-Openable. This is not written by the core team -- please reach out to that author for help.

Thanks!

commented

Aha, so it is - missed that entirely, sorry!