Caerdon Wardrobe

Caerdon Wardrobe

421k Downloads

CW throwing "attempt to index local 'item' (a number value)" thousands of times in 10.0 (prepatch)

jneuls opened this issue ยท 2 comments

commented

I don't know if this is actually where you do issue tracking and whatnot... but I wanted to do my part and report the error. :)

It appears to occur upon opening bags without even interacting with the bags, not even a mouseover.

Further testing:

  • No error generated with stock 10.0 Blizzard bag frames.
  • Following the actions below, have discovered that each instance of opening Adibags is generating a total of 10 for that same error. I suspect it must be dependent on the number of items (possibly number of visible items?) in my bags as I previously reached a number that was not a multiple of 10.
    1. Enable Adibags.
    2. Reload UI.
    3. Open Adibags by pressing "B".
    4. Check for errors in BugSack.
Client 10.0.0 (46340) Oct 26 2022
(All addons installed/managed via Overwolf/CurseForge)
CaerdonWardrobe v3.0.4
AdiBags v1.9.45
AllTheThings DF-3.0.1
3865x Interface/AddOns/CaerdonWardrobe/CaerdonWardrobe.lua:797: attempt to index local 'item' (a number value)
[string "@Interface/AddOns/CaerdonWardrobe/CaerdonWardrobe.lua"]:797: in function `ProcessItem'
[string "@Interface/AddOns/CaerdonWardrobeAdiBags/Core.AdiBags.lua"]:30: in function `?'
[string "@Interface/AddOns/AllTheThings/lib/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:119: in function <...ings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@Interface/AddOns/AllTheThings/lib/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:29: in function <...ings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:25>
[string "@Interface/AddOns/AllTheThings/lib/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:64: in function `SendMessage'
[string "@Interface/AddOns/AdiBags/widgets/ItemButton.lua"]:334: in function `Update'
[string "@Interface/AddOns/AdiBags/widgets/ItemButton.lua"]:605: in function `Update'
[string "@Interface/AddOns/AdiBags/widgets/ItemButton.lua"]:560: in function <Interface/AddOns/AdiBags/widgets/ItemButton.lua:553>
[string "=[C]"]: in function `Show'
[string "@Interface/AddOns/AdiBags/widgets/ContainerFrame.lua"]:1034: in function `PrepareSections'
[string "@Interface/AddOns/AdiBags/widgets/ContainerFrame.lua"]:1155: in function `FullUpdate'
[string "@Interface/AddOns/AdiBags/widgets/ContainerFrame.lua"]:599: in function <Interface/AddOns/AdiBags/widgets/ContainerFrame.lua:585>
[string "=[C]"]: ?
[string "@Interface/AddOns/AdiBags/core/Utility.lua"]:100: in function <Interface/AddOns/AdiBags/core/Utility.lua:92>
[string "@Interface/AddOns/AdiBags/widgets/LayeredRegion.lua"]:119: in function <Interface/AddOns/AdiBags/widgets/LayeredRegion.lua:108>
commented

I was getting confused for a bit and then noticed you still have the CaerdonWardrobeAdiBags addon installed - that functionality has been rolled into the main CaerdonWardrobe addon, so you should just uninstall that one, and the errors will go away! :)

commented

Confirmed. You absolutely hit the nail on the head, sir. Keep up the good work! <3 Absolute legend.