BetterBags

BetterBags

2M Downloads

Empty Bags

githubdoug13 opened this issue ยท 2 comments

commented

Addon Version

v0.3.21

World of Warcraft Version

Classic Era (And SoD/Hardcore) Version 1.15.7 (61186)

Describe the bug

When opening the bag no inventory is present. BugSack shows the following error:

9x BetterBags/util/trees/intervaltree.lua:40: attempt to compare nil with number
[BetterBags/util/trees/intervaltree.lua]:40: in function 'InsertRecursive'
[BetterBags/util/trees/intervaltree.lua]:30: in function 'Insert'
[BetterBags/data/search.lua]:128: in function 'addNumberToIndex'
[BetterBags/data/search.lua]:215: in function 'Add'
[BetterBags/data/items.lua]:687: in function 'LoadItems'
[BetterBags/data/items.lua]:807: in function <BetterBags/data/items.lua:801>
[BetterBags/data/loader.lua]:130: in function 'event'
[BetterBags/core/async.lua]:55: in function 'worker'
[BetterBags/core/async.lua]:65: in function 'DoWithDelay'
[BetterBags/core/async.lua]:74: in function 'Do'
[BetterBags/core/async.lua]:195: in function 'Until'
[BetterBags/data/loader.lua]:114: in function 'event'
[BetterBags/core/async.lua]:55: in function <BetterBags/core/async.lua:46>

Locals:
self =

{
root =
{
}
}
node =
{
min = 0
value = 0
right =
{
}
data =
{
}
max = 0
}
value = nil
data =
{
-2_19 = true
}
(*temporary) = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare nil with number"

Below is a screenshot:

Image

Steps to reproduce

  1. Log into WoW SoD
  2. Open bags
commented

A similar issue appears to have occurred with the Retail client here - #762

commented

A similar issue appears to have occurred with the Retail client here - #762

I have the exact same issue as OP and tried the suggestion on the thread you posted but it didn't work so I'm still sat with empty bags sadly.

EDIT: Here are my LUA errors in case it helps:

2x BetterBags/data/items.lua:1094: attempt to concatenate field '?' (a nil value)
[string "@BetterBags/data/items.lua"]:1094: in function `GetCategory'
[string "@BetterBags/data/items.lua"]:729: in function `LoadItems'
[string "@BetterBags/data/items.lua"]:807: in function <BetterBags/data/items.lua:801>
[string "@BetterBags/data/loader.lua"]:130: in function `event'
[string "@BetterBags/core/async.lua"]:55: in function `worker'
[string "@BetterBags/core/async.lua"]:65: in function `DoWithDelay'
[string "@BetterBags/core/async.lua"]:74: in function `Do'
[string "@BetterBags/core/async.lua"]:195: in function `Until'
[string "@BetterBags/data/loader.lua"]:114: in function `event'
[string "@BetterBags/core/async.lua"]:55: in function <BetterBags/core/async.lua:46>

