Bagnon

Bagnon

126M Downloads

Everytime I enable addon I an error and won't show all bags

mjparmentier opened this issue ยท 3 comments

commented

Message: ...terface/AddOns/BagBrother/core/classes/itemGroup.lua:112: attempt to compare number with boolean
Time: Sat Oct 12 15:38:39 2024
Count: 1
Stack: ...terface/AddOns/BagBrother/core/classes/itemGroup.lua:112: attempt to compare number with boolean
[string "@Interface/AddOns/BagBrother/core/classes/itemGroup.lua"]:112: in function Layout' [string "@Interface/AddOns/BagBrother/core/classes/itemGroup.lua"]:32: in function <...terface/AddOns/BagBrother/core/classes/itemGroup.lua:30> [string "=[C]"]: in function Show'
[string "@Interface/AddOns/BagBrother/core/api/frames.lua"]:32: in function Show' [string "@Interface/AddOns/BagBrother/core/api/frames.lua"]:24: in function <Interface/AddOns/BagBrother/core/api/frames.lua:23> [string "=(tail call)"]: ? [string "=(tail call)"]: ? [string "@Interface/AddOns/BagBrother/core/features/autoDisplay.lua"]:83: in function ToggleBag'
[string "@Interface/AddOns/Blizzard_ActionBar/Mainline/MainMenuBarBagButtons.lua"]:79: in function <...lizzard_ActionBar/Mainline/MainMenuBarBagButtons.lua:69>
[string "=[C]"]: ?

Locals: self = Frame {
buttons =

{
}
order =
{
}
frame = BagnonInventory1 {
}
bags =
{
}
}
profile =
{
rules =
{
}
point = "BOTTOMRIGHT"
hiddenBags =
{
}
color =
{
}
sort = true
spacing = 2
bagToggle = true
enabled = true
options = true
money = true
columns = 10
hiddenRules =
{
}
alpha = 1
bagBreak = false
x = -167.200439
strata = "HIGH"
broker = true
y = 460.398773
showBags = true
borderColor =
{
}
lockedSlots =
{
}
}
columns = 10
scale = 1
size = 39
space = 1.300000
revBags = nil
revSlots = nil
x = 10
y = 1
group = 0
(for index) = 2
(for limit) = 6
(for step) = 1
k = 2
frame = Frame {
id = 1
}
bag = 1
numSlots = 34
family = 0
slots =
{
}
(*temporary) = false
(*temporary) = 0
(*temporary) = 0
(*temporary) = 2
(*temporary) = 34
(*temporary) = 0
(*temporary) = 0
(*temporary) = 34
(*temporary) = 0
(*temporary) = "owner"
(*temporary) = nil
(*temporary) = nil
(*temporary) =
{
__super =
{
}
__base =
{
}
OpenSound = 862
__frames =
{
}
__type = "Frame"
__count = 0
FontH = GameFontHighlightLeft {
}
BrokerSpacing = 2
__name = "BagnonFrame"
MoneySpacing = 8
CloseSound = 863
Font = GameFontNormalLeft {
}
__index =
{
}
MoneyFrame =
{
}
BagGroup =
{
}
}
(*temporary) = "attempt to compare number with boolean"

commented

something similar if I understood your problem..

bugsack report:

223x BagBrother/core/classes/itemGroup.lua:112: attempt to compare number with boolean
[string "@BagBrother/core/classes/itemGroup.lua"]:112: in function `Layout'
[string "@BagBrother/core/classes/itemGroup.lua"]:32: in function <BagBrother/core/classes/itemGroup.lua:30>
[string "=[C]"]: in function `Show'
[string "@BagBrother/core/api/frames.lua"]:32: in function `Show'
[string "@BagBrother/core/api/frames.lua"]:24: in function <BagBrother/core/api/frames.lua:23>
[string "=(tail call)"]: ?
[string "@BagBrother/core/features/autoDisplay.lua"]:83: in function `ToggleAllBags'
[string "OPENALLBAGS"]:1: in function <[string "OPENALLBAGS"]:1>

