BetterBags

BetterBags

1M Downloads

Toggle Bags LUA Error

Faulkal opened this issue ยท 3 comments

commented

Addon Version

v0.1.79-3-ga37fa3e

World of Warcraft Version

Retail

Describe the bug

pressing B to open bags would fail until a /reload was done.

31x BetterBags/core/hooks.lua:86: attempt to index field 'Backpack' (a nil value)
[string "@BetterBags/core/hooks.lua"]:86: in function ToggleAllBags' [string "@BetterBags/core/init.lua"]:87: in function BetterBags_ToggleBags'
[string "BETTERBAGS_TOGGLEBAGS"]:1: in function <[string "BETTERBAGS_TOGGLEBAGS"]:1>

Locals:
self =

{
isBCC = false
modules =
{
}
defaultModuleLibraries =
{
}
_bindingFrame = Frame {
}
defaultModuleState = false
name = "BetterBags"
baseName = "BetterBags"
orderedModules =
{
}
backpackShouldClose = false
isRetail = true
Bags =
{
}
atBank = false
enabledState = true
backpackShouldOpen = false
isClassic = false
hooks =
{
}
isCata = false
_buttons =
{
}
}
interactingFrame = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "ToggleAllBags"
(*temporary) = "attempt to index field 'Backpack' (a nil value)"
debug =
{
modules =
{
}
defaultModuleLibraries =
{
}
enabled = false
window =
{
}
tooltip = BetterBagsTooltip {
}
name = "BetterBags_Debug"
orderedModules =
{
}
baseName = "BetterBags"
enabledState = true
profiles =
{
}
colors =
{
}
defaultModuleState = true
moduleName = "Debug"
}
addon =
{
isBCC = false
modules =
{
}
defaultModuleLibraries =
{
}
_bindingFrame = Frame {
}
defaultModuleState = false
name = "BetterBags"
baseName = "BetterBags"
orderedModules =
{
}
backpackShouldClose = false
isRetail = true
Bags =
{
}
atBank = false
enabledState = true
backpackShouldOpen = false
isClassic = false
hooks =
{
}
isCata = false
_buttons =
{
}
}
events =
{
modules =
{
}
defaultModuleLibraries =
{
}
name = "BetterBags_Events"
orderedModules =
{
}
_eventArguments =
{
}
_eventQueue =
{
}
_bucketCallbacks =
{
}
_bucketTimers =
{
}
baseName = "BetterBags"
enabledState = true
_messageMap =
{
}
_eventHandler =
{
}
_eventMap =
{
}
moduleName = "Events"
defaultModuleState = true
}

Steps to reproduce

not sure what triggers this. ill keep testing and get back to it.

commented

This was fixed in v0.1.80.

commented

Are you tracking Trader's Tender as a currency at the bottom of the bag?

commented

no, flightstones and gold