Convert Ratings

Convert Ratings

80.6k Downloads

The following error occurred recently

BlueNightSky opened this issue · 8 comments

commented

The following error occurred recently:
9x ConvertRatings\ConvertRatings-2.0.1.lua:426: attempt to perform arithmetic on local 'eqstvers' (a nil value) [string "@ConvertRatings\ConvertRatings-2.0.1.lua"]:426: in function <ConvertRatings\ConvertRatings.lua:214> [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: ? [string "@!Ace3\AceHook-3.0\AceHook-3.0-9.lua"]:95: in function <!Ace3\AceHook-3.0\AceHook-3.0.lua:87> [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: in function SetAction'
[string "@bartender4\libs\LibActionButton-1.0\LibActionButton-1.0-80.lua"]:1535: in function `SetTooltip'
[string "@bartender4\libs\LibActionButton-1.0\LibActionButton-1.0-80.lua"]:1302: in function <...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:1295>
[string "@bartender4\libs\LibActionButton-1.0\LibActionButton-1.0-80.lua"]:519: in function <...er4\libs\LibActionButton-1.0\LibActionButton-1.0.lua:517>

Locals:
self = GameTooltip {
BottomLeftCorner = {
}
OnBackdropLoaded = defined @SharedXML\Backdrop.lua:195
SetPvpTalent = defined =[C]:-1
GetBackdropColor = defined @TinyTooltip\Core.lua:858
SetHyperlink = defined =[C]:-1
RightEdge = {
}
ClearBackdrop = defined @SharedXML\Backdrop.lua:325
style = {
}
SetLootItem = defined =[C]:-1
numMoneyFrames = 4
SetRecipeReagentItem = defined =[C]:-1
SetBuybackItem = defined =[C]:-1
SetCurrencyTokenByID = defined =[C]:-1
SetupTextureCoordinates = defined @SharedXML\Backdrop.lua:257
BottomOverlay = {
}
SetTalent = defined =[C]:-1
GetEdgeSize = defined @SharedXML\Backdrop.lua:231
updateTooltip = 0.154000
SetCompanionPet = defined =[C]:-1
TopEdge = {
}
SetLootRollItem = defined =[C]:-1
SetBagItem = defined =[C]:-1
shownMoneyFrames = 2
BottomRightCorner = {
}
SetBackdropColor = defined @SharedXML\Backdrop.lua:442
LeftEdge = {
}
backdropInfo =

{
}
SetCurrencyByID = defined =[C]:-1
SetUnitBuff = defined =[C]:-1
textLeft1Font = "GameTooltipHeaderText"
SetCurrencyToken = defined =[C]:-1
SetGuildBankItem = defined =[C]:-1
hasMoney = 1
SetBackdropBorderColor = defined @SharedXML\Backdrop.lua:465
0 =
Hide = defined =[C]:-1
ItemTooltip = {
}
SetMerchantItem = defined =[C]:-1
SetArtifactPowerByID = defined =[C]:-1
textRight2Font = "GameTooltipText"
TopRightCorner = {
}
ApplyBackdrop = defined @SharedXML\Backdrop.lua:337
SetBackdrop = defined @SharedXML\Backdrop.lua:372
SetSpellByID = defined =[C]:-1
TopOverlay = {
}
GetBackdropBorderColor = defined @TinyTooltip\Core.lua:859
GetBackdrop = defined @TinyTooltip\Core.lua:857
SetUnitDebuff = defined =[C]:-1
SetItemByID = defined =[C]:-1
SetInventoryItem = defined =[C]:-1
SetQuestItem = defined =[C]:-1
SetAction = defined =[C]:-1
SetBorderBlendMode = defined @SharedXML\Backdrop.lua:309
SetToyByItemID = defined =[C]:-1
HasBackdropInfo = defined @SharedXML\Backdrop.lua:321
comparing = false
TopLeftCorner = {
}
SetInboxItem = defined =[C]:-1
SetTrainerService = defined =[C]:-1
shoppingTooltips =
{
}
SetHeirloomByItemID = defined =[C]:-1
SetExistingSocketGem = defined =[C]:-1
SetQuestLogItem = defined =[C]:-1
OnBackdropSizeChanged = defined @SharedXML\Backdrop.lua:225
SetTradeTargetItem = defined =[C]:-1
TextRight1 = GameTooltipTextRight1 {
}
SetTradePlayerItem = defined =[C]:-1
textRight1Font = "GameTooltipHeaderText"
SetSendMailItem = defined =[C]:-1
SetRecipeRankInfo = defined =[C]:-1
BottomEdge = {
}
textLeft2Font = "GameTooltipText"
model = {
}
TextRight2 = GameTooltipTextRight2 {
}
TextLeft2 = GameTooltipTextLeft2 {
}
SetUnitAura = defined @ShinyBuffs\ShinyBuffs.lua:219
TextLeft1 = GameTooltipTextLeft1 {
}
SetItemKey = defined =[C]:-1
needsReset = true
SetupPieceVisuals = defined @SharedXML\Backdrop.lua:289
Center = {
}
BigFactionIcon = {
}
SetRecipeResultItem = defined =[C]:-1
}
name = ""
itemLink = "|cff0070dd|Hitem:180116::::::::60:263::1:4:6805:40:1472:4785:1:28:2044:::|h[超載的靈魄電池]|h|r"
rawcrit = nil
rawhaste = nil
rawmastery = nil
rawvers = nil
stats =
{
ITEM_MOD_CR_AVOIDANCE_SHORT = 30
ITEM_MOD_AGILITY_SHORT = 41
}
rawl`

commented
commented

So this error is throwing stuff referencing Ace functions. I don't use any Ace functions in my code. I see references to the addons Bartender, ShinyBuffs, and TinyTooltip. Try disabling those one by one and see if the error persists.

commented

Shiny Buffs hasn't been updated for Shadowlands, so I'm thinking that may be the culprit.

commented

I am traveling now and will not be home until tomorrow. I will try to close Shiny Buffs and see if there are any errors. thanks!

I tried to disable ShinyBuffs and TinyTooltip, the same error still appears, but the frequency is relatively low.

commented

Currently running 2.0.2 and I just noticed this error when I moused over a trinket in my character sheet. The error also occurred when I moused over a trinket in my bags.
Taking a page from your comment above I noticed that TradeSkillMaster, SetCollector, and Vendor were listed in my version of the error, so I disabled all three; error still occurs. However, the error only seems to occur on my Horde character. I logged into my Alliance character and no error occurred when I moused over one of their trinkets.

21x ConvertRatings\ConvertRatings-2.0.2.lua:426: attempt to perform arithmetic on local 'eqstvers' (a nil value)
[string "@ConvertRatings\ConvertRatings-2.0.2.lua"]:426: in function <ConvertRatings\ConvertRatings.lua:214>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function ?' [string "@SetCollector\Tooltips.lua"]:116: in function <SetCollector\Tooltips.lua:52> [string "=[C]"]: ? [string "=[C]"]: ? ... [string "=[C]"]: ? [string "=[C]"]: ? [string "=[C]"]: ? [string "@TradeSkillMaster\LibTSM\Service\ItemTooltipClasses\Wrapper.lua"]:98: in function <...Master\LibTSM\Service\ItemTooltipClasses\Wrapper.lua:96> [string "=[C]"]: ? [string "=[C]"]: ? [string "@Vendor\sys\hook.lua"]:95: in function <Vendor\sys\hook.lua:91> [string "=[C]"]: in function SetInventoryItem'
[string "@FrameXML\PaperDollFrame.lua"]:1660: in function `PaperDollItemSlotButton_OnEnter'
[string ":OnEnter"]:1: in function <[string ":OnEnter"]:1>

Locals:
self = GameTooltip {
0 =
SetText = defined =[C]:-1
OnBackdropLoaded = defined @SharedXML\Backdrop.lua:195
ItemTooltip = {
}
SetHyperlink = defined =[C]:-1
RightEdge = {
}
SetVoidWithdrawalItem = defined @TradeSkillMaster\LibTSM\Service\ItemTooltipClasses\Wrapper.lua:96
SetSocketGem = defined =[C]:-1
ClearBackdrop = defined @SharedXML\Backdrop.lua:325
Show = defined =[C]:-1
default = 1
SetLFGDungeonReward = defined @AllTheThings\AllTheThings.lua:4990
FadeOut = defined =[C]:-1
numMoneyFrames = 1
SetRecipeReagentItem = defined =[C]:-1
SetBuybackItem = defined =[C]:-1
SetMerchantItem = defined =[C]:-1
SetupTextureCoordinates = defined @SharedXML\Backdrop.lua:257
TopRightCorner = {
}
ttIcon = {
}
GetEdgeSize = defined @SharedXML\Backdrop.lua:231
updateTooltip = 0.128000
SetInventoryItem = defined =[C]:-1
TopEdge = {
}
ttCount = {
}
SetLootRollItem = defined =[C]:-1
SetAction = defined =[C]:-1
SetAuctionSellItem = defined =[C]:-1
SetBagItem = defined =[C]:-1
hasMoney = 1
BottomRightCorner = {
}
SetBackdropColor = defined @SharedXML\Backdrop.lua:442
LeftEdge = {
}
SetAuctionItem = defined =[C]:-1
shownMoneyFrames = 1
SetCurrencyByID = defined @AllTheThings\AllTheThings.lua:4944
SetQuestLogItem = defined =[C]:-1
comparing = false
CIMI_tooltipWritten = false
SetTrainerService = defined =[C]:-1
AttachComplete = true
textLeft1Font = "GameTooltipHeaderText"
AllTheThingsProcessing = true
SetCurrencyToken = defined @Altoholic\Tooltip.lua:725
SetGuildBankItem = defined =[C]:-1
SetVoidItem = defined @TradeSkillMaster\LibTSM\Service\ItemTooltipClasses\Wrapper.lua:96
TopLeftCorner = {
}
Hide = defined =[C]:-1
SetOwner = defined =[C]:-1
SetHeirloomByItemID = defined =[C]:-1
shoppingTooltips =

{
}
SetIconTextureAndText = defined @TipTacItemRef\ttItemRef.lua:62
textRight2Font = "GameTooltipText"
BottomEdge = {
}
ApplyBackdrop = defined @SharedXML\Backdrop.lua:337
SetBackdrop = defined @SharedXML\Backdrop.lua:372
SetUnitBuff = defined =[C]:-1
TopOverlay = {
}
GetBackdropBorderColor = defined @SharedXML\Backdrop.lua:452
GetBackdrop = defined @SharedXML\Backdrop.lua:390
SetUnitDebuff = defined =[C]:-1
SetItemByID = defined =[C]:-1
SetBackpackToken = defined =[C]:-1
SetQuestItem = defined =[C]:-1
SetExistingSocketGem = defined =[C]:-1
SetBorderBlendMode = defined @SharedXML\Backdrop.lua:309
SetToyByItemID = defined =[C]:-1
ttGradient = {
}
SetMerchantCostItem = defined =[C]:-1
SetInboxItem = defined =[C]:-1
SetVoidDepositItem = defined @TradeSkillMaster\LibTSM\Service\ItemTooltipClasses\Wrapper.lua:96
TextLeft1 = GameTooltipTextLeft1 {
}
BottomLeftCorner = {
}
SetLFGDungeonShortageReward = defined @AllTheThings\AllTheThings.lua:5007
Center = {
}
OnBackdropSizeChanged = defined @SharedXML\Backdrop.lua:225
SetTradeTargetItem = defined =[C]:-1
TextRight1 = GameTooltipTextRight1 {
}
SetTradePlayerItem = defined =[C]:-1
textRight1Font = "GameTooltipHeaderText"
SetSendMailItem = defined =[C]:-1
GetBackdropColor = defined @SharedXML\Backdrop.lua:433
HasBackdropInfo = defined

commented

Getting same error too. It is not showing % on my rings or trinkets.

11x ConvertRatings\ConvertRatings-2.0.2.lua:426: attempt to perform arithmetic on local 'eqstvers' (a nil value)
[string "@ConvertRatings\ConvertRatings-2.0.2.lua"]:426: in function <ConvertRatings\ConvertRatings.lua:214>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function SetInventoryItem' [string "@FrameXML\PaperDollFrame.lua"]:1660: in function PaperDollItemSlotButton_OnEnter'
[string ":OnEnter"]:1: in function <[string ":OnEnter"]:1>

Locals:
self = GameTooltip {
BottomLeftCorner = {
}
SetText = defined =[C]:-1
OnBackdropLoaded = defined @SharedXML\Backdrop.lua:195
GetBackdropColor = defined @SharedXML\Backdrop.lua:433
SetHyperlink = defined =[C]:-1
RightEdge = {
}
ClearBackdrop = defined @SharedXML\Backdrop.lua:325
SetLootItem = defined =[C]:-1
numMoneyFrames = 2
SetRecipeReagentItem = defined =[C]:-1
SetBuybackItem = defined =[C]:-1
SetMerchantItem = defined =[C]:-1
SetupTextureCoordinates = defined @SharedXML\Backdrop.lua:257
BottomOverlay = {
}
GetEdgeSize = defined @SharedXML\Backdrop.lua:231
updateTooltip = 0.178000
SetInventoryItem = defined =[C]:-1
TopEdge = {
}
SetLootRollItem = defined =[C]:-1
CIMI_tooltipWritten = false
SetBagItem = defined =[C]:-1
BottomRightCorner = {
}
SetBackdropColor = defined @SharedXML\Backdrop.lua:442
LeftEdge = {
}
ZGV_ShowManyLines = defined @ZygorGuidesViewer\Functions.lua:353
textLeft1Font = "GameTooltipHeaderText"
SetCurrencyToken = defined @Altoholic\Tooltip.lua:725
SetGuildBankItem = defined =[C]:-1
hasMoney = 1
SetBackdropBorderColor = defined @SharedXML\Backdrop.lua:465
TextRight1 = GameTooltipTextRight1 {
}
BottomEdge = {
}
SetBackdrop = defined @SharedXML\Backdrop.lua:372
shownMoneyFrames = 1
TopOverlay = {
}
GetBackdropBorderColor = defined @SharedXML\Backdrop.lua:452
GetBackdrop = defined @SharedXML\Backdrop.lua:390
SetUnitDebuff = defined =[C]:-1
SetItemByID = defined =[C]:-1
HasBackdropInfo = defined @SharedXML\Backdrop.lua:321
SetQuestItem = defined =[C]:-1
comparing = false
SetBorderBlendMode = defined @SharedXML\Backdrop.lua:309
SetToyByItemID = defined =[C]:-1
SetUnitBuff = defined =[C]:-1
ApplyBackdrop = defined @SharedXML\Backdrop.lua:337
SetInboxItem = defined =[C]:-1
SetBackpackToken = defined =[C]:-1
shoppingTooltips =

{
}
SetCurrencyTokenByID = defined =[C]:-1
0 =
Center = {
}
OnBackdropSizeChanged = defined @SharedXML\Backdrop.lua:225
SetTradeTargetItem = defined =[C]:-1
textRight2Font = "GameTooltipText"
SetTradePlayerItem = defined =[C]:-1
textRight1Font = "GameTooltipHeaderText"
SetSendMailItem = defined =[C]:-1
StatusBar = GameTooltipStatusBar {
}
ItemTooltip = {
}
textLeft2Font = "GameTooltipText"
TopLeftCorner = {
}
TextRight2 = GameTooltipTextRight2 {
}
TextLeft2 = GameTooltipTextLeft2 {
}
SetUnitAura = defined =[C]:-1
SetQuestLogItem = defined =[C]:-1
TextLeft1 = GameTooltipTextLeft1 {
}
needsReset = true
SetupPieceVisuals = defined @SharedXML\Backdrop.lua:289
backdropInfo =
{
}
TopRightCorner = {
}
SetRecipeResultItem = defined @Altoholic\Tooltip.lua:725
}
name = "Ritual Bone Band"
itemLink = "|cff0070dd|Hitem:178870:6167:::::::60:264::1:5:6805:6652:7194:1472:4785:1:28:2044:::|h[Ritual Bone Band]|h|r"
rawcrit = nil
rawhaste = nil
rawmastery = 32
rawvers = 71
stats =
{
ITEM_MOD_MASTERY_RATING_SHORT = 32
ITEM_MOD_VERSATILITY = 71
ITEM_MOD_STAMINA_SHORT = 39
}
rawleech = nil
rawavoid = nil
rawspeed = nil
hexcolor = nil
oldmastery = 266
newsomastery = 234
newstmastery = nil
oldcrit = 235
newsocrit = nil
newstcrit = 183
oldhaste = 325
newsohaste = nil
newsthaste = 252
oldvers = 334
newsovers = 263
newstvers = nil
oldavoid = 52
newsoavoid = nil
newstavoid = nil
oldspeed = 0
newsospeed = nil
newstspeed = nil
old

commented

So I think I found the error, hopefully this should be resolved in v2.0.3

commented

well not v2.0.3, but hopefully v2.0.4 fixes it