Bagnon

Bagnon

124M Downloads

LUA error related to SetChecked when opening/closing bags in 8.1.5

raysmith59 opened this issue ยท 4 comments

commented

Running Software (please complete the following information):

  • Game: 8.1.5
  • Bagnon: 8.1.6

Describe the bug
LUA errors whenever opening or closing my bags.

Error Logs
15x ...s\Bagnon\external\Wildpants\components\inventory.lua:22: attempt to call method 'SetChecked' (a nil value)
...s\Bagnon\external\Wildpants\components\inventory.lua:22: in function CheckBagButtons' ...s\Bagnon\external\Wildpants\components\inventory.lua:13: in function <...s\Bagnon\external\Wildpants\components\inventory.lua:11> [C]: ? [C]: in function Show'
FrameXML\UIParent.lua:3166: in function <FrameXML\UIParent.lua:3161>
[C]: in function ShowUIPanel' ...aceBagnon\external\Wildpants\core\frames.lua:55: in function ShowFrame'
...s\Bagnon\external\Wildpants\features\autoDisplay.lua:166: in function <...s\Bagnon\external\Wildpants\features\autoDisplay.lua:165>
[C]: in function OpenAllBags' FrameXML\MailFrame.lua:63: in function <FrameXML\MailFrame.lua:50> [C]: in function TurnOrActionStop'
[string "TURNORACTION"]:4: in function <[string "TURNORACTION"]:1>

Locals:
self = BagnonFrameinventory {
frameID = "inventory"
searchToggle = {
}
moneyFrame = BagnonFrameinventoryMoneyFrame {
}
sortButton = {
}
searchFrame = {
}
brokerDisplay = {
}
itemFrame = {
}
0 =
profile =

{
}
closeButton = BagnonFrameinventoryCloseButton {
}
optionsToggle = {
}
titleFrame = {
}
bagToggle = {
}
ownerSelector = {
}
menuButtons =
{
}
quality = 0
}
checked = true
(*temporary) = nil
(*temporary) = MainMenuBarBackpackButton {
0 =
PostOnLoad = defined @FrameXML\ItemButtonTemplate.lua:169
animIcon = {
}
ItemContextOverlay = {
}
PostOnShow = defined @FrameXML\ItemButtonTemplate.lua:189
GetItemContextMatchResult = defined @FrameXML\MainMenuBarBagButtons.lua:5
IconBorder = {
}
Count = MainMenuBarBackpackButtonCount {
}
icon = MainMenuBarBackpackButtonIconTexture {
}
MAParent = "BagButtonsMover"
flyin = {
}
SetMatchesSearch = defined @FrameXML\ItemButtonTemplate.lua:202
UpdateItemContextOverlay = defined @FrameXML\ItemButtonTemplate.lua:222
GetBagID = defined @FrameXML\MainMenuBarBagButtons.lua:9
itemContextChangedCallbackIsSet = false
itemContextMatchResult = 3
itemContextChangedCallback = defined @FrameXML\ItemButtonTemplate.lua:170
RegisterCallback = defined @FrameXML\ItemButtonTemplate.lua:175
SlotHighlightTexture = {
}
IconOverlay = {
}
UnregisterCallback = defined @FrameXML\ItemButtonTemplate.lua:182
UpdateItemContextMatching = defined @FrameXML\ItemButtonTemplate.lua:211
searchOverlay = MainMenuBarBackpackButtonSearchOverlay {
}
GetMatchesSearch = defined @FrameXML\ItemButtonTemplate.lua:207
freeSlots = 57
PostOnHide = defined @FrameXML\ItemButtonTemplate.lua:198
}
(*temporary) = true
(*temporary) = "attempt to call method 'SetChecked' (a nil value)"

commented

@raysmith59 button issue? what it is exactly? Clicking the backpack buttons on the main bar menu? with the lines I edited everything is working

commented

You can check the Issue#885 I posted an "edit/fix" while they release an official fix.

commented

Yeah, I'd commented out lines 13 and 18 in inventory.lua and 187 and 188 in autoDisplay.LUA but hadn't updated my issues yet, those get rid of the LUA errors but don't actually fix the button issue.

commented

Tuller has a pull request in the Wildpants submodule that fixes any WoW patch 8.1.5 issues. So whenever Jaliborc gets time to review it, Bagnon will be updated for 8.1.5.