Shadow & Light (ElvUI Plugin)

Shadow & Light (ElvUI Plugin)

14M Downloads

BagInfo error on login/reload

Ketris opened this issue ยท 8 comments

commented

Description
Errors appearing during login:
Message: ..\AddOns\ElvUI_SLE\modules\bags\baginfo.lua line 98: attempt to index local 'slot' (a nil value)
and
Message: ..\AddOns\ElvUI_SLE\modules\bags\baginfo.lua line 95: attempt to index field '?' (a nil value) (Count: 521)

Shadow & Light Version
4.34-4-g4ff2575

ElvUI Version
12.62

Steps to Reproduce

  1. Install the 2 addon versions listed.
  2. Log in.

Expected Behavior
No errors on login?

Actual Behavior
Errors in chat/error boxes.

ElvUI + S&L Enabled
Error occurs

Only ElvUI Enabled
No errors. (Error is in S&L addon, not in Elv core addon)

Error Log

Date: 2022-01-25 03:28:17
ID: 4
Error occured in: Global
Count: 521
Message: ..\AddOns\ElvUI_SLE\modules\bags\baginfo.lua line 95:
   attempt to index field '?' (a nil value)
Debug:
   [string "@ElvUI_SLE\modules\bags\baginfo.lua"]:95:
      ElvUI_SLE\modules\bags\baginfo.lua:93
   [string "=[C]"]: ConstructContainerButton()
   [string "@ElvUI\Core\Modules\Bags\Bags.lua"]:1534: ConstructContainerFrame()
   [string "@ElvUI\Core\Modules\Bags\Bags.lua"]:2535:
      ElvUI\Core\Modules\Bags\Bags.lua:2448
   [string "=[C]"]: ?
   [string "@ElvUI\Core\General\Core.lua"]:1743: CallLoadFunc()
   [string "@ElvUI\Core\General\Core.lua"]:1758: CallLoadedModule()
   [string "@ElvUI\Core\General\Core.lua"]:1784: InitializeModules()
   [string "@ElvUI\Core\General\Core.lua"]:1893:
      ElvUI\Core\General\Core.lua:1862
   [string "=[C]"]: Initialize()
   [string "@ElvUI\Core\init.lua"]:213:
      ElvUI\Core\init.lua:212
   [string "=[C]"]: ?
   [string "@Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:70:
      ...ace\AddOns\Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:65
   [string "@Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:527: EnableAddon()
   [string "@Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua"]:630:
      ...ace\AddOns\Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:615
Locals:
self = <table> {
 RefreshSearch = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:654
 UpdateBindLines = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:2442
 GetBagAssignedInfo = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:872
 BagBar_OnLeave = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\BagBar.lua:38
 ToggleBags = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:1962
 Holder_OnLeave = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:733
 Sort = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Sort.lua:626
 GetItemQualityColor = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:461
 StartStacking = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Sort.lua:781
 IsEquipmentSlot = <table> {
 }
 SetDefaultModulePrototype = <function> defined @Interface\AddOns\Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:409
 IsEnabled = <function> defined @Interface\AddOns\Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:451
 ToggleSortButtonState = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:2002
 Holder_OnClick = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:687
 SortingFadeBags = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:658
 DoMoves = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Sort.lua:883
 NewItemGlowSlotSwitch = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:426
 UnregisterMessage = <function> defined @Interface\AddOns\Masque\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153
 hooks = <table> {
 }
 CommandDecorator = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Sort.lua:980
 TotalSlotsChanged = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:1075
 UpdateSlot = <function> defined =[C]:-1
 SetEnabledState = <function> defined @Interface\AddOns\Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:424
 Hook = <function> defined @Interface\AddOns\ElvUI\Libraries\Core\Ace\AceHook-3.0\AceHook-3.0.lua:274
 ProgressQuickVendor = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:2290
 UpdateLayout = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:1100
 Layout = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:939
 BagFrameHidden = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:442
 BagIndice = <table> {
 }
 ResetAndClear = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:283
 RegisterUpdateDelayed = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Sort.lua:796
 FillBags = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Sort.lua:701
 UnregisterAllEvents = <function> defined @Interface\AddOns\Masque\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174
 REAGENTBANK_PURCHASED = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:782
 SearchSlotUpdate = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:295
 HideItemGlow = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:2133
 GetItemQuestInfo = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:512
 AutoToggle = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:2412
 OpenBags = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:2056
 Initialized = true
 GetName = <function> defined @Interface\AddOns\Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:279
 Slot_OnEnter = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:676
 UpdateTokens = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:1200
 name = "ElvUI_Bags"
 Slot_OnLeave = <function> defined @Interface\AddOns\ElvUI\Core\Modules\Bags\Bags.lua:685
 Disable = <function> defined @Interface\AddOns\Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:314
 REAGENTBANK_SIZE = 98
 BagFrames = <table> {
 }
 SellFrame = ElvUIVendorGraysFrame {
 }
 AssignBagFlagMenu = <function> defined
AddOns:
  KalielsTracker, v4.3.0
  Swatter, v<%version%> (<%codename%>)
  ActionCamPlus, v0.21
  AddOnSkins, v4.58
  AstralKeys, v3.45b
  Auctioneer, v8.3.BETA-4-1 (NzothsFolly)
  AuctioneerStatsOverTime, v8.3.BETA-4-1 (NzothsFolly)
  AuctioneerUtilDealFinder, v8.3.BETA-4-1 (NzothsFolly)
  AuctioneerUtilValuer, v8.3.BETA-4-1 (NzothsFolly)
  AutoBar, v9.1.0.02
  Clique, vv3.1.2
  ConfirmSP, v0.21.01.12
  CopyPasta, v1.1.2
  CopyPasta2, v1.0.8
  CrossGambling, vv3.6
  DataStore, v2021.10.03
  DataStoreRares, v9.1.5-001
  DBMCore, v8110645
  DBMStatusBarTimers, v8110645
  Details, v
  DetailsEncounterDetails, v
  DetailsRaidCheck, v
  DetailsStreamer, v
  DetailsTinyThreat, v
  DetailsVanguard, v
  DungeonTools, v1.1.14
  ElkBuffBars, v2.6.1-198
  ElvUI, v12.62
  ElvUISLE, v4.33
  ExRT, v4600
  FarmHud, v8.8.2-release
  FarmHudQuestArrow, v8.8.2-release
  GatherMate2, v1.46.8
  HandyNotes, vv1.6.4
  HandyNotesShadowlands, v39
  Immersion, v1.3.8
  InFlightLoad, v9.0.002
  InstanceAchievementTracker, v3.34.0
  LeatrixPlus, v9.1.39
  LootAppraiser, vv2.1.0
  Masque, v9.1.5
  MasqueApathy, v9.1.5
  MasqueCaith, v9.1.5
  MasqueCirque, v9.1.5
  MasqueEntropy, v9.1.5
  MasqueFlatSquares, v1.0.8
  MasqueGears, v9.1.5
  MasqueLiteStep, v9.1.5
  MasqueSerenity, v9.1.5
  MouselookHandler, v1.3.13
  MRT, v4600
  MythicDungeonTools, v3.7.2
  Name2Chat, v3.0.1
  NPCScan, v9.0.1.3
  Oilvl, v9.0.5
  Pawn, v2.5.31
  RareScanner, v9.1.6.6
  SharedMediaCausese, v
  Simulationcraft, v9.1.5-01
  Skillet, v4.38
  SlideBar, v<%version%> (<%codename%>)
  Stubby, v8.3.BETA-4-1 (NzothsFolly)
  TalentSetManager, v
  TheUndermineJournal, v5.6.20220122
  TomCats, v2.3.25
  TomTom, vv3.0.3
  VenturePlan, v4.16a
  WeakAuras, v3.7.7
  WorldQuestTracker, v
  WoWthingCollector, v9.1.5.15
  WowUp, v1.0.8
  wowupdataaddon, v1.0.8
  BlizRuntimeLib_enUS v9.1.5.90105 <none>
  (ck=742)

(The error is the same with/without other addons running)

commented

i need you to do this in order,
do /slerror on
reproduce the error, if the error appears again, do /estatus and provide a screenshot of your wow screen and include the 1st error in the stack as well as the window that shows up after doing /estatus

commented

also that error isnt possible as that line was changed like 27 days ago in the commit 807a8af Seems that you need to go in and remove ElvUI_SLE folder from wow and reinstall and ensure to double check the folder for your addons to ensure its the correct wow path that bnet is launching.

commented

image

commented

u didnt do the steps in order btw

commented

I did exactly as your steps stated in exactly the order you said.

My addon is updated automatically from WowUp using the Wago addon source. I will try removing and reinstalling the addon.

commented

u didnt do the first part of /slerror on as it would disable all addons but ElvUI, ElvUI_OptionsUI, & Shadow & Light and the /estatus window would show "Other AddOns Enabled: Plugins" instead of Yes. Either way, the current version of S&L, you can't possibly get that error from S&L as the current version of the file no longer calls that function (which was removed from ElvUI)

commented

It seems there were leftover old library files or something, a delete and reinstall fixed it. I guess WowUp isn't deleting the folder first before installing updates?

commented

couldnt tell you... may want to bring that up with them in their discord?