Cidan / BetterBags

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

Error with BetterBags sorting #533

Closed ingham-tyler closed 2 months ago

ingham-tyler commented 2 months ago

Addon Version

v0.1.89

World of Warcraft Version

Retail

Describe the bug

Getting following error when returning from a Radiant Echo event to Dalaran via in-game portals. Refreshing, relogging do not seem to fix the issue. Only disabling the addon (BetterBags).

Date: 2024-08-03 16:55:56 ID: 1 Error occured in: Global Count: 1 Message: Interface/AddOns/BetterBags/frames/grid.lua line 163: invalid order function for sorting Debug:

[string "@Interface/AddOns/BetterBags/frames/grid.lua"]:163: Sort() [string "@Interface/AddOns/BetterBags/views/gridview.lua"]:264: Render() [string "@Interface/AddOns/BetterBags/frames/bag.lua"]:302: Draw() [string "@Interface/AddOns/BetterBags/core/init.lua"]:258: cb()

  Interface/AddOns/BetterBags/core/events.lua:45
  ...ons/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15

string "@Interface/AddOns/AdvancedInterfaceOptions/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua":54: SendMessage()

  Interface/AddOns/BetterBags/core/events.lua:185

Locals: (temporary) =

{ 1 =
{ } 2 =
{ } 3 =
{ } 4 =
{ } 5 =
{ } 6 =
{ } 7 =
{ } 8 =
{ } 9 =
{ } 10 =
{ } 11 =
{ } 12 =
{ } 13 =
{ } 14 =
{ } 15 =
{ } 16 =
{ } 17 =
{ } 18 =
{ } 19 =
{ } 20 =
{ } 21 =
{ } 22 =
{ } 23 =
{ } 24 =
{ } 25 =
{ } 26 =
{ } 27 =
{ } 28 =
{ } } (temporary) =
{ view = 2 headerDisabled = false title = Button { } fillWidth = false maxItemsPerRow = 7 content =
{ } frame = Frame { } } (temporary) =
{ view = 2 headerDisabled = false title = Button { } fillWidth = false maxItemsPerRow = 7 content =
{ } frame = Frame { } } (temporary) =
{ view = 2 headerDisabled = false title = Button { } fillWidth = false maxItemsPerRow = 7 content =
{ } frame = Frame { } }

AddOns: Swatter, v<%version%> (<%codename%>) AddonFactory, v11.0.001 AdvancedInterfaceOptions, v2.0.0 AllTheThings, vTWW-4.0.2 Altoholic, v11.0.001 Auctionator, v11.0.0 Auctioneer, v9.1.BETA.5.17 (OneMawTime) AuctioneerStatsOverTime, v9.1.BETA.5.17 (OneMawTime) AuctioneerUtilDealFinder, v9.1.BETA.5.17 (OneMawTime) AuctioneerUtilValuer, v9.1.BETA.5.17 (OneMawTime) BattleGroundEnemies, v11.0.0.0 BetterBags, vv0.1.89 BetterBagsBound, vv1.2.0 BetterBagsDragonflightReputationInsignia, vv1.2.0 BetterBagsGearFirst, vv1.0.8 BetterBagsHearthstones, v1.18 BetterBagsWorldEvents, v1.3.3 BetterFishing, v1.1.24 BigDebuffs, vv29 Capping, vv10.2.12 DataStore, v2024.07.28 DataStoreAchievements, v2024.07.28 DataStoreAgenda, v2024.07.28 DataStoreAuctions, v2024.07.28 DataStoreCharacters, v2024.07.28 DataStoreContainers, v2024.07.28 DataStoreCrafts, v2024.07.28 DataStoreCurrencies, v2024.07.28 DataStoreGarrisons, v2024.07.28 DataStoreInventory, v2024.07.28 DataStoreMails, v2024.07.28 DataStorePets, v2024.07.28 DataStoreQuests, v2024.07.28 DataStoreReputations, v2024.07.28 DataStoreSpells, v2024.07.28 DataStoreStats, v2024.07.28 DataStoreTalents, v2024.07.28 DejaCharacterStats, vR110000r1 Details, v#Details.12827.159 DetailsCompare2, v DetailsEncounterDetails, v DialogueUI, v0.3.6 HandyNotes, vv1.6.20.3 HandyNotesBattleForAzerothTreasures, vv32 HandyNotesBurningCrusade, vv6 HandyNotesDragonflightTreasures, vv60 HandyNotesDragonGlyphs, v0.1.5 HandyNotesHigherDimensionalLearning, vv6 HandyNotesKosumoth, vv9 HandyNotesLegionTreasures, vv35.1 HandyNotesLongForgottenHippogryph, vv12 HandyNotesMistsOfPandariaTreasures, vv33 HandyNotesSecretFish, vv6 HandyNotesShadowlandsTreasures, vv78 HandyNotesStygia, vv110000.0 HandyNotesSuramarLeylines, vv8 HandyNotesSuramarTelemancy, vv13 HandyNotesTreasureHunter, vv35 HandyNotesWitheredArmyTraining, v1 HandyNotesWrathOfTheLichKing, vv14 Informant, v9.1.BETA.5.17 (OneMawTime) KrowiAchievementFilter, v75.2 LeatrixMaps, v11.0.02 LeatrixPlus, v11.0.02 MasterPlanA, vA MinimalArchaeology, v11.0.0 Narcissus, v1.6.7 OmniCC, v11.0.0 OPie, vZeta 8a Plumber, v1.3.3 Postal, vv4.1.8 PremadeGroupsFilter, v5.8.2 RareScanner, v11.0.0.1 Rarity, v1.0 (r733-release) RarityOptions, v SavedInstances, v11.0.2 SpeedyAutoLoot, v2.2.21 Stubby, v9.1.BETA.5.17 (OneMawTime) TomTom, vv4.0.1-release VenturePlan, v4.42 WarPlan, v3.26 WeakAuras, v5.15.4 WeakAurasArchive, v5.15.4 ZerethMortisPuzzleHelper, v1.6.13 BlizRuntimeLib v11.0.0.55939(US) (ck=a4f)

Steps to reproduce

  1. Take portal from Dalaran to Radiant Echo event (Searing Gorge was first I went to)
  2. Do the event
  3. Return via the in-game portal to Dalaran
  4. Once loaded in, error gets thrown

Other variables that are present:

AMaribo commented 2 months ago

Try disabling the BetterBags - GearFirst plugin and see if you still receive the error.

ingham-tyler commented 2 months ago

Try disabling the BetterBags - GearFirst plugin and see if you still receive the error.

This has removed the error, or more accurately, not replicated the above error.

EDIT: To clarify, I am no longer receiving any errors from BetterBags when transitioning between zones or sorting bags.

AMaribo commented 2 months ago

You'll need to reach out to the developer of that plugin with the error so they can take a look at it.

ingham-tyler commented 2 months ago

I will share this with them then, thank you for your help!