Locals:
self = <table> {
 modules = <table> {
 }
 baseName = "BetterBags"
 defaultModuleState = true
 enabledState = true
 previousItemGUID = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 loaders = <table> {
 }
 equipmentCache = <table> {
 }
 _firstLoad = <table> {
 }
 _doingRefresh = false
 _preSort = false
 _newItemTimers = <table> {
 }
 loadCount = 2
 name = "BetterBags_Items"
 slotInfo = <table> {
 }
 searchCache = <table> {
 }
 orderedModules = <table> {
 }
 moduleName = "Items"
}
ctx = <table> {
 keys = <table> {
 }
 done = false
}
data = <table> {
 bagid = 1
 forceClear = false
 inventoryType = 0
 transmogInfo = <table> {
 }
 inventorySlots = <table> {
 }
 slotid = 12
 basic = false
 itemHash = "33470|h[Frostweave Cloth]|h|r0700"
 slotkey = "1_12"
 bindingInfo = <table> {
 }
 stacks = 0
 itemLinkInfo = <table> {
 }
 isItemEmpty = false
 containerInfo = <table> {
 }
 stackedCount = 19
 kind = 0
 itemInfo = <table> {
 }
 questInfo = <table> {
 }
}
customCategory = nil
category = "Tailoring - "
(*temporary) = "Tailoring - "
(*temporary) = nil
(*temporary) = 254
(*temporary) = "Expansion"
(*temporary) = "attempt to concatenate field '?' (a nil value)"
L = <table> {
 data = <table> {
 }
 modules = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 baseName = "BetterBags"
 enabledState = true
 locale = "enUS"
 moduleName = "Localization"
 defaultModuleState = true
 name = "BetterBags_Localization"
 orderedModules = <table> {
 }
}
database = <table> {
 modules = <table> {
 }
 defaultModuleState = true
 data = <table> {
 }
 baseName = "BetterBags"
 enabledState = true
 defaultModuleLibraries = <table> {
 }
 name = "BetterBags_Database"
 orderedModules = <table> {
 }
 moduleName = "Database"
}
items = <table> {
 modules = <table> {
 }
 baseName = "BetterBags"
 defaultModuleState = true
 enabledState = true
 previousItemGUID = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 loaders = <table> {
 }
 equipmentCache = <table> {
 }
 _firstLoad = <table> {
 }
 _doingRefresh = false
 _preSort = false
 _newItemTimers = <table> {
 }
 loadCount = 2
 name = "BetterBags_Items"
 slotInfo = <table> {
 }
 searchCache = <table> {
 }
 orderedModules = <table> {
 }
 moduleName = "Items"
}
categories = <table> {
 modules = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 categoryCount = 0
 name = "BetterBags_Categories"
 ephemeralCategories = <table> {
 }
 orderedModules = <table> {
 }
 categoryFunctions = <table> {
 }
 baseName = "BetterBags"
 ephemeralCategoryByItemID = <table> {
 }
 enabledState = true
 defaultModuleState = true
 moduleName = "Categories"
 itemsWithNoCategory = <table> {
 }
}
const = <table> {
 BANK_ONLY_BAGS = <table> {
 }
 BAG_KIND = <table> {
 }
 modules = <table> {
 }
 BANK_TAB = <table> {
 }
 BANK_BAGS = <table> {
 }
 BINDING_SCOPE = <table> {
 }
 BANK_ONLY_BAGS_LIST = <table> {
 }
 baseName = "BetterBags"
 BAG_SUBTYPES = <table> {
 }
 DATABASE_DEFAULTS = <table> {
 }
 SECTION_SORT_TYPE = <table> {
 }
 defaultModuleState = true
 FORM_LAYOUT = <table> {
 }
 INVENTORY_TYPE_TO_INVENTORY_SLOTS = <table> {
 }
 EQUIPMENT_SLOTS = <table> {
 }
 name = "BetterBags_Constants"
 TRADESKILL_MAP = <table> {
 }
 orderedModules = <table> {
 }
 BRIEF_EXPANSION_MAP = <table> {
 }
 EXPANSION_MAP = <table> {
 }
 OFFSETS = <table> {
 }
 ITEM_QUALITY_COLOR = <table> {
 }
 BINDING_MAP = <table> {
 }
 ITEM_QUALITY_HIGHLIGHT = <table> {
 }
 ITEM_QUALITY_TO_ENUM = <table> {
 }
 BAG_SUBTYPE_TO_QUALITY = <table> {
 }
 EXPANSION_TYPE = <table> {
 }
 ITEM_SORT_TYPE = <table> {
 }
 BACKPACK_BAGS = <table> {
 }
 BAG_VIEW = <table> {
 }
 WINDOW_KIND = <table> {
 }
 ITEM_QUALITY_COLOR_LOW = <table> {
 }
 BACKPACK_ONLY_BAGS_LIST = <table> {
 }
 enabledState = false
 BACKPACK_ONLY_REAGENT_BAGS = <table> {
 }
 ACCOUNT_BANK_BAGS = <table> {
 }
 GRID_COMPACT_STYLE = <table> {
 }
 REAGENTBANK_BAGS = <table> {
 }
 MOVEMENT_FLOW = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 ITEM_BAG_FAMILY = <table> {
 }
 ITEM_QUALITY_COLOR_HIGH = <table> {
 }
 moduleName = "Constants"
 BACKPACK_ONLY_BAGS = <table> {
 }
}