Rarity

Rarity

17M Downloads

Script errors caused by the LibQTip library

iron217 opened this issue · 1 comments

commented

while the buggrabber was fishing I caught these errors; I don’t know how to reproduce it so I didn’t use addon at the moment

692 ruru client

1

1x ...Ons\AckisRecipeList\libs\LibQTip-1.0\LibQTip-1.0-46.lua:334: script ran too long
...Ons\AckisRecipeList\libs\LibQTip-1.0\LibQTip-1.0-46.lua:334: in function `SetupCell'
...Ons\AckisRecipeList\libs\LibQTip-1.0\LibQTip-1.0-46.lua:1028: in function <...Ons\AckisRecipeList\libs\LibQTip-1.0\LibQTip-1.0.lua:930>
...Ons\AckisRecipeList\libs\LibQTip-1.0\LibQTip-1.0-46.lua:1092: in function <...Ons\AckisRecipeList\libs\LibQTip-1.0\LibQTip-1.0.lua:1058>
(tail call): ?
Rarity\Core.lua:3946: in function <Rarity\Core.lua:3693>
Rarity\Core.lua:4110: in function `ShowTooltip'
Rarity\Core.lua:894: in function `func'
...s\AckisRecipeList\libs\AceTimer-3.0\AceTimer-3.0-17.lua:57: in function <...s\AckisRecipeList\libs\AceTimer-3.0\AceTimer-3.0.lua:50>

Locals:
self = <unnamed> {
0 = <userdata>
_font = GameTooltipText {
}
_column = 7
_provider = <table> {
}
_justification = "CENTER"
_line = 510
_colSpan = 1
fontString = <unnamed> {
}
}
tooltip = <unnamed> {
0 = <userdata>
regularFont = GameTooltipText {
}
columns = <table> {
}
scrollChild = <unnamed> {
}
colspans = <table> {
}
autoHideTimerFrame = <unnamed> {
}
width = 969.487383
headerFont = GameTooltipHeaderText {
}
cell_margin_h = 6
key = "RarityTooltip"
cell_margin_v = 3
height = 7591.991153
labelProvider = <table> {
}
lines = <table> {
}
scrollFrame = <unnamed> {
}
}
value = "|cff7f7f7f|r"
justification = "CENTER"
font = GameTooltipText {
0 = <userdata>
}
leftPadding = 0
rightPadding = 0
maxWidth = nil
minWidth = nil
fontString = <unnamed> {
0 = <userdata>
}
line = <unnamed> {
cells = <table> {
}
height = 11.946668
0 = <userdata>
}
width = 0
height = 11.946668
(*temporary) = <function> defined =[C]:-1
(*temporary) = <unnamed> {
0 = <userdata>
}
(*temporary) = "BOTTOMRIGHT"
(*temporary) = <unnamed> {
0 = <userdata>
_font = GameTooltipText {
}
_column = 7
_provider = <table> {
}
_justification = "CENTER"
_line = 510
_colSpan = 1
fontString = <unnamed> {
}
}
(*temporary) = "BOTTOMRIGHT"
(*temporary) = 0
(*temporary) = 0
(*temporary) = "script ran too long"

2

1x ...Ons\AckisRecipeList\libs\LibQTip-1.0\LibQTip-1.0-46.lua:342: attempt to perform arithmetic on field '_paddingL' (a nil value)
...Ons\AckisRecipeList\libs\LibQTip-1.0\LibQTip-1.0-46.lua:342: in function `getContentHeight'
...Ons\AckisRecipeList\libs\LibQTip-1.0\LibQTip-1.0-46.lua:919: in function <...Ons\AckisRecipeList\libs\LibQTip-1.0\LibQTip-1.0.lua:865>
...Ons\AckisRecipeList\libs\LibQTip-1.0\LibQTip-1.0-46.lua:210: in function <...Ons\AckisRecipeList\libs\LibQTip-1.0\LibQTip-1.0.lua:206>

Locals:
self = <unnamed> {
0 = <userdata>
_font = GameTooltipText {
}
_column = 7
_provider = <table> {
}
_justification = "CENTER"
_line = 510
_colSpan = 1
fontString = <unnamed> {
}
}
fontString = <unnamed> {
0 = <userdata>
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = <unnamed> {
0 = <userdata>
}
(*temporary) = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on field '_paddingL' (a nil value)"
commented

Thanks, this has been reported multiple times but I'm not sure it's something I can fix. I'm not the author of said library and I doubt it can be easily replaced at this point without fundamentally rewriting the addon's core.