attempt to perform arithmetic on field error
Duststormz opened this issue ยท 3 comments
14x ...PetTracker/addons/main/classes/tracking/textLine.lua:53: attempt to perform arithmetic on field 'r' (a table value)
[string "@PetTracker/addons/main/classes/tracking/textLine.lua"]:53: in function HighlightColor' [string "@PetTracker/addons/main/classes/tracking/textLine.lua"]:32: in function <...PetTracker/addons/main/classes/tracking/textLine.lua:21> [string "=(tail call)"]: ? [string "@PetTracker/addons/main/classes/tracking/textList.lua"]:29: in function
Add'
[string "@!KalielsTracker/Modules/Addon_PetTracker.lua"]:72: in function AddSpecie' [string "@PetTracker/addons/main/classes/tracking/tracker.lua"]:58: in function
AddSpecies'
[string "@!KalielsTracker/Modules/Addon_PetTracker.lua"]:61: in function Update' [string "@!KalielsTracker/Modules/Addon_PetTracker.lua"]:53: in function
?'
[string "@PetTracker/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:119: in function <...ker/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@PetTracker/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:29: in function <...ker/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25>
[string "@PetTracker/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:64: in function `Fire'
[string "@PetTracker/libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <PetTracker/libs/AceEvent-3.0/AceEvent-3.0.lua:119>
Also getting this error, here it is again for legibility.
397x ...PetTracker/addons/main/classes/tracking/textLine.lua:53: attempt to perform arithmetic on field 'r' (a table value)
[string "@PetTracker/addons/main/classes/tracking/textLine.lua"]:53: in function `HighlightColor'
[string "@PetTracker/addons/main/classes/tracking/textLine.lua"]:32: in function <...PetTracker/addons/main/classes/tracking/textLine.lua:21>
[string "=(tail call)"]: ?
[string "@PetTracker/addons/main/classes/tracking/textList.lua"]:29: in function `Add'
[string "@!KalielsTracker/Modules/Addon_PetTracker.lua"]:72: in function `AddSpecie'
[string "@PetTracker/addons/main/classes/tracking/tracker.lua"]:58: in function `AddSpecies'
[string "@!KalielsTracker/Modules/Addon_PetTracker.lua"]:61: in function `Update'
[string "@!KalielsTracker/Modules/Addon_PetTracker.lua"]:53: in function `?'
[string "@PetTracker/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:119: in function <...ker/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@PetTracker/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:29: in function <...ker/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25>
[string "@PetTracker/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:64: in function `SendMessage'
[string "@PetTracker/libs/WildAddon-1.0-1/WildAddon-1.0.lua"]:83: in function `func'
[string "@PetTracker/libs/MutexDelay-1.0-2/MutexDelay-1.0.lua"]:36: in function <...ns/PetTracker/libs/MutexDelay-1.0/MutexDelay-1.0.lua:30>
After getting this error, I modified the addon so to set r,g,b as 1,1,1 so that they were integers instead of tables, this produced a new error, of note here is that I have not been able to get PetTracker to work while Kaliel's Tracker is enabled for a long time.
55x ...s/!KalielsTracker/Core/Blizzard_ObjectiveTracker.lua:1096: Action[SetPoint] failed because[Cannot anchor to a region dependent on it]: attempted from: Frame:SetPoint.
[string "=[C]"]: in function `SetPoint'
[string "@!KalielsTracker/Core/Blizzard_ObjectiveTracker.lua"]:1096: in function <...s/!KalielsTracker/Core/Blizzard_ObjectiveTracker.lua:1077>
[string "@!KalielsTracker/Core/Blizzard_ObjectiveTracker.lua"]:1500: in function <...s/!KalielsTracker/Core/Blizzard_ObjectiveTracker.lua:1479>
[string "@!KalielsTracker/KalielsTracker.lua"]:1692: in function `KT_ObjectiveTracker_ReorderModules'
[string "@!KalielsTracker/Core/Blizzard_ObjectiveTracker.lua"]:1421: in function <...s/!KalielsTracker/Core/Blizzard_ObjectiveTracker.lua:1355>
[string "@!KalielsTracker/KalielsTracker.lua"]:733: in function `KT_ObjectiveTracker_Update'
[string "@!KalielsTracker/Modules/Addon_PetTracker.lua"]:56: in function `?'
[string "@PetTracker/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:119: in function <...ker/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@PetTracker/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:29: in function <...ker/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:25>
[string "@PetTracker/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:64: in function `SendMessage'
[string "@PetTracker/libs/WildAddon-1.0-1/WildAddon-1.0.lua"]:83: in function `func'
[string "@PetTracker/libs/MutexDelay-1.0-2/MutexDelay-1.0.lua"]:36: in function <...ns/PetTracker/libs/MutexDelay-1.0/MutexDelay-1.0.lua:30>
Update: This error appears to be caused by an imcompatibility between PetTracker and Kaliel's Tracker, I opened an issue on the Curse page for Kaliel's Tracker - https://www.curseforge.com/wow/addons/kaliels-tracker/issues/696
I'm unsure which addon is at fault, perhaps both?