Cidan / BetterBags

A total replacement AddOn for World of Warcraft bag frames, inspired by AdiBags.
MIT License
88 stars 39 forks source link

LUA Error(s) after entering game & Loading Screens #720

Open LordDrago opened 1 month ago

LordDrago commented 1 month ago

Addon Version

0.3.18

World of Warcraft Version

Retail

Describe the bug

When I finish loading into the game, or after completing a loading screen when switching zones that have one, I get these 2 LUA Errors.

Error 1:

Message: Interface/AddOns/BetterBags/frames/item.lua:319: data must be provided Time: Sun Oct 27 03:58:10 2024 Count: 1 Stack: Interface/AddOns/BetterBags/frames/item.lua:319: data must be provided string "=[C]": in function assert' [string "@Interface/AddOns/BetterBags/frames/item.lua"]:319: in functionSetItemFromData' [string "@Interface/AddOns/BetterBags/frames/item.lua"]:293: in function SetItem' [string "@Interface/AddOns/BetterBags/views/bagview.lua"]:92: in function <Interface/AddOns/BetterBags/views/bagview.lua:84> [string "@Interface/AddOns/BetterBags/views/bagview.lua"]:147: in functionRender' [string "@Interface/AddOns/BetterBags/frames/bag.lua"]:316: in function Draw' [string "@Interface/AddOns/BetterBags/core/init.lua"]:305: in functioncb' [string "@Interface/AddOns/BetterBags/core/events.lua"]:49: in function <Interface/AddOns/BetterBags/core/events.lua:47>

[string "@Interface/AddOns/BetterBags/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:19: in function <...ags/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@Interface/AddOns/BetterBags/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:54: in function SendMessage' [string "@Interface/AddOns/BetterBags/core/events.lua"]:206: in functionSendMessage' [string "@Interface/AddOns/BetterBags/core/events.lua"]:224: in function <Interface/AddOns/BetterBags/core/events.lua:223>

Locals: (temporary) = nil (temporary) = "data must be provided"

Error 2:

Message: Interface/AddOns/BetterBags/core/context.lua:82: context has been cancelled Time: Sun Oct 27 04:24:14 2024 Count: 1 Stack: Interface/AddOns/BetterBags/core/context.lua:82: context has been cancelled string "=[C]": in function error' [string "@Interface/AddOns/BetterBags/core/context.lua"]:82: in functionGetBool' [string "@Interface/AddOns/BetterBags/data/items.lua"]:642: in function LoadItems' [string "@Interface/AddOns/BetterBags/data/items.lua"]:807: in function <Interface/AddOns/BetterBags/data/items.lua:801> [string "@Interface/AddOns/BetterBags/data/loader.lua"]:130: in functionevent' [string "@Interface/AddOns/BetterBags/core/async.lua"]:55: in function worker' [string "@Interface/AddOns/BetterBags/core/async.lua"]:65: in functionDoWithDelay' [string "@Interface/AddOns/BetterBags/core/async.lua"]:74: in function Do' [string "@Interface/AddOns/BetterBags/core/async.lua"]:195: in functionUntil' [string "@Interface/AddOns/BetterBags/data/loader.lua"]:114: in function `event' [string "@Interface/AddOns/BetterBags/core/async.lua"]:55: in function <Interface/AddOns/BetterBags/core/async.lua:46>

Locals: (*temporary) = "context has been cancelled"

BetterBags 1 BetterBags 2

Steps to reproduce

When moving an item from one Warband Tab to another manually, I got the first error. Afterwards whenever I load into the game, or switch zones that include a loading screen I now get this error.