Locals:
self = Frame {
 buttons = <table> {
 }
 order = <table> {
 }
 frame = BagnonInventory1 {
 }
 bags = <table> {
 }
}
profile = <table> {
 rules = <table> {
 }
 point = "TOPRIGHT"
 hiddenBags = <table> {
 }
 color = <table> {
 }
 scale = 1
 hiddenRules = <table> {
 }
 reverseBags = false
 bagBreak = false
 x = -950.001709
 spacing = 10
 borderColor = <table> {
 }
 reverseSlots = false
 y = -133.000732
 columns = 15
 lockedSlots = <table> {
 }
}
columns = 15
scale = 1
size = 47
space = 1.300000
revBags = false
revSlots = false
x = 5
y = 1
group = 0
(for index) = 2
(for limit) = 6
(for step) = 1
k = 2
frame = Frame {
 id = 1
}
bag = 1
numSlots = 32
family = 0
slots = <table> {
}
(*temporary) = false
(*temporary) = 0
(*temporary) = 0
(*temporary) = 2
(*temporary) = 23
(*temporary) = 0
(*temporary) = 0
(*temporary) = 23
(*temporary) = 0
(*temporary) = "owner"
(*temporary) = nil
(*temporary) = nil
(*temporary) = <table> {
 __super = <table> {
 }
 __base = <table> {
 }
 OpenSound = 862
 __frames = <table> {
 }
 __type = "Frame"
 __count = 0
 FontH = GameFontHighlightLeft {
 }
 BrokerSpacing = 2
 __name = "BagnonFrame"
 MoneySpacing = 8
 CloseSound = 863
 Font = GameFontNormalLeft {
 }
 __index = <table> {
 }
 MoneyFrame = <table> {
 }
 BagGroup = <table> {
 }
}
(*temporary) = "attempt to compare number with boolean"

screenshot also:

image

commented

Same issue.

77x BagBrother/core/classes/itemGroup.lua:112: attempt to compare number with boolean
[string "@BagBrother/core/classes/itemGroup.lua"]:112: in function Layout' [string "@BagBrother/core/classes/itemGroup.lua"]:32: in function <BagBrother/core/classes/itemGroup.lua:30> [string "=[C]"]: in function Show'
[string "@BagBrother/core/api/frames.lua"]:32: in function Show' [string "@BagBrother/core/api/frames.lua"]:24: in function <BagBrother/core/api/frames.lua:23> [string "=[C]"]: in function ?'
[string "@BagBrother/core/features/autoDisplay.lua"]:18: in function <...faceBagBrother/core/features/autoDisplay.lua:18>
[string "@BagBrother/core/features/autoDisplay.lua"]:83: in function `ToggleAllBags'
[string "OPENALLBAGS"]:1: in function <[string "OPENALLBAGS"]:1>

Locals:
self = Frame {
buttons =

{
}
order =
{
}
frame = BagnonInventory1 {
}
bags =
{
}
}
profile =
{
enabled = true
rules =
{
}
point = "BOTTOMRIGHT"
hiddenBags =
{
}
color =
{
}
reverseBags = false
hiddenRules =
{
}
broker = true
y = 0
x = 0
bagBreak = false
borderColor =
{
}
reverseSlots = false
showBags = true
columns = 13
lockedSlots =
{
}
}
columns = 13
scale = 1
size = 39
space = 1.300000
revBags = false
revSlots = false
x = 7
y = 1
group = 0
(for index) = 2
(for limit) = 6
(for step) = 1
k = 2
frame = Frame {
id = 1
}
bag = 1
numSlots = 36
family = 0
slots =
{
}
(*temporary) = false
(*temporary) = 0
(*temporary) = 0
(*temporary) = 2
(*temporary) = 0
(*temporary) = 0
(*temporary) = 0
(*temporary) = 0
(*temporary) = 0
(*temporary) = "owner"
(*temporary) = nil
(*temporary) = nil
(*temporary) =
{
__super =
{
}
__base =
{
}
OpenSound = 862
__frames =
{
}
__type = "Frame"
__count = 0
FontH = GameFontHighlightLeft {
}
BrokerSpacing = 2
__name = "BagnonFrame"
MoneySpacing = 8
CloseSound = 863
Font = GameFontNormalLeft {
}
__index =
{
}
MoneyFrame =
{
}
BagGroup =
{
}
}
(*temporary) = "attempt to compare number with boolean"

commented

I had something similar. I'm 90% sure it was due to using the all-in-one bag in the default Blizzard UI. I was able to solve it with the following steps:

  1. Login with Bagnon, BagBrother (and Baggins) disabled
  2. Open normal bag interface configuration and siable the all-in-one bag
    3_ logout
  3. reenable bagnon etc.