Plumber

Plumber

4M Downloads

Lua error

KatyPurry opened this issue ยท 1 comments

commented

Hello,

I have some Lua errors. I'm using the version 1.4.6 :

Message: bad argument #1 to '?' (Usage: local icon = C_Item.GetItemIconByID(itemInfo))
Time: Sat Oct 26 00:22:34 2024
Count: 1
Stack: bad argument #1 to '?' (Usage: local icon = C_Item.GetItemIconByID(itemInfo))
[string "@Interface/AddOns/Plumber/Modules/SharedWidgets.lua"]:1476: in function `SetItem'
[string "@Interface/AddOns/Plumber/Modules/QuickSlot.lua"]:501: in function `SetButtonData'
[string "@Interface/AddOns/Plumber/Modules/AzerothianArchives.lua"]:164: in function `UpdateQuickSlot'
[string "@Interface/AddOns/Plumber/Modules/AzerothianArchives.lua"]:115: in function <...erface/AddOns/Plumber/Modules/AzerothianArchives.lua:108>

Locals: self = Button {
 PixelSnapDisabled = true
 Icon = Texture {
 }
 PushedTexture = Texture {
 }
 Count = FontString {
 }
 NormalTexture = Texture {
 }
 HighlightTexture = Texture {
 }
}
item = <table> {
 1 = 202247
}
icon = nil
Message: Interface/AddOns/Plumber/Modules/QuickSlot.lua:604: attempt to perform arithmetic on local 'trackIndex' (a nil value)
Time: Sat Oct 26 00:23:56 2024
Count: 1
Stack: Interface/AddOns/Plumber/Modules/QuickSlot.lua:604: attempt to perform arithmetic on local 'trackIndex' (a nil value)
[string "@Interface/AddOns/Plumber/Modules/QuickSlot.lua"]:604: in function `SetFrameLayout'
[string "@Interface/AddOns/Plumber/Modules/QuickSlot.lua"]:921: in function `ShowUI'
[string "@Interface/AddOns/Plumber/Modules/AzerothianArchives.lua"]:165: in function `UpdateQuickSlot'
[string "@Interface/AddOns/Plumber/Modules/AzerothianArchives.lua"]:192: in function <...erface/AddOns/Plumber/Modules/AzerothianArchives.lua:177>

Locals: self = Frame {
 numActiveButtons = 1
 systemName = "technoscryers"
 PixelSnapDisabled = true
 SpellCastOverlay = Frame {
 }
 buttonData = <table> {
 }
 side = 1
 SpellXButton = <table> {
 }
 spellcastType = 1
 Buttons = <table> {
 }
 Header = FontString {
 }
}
layoutIndex = 2
buttonSize = 46
buttonGap = 8
radius = 368
track0Radius = 368
gapArc = 54
fromRadian = 0
radianGap = 0.146739
radian = nil
x = nil
y = nil
cx = 1034.343384
cy = 581.818176
trackIndex = nil
(for state) = <table> {
 1 = Button {
 }
}
(for control) = 1
i = 1
button = Button {
 PixelSnapDisabled = true
 Icon = Texture {
 }
 PushedTexture = Texture {
 }
 Count = FontString {
 }
 NormalTexture = Texture {
 }
 HighlightTexture = Texture {
 }
}
(*temporary) = nil
(*temporary) = Button {
 PixelSnapDisabled = true
 Icon = Texture {
 }
 PushedTexture = Texture {
 }
 Count = FontString {
 }
 NormalTexture = Texture {
 }
 HighlightTexture = Texture {
 }
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on local 'trackIndex' (a nil value)"
Positioner = Frame {
 alpha = 0
 buttonSize = 46
 fromRadian = 0
 buttonGap = 8
}
UIParent = UIParent {
 variablesLoaded = true
 Tabs = <table> {
 }
 PixelSnapDisabled = true
 firstTimeLoaded = 1
}
math = <table> {
 huge = Infinite
 pi = 3.141593
}
Message: Interface/AddOns/Plumber/Modules/QuickSlot.lua:421: attempt to compare nil with number
Time: Sat Oct 26 00:23:56 2024
Count: 1
Stack: Interface/AddOns/Plumber/Modules/QuickSlot.lua:421: attempt to compare nil with number
[string "@Interface/AddOns/Plumber/Modules/QuickSlot.lua"]:421: in function `SetHeaderText'
[string "@Interface/AddOns/Plumber/Modules/AzerothianArchives.lua"]:170: in function `UpdateQuickSlot'
[string "@Interface/AddOns/Plumber/Modules/AzerothianArchives.lua"]:192: in function <...erface/AddOns/Plumber/Modules/AzerothianArchives.lua:177>

Locals: self = Frame {
 systemName = "technoscryers"
 PixelSnapDisabled = true
 highContrastMode = false
 buttonData = <table> {
 }
 spellcastType = 1
 numActiveButtons = 1
 side = 1
 Buttons = <table> {
 }
 SpellCastOverlay = Frame {
 }
 Header = FontString {
 }
 SpellXButton = <table> {
 }
}
text = "Divinobidules"
transparentText = true
textWidth = 58.606064
(*temporary) = nil
(*temporary) = 60.606064
(*temporary) = 0.250000
(*temporary) = 0
(*temporary) = "attempt to compare nil with number"
Header = FontString {
}
HeaderShadow = Texture {
 PixelSnapDisabled = true
}
API = <table> {
 DreamseedUtil = <table> {
 }
}
QuickSlot = Frame {
 systemName = "technoscryers"
 PixelSnapDisabled = true
 highContrastMode = false
 buttonData = <table> {
 }
 spellcastType = 1
 numActiveButtons = 1
 side = 1
 Buttons = <table> {
 }
 SpellCastOverlay = Frame {
 }
 Header = FontString {
 }
 SpellXButton = <table> {
 }
}
commented

Thanks for the report!
It's been fixed in the latest update.