Lua Error when opening the Map or doing anything with the Map
grimclaw-draven opened this issue · 4 comments
Bug description´
When doing anything like getting in the game, opening the map or switching the map, I get this error.
All Icons and stuff is still displayed but getting a thrown bug every 5 seconds kinda sucks and makes this addon currently unusable.
Message: ...ce/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:1817: attempt to perform arithmetic on a nil value
Time: Wed Nov 8 17:10:35 2023
Count: 1
Stack: ...ce/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:1817: attempt to perform arithmetic on a nil value
[string "@Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua"]:1817: in function UpdateHeight' [string "@Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua"]:1742: in function
UpdateFormatting'
[string "@Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua"]:1651: in function Update' [string "@Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua"]:1692: in function
func'
[string "@Interface/AddOns/Questie/Modules/Libs/QuestieCombatQueue.lua"]:25: in function <...e/AddOns/Questie/Modules/Libs/QuestieCombatQueue.lua:17>
Locals: self =
{UpdateAchieveTrackerCache = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:2162
Enable = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:502
Expand = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:553
IsTrackedAchievement = defined =[C]:-1
UpdateWidth = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:1758
UpdateDurabilityFrame = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:318
RemoveQuestWatch = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:2026
started = true
alreadyHooked = true
AQW_Insert = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:2071
UntrackAchieveId = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:2196
Initialize = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:75
GetNumTrackedAchievements = defined =[C]:-1
Disable = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:514
HasQuest = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:463
RemoveTrackedAchievement = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:2147
Unhook = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:1860
RemoveQuest = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:2004
UntrackQuestId = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:2050
QuestItemLooted = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:438
UpdateFormatting = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:1698
ResetVoiceOverFrame = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:364
HookBaseTracker = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:1888
GetNumQuestWatches = defined =[C]:-1
UpdateVoiceOverFrame = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:386
IsQuestWatched = defined =[C]:-1
Update = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:561
UpdateHeight = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:1801
alreadyHookedSecure = true
Collapse = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:544
TrackAchieve = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:2203
private =
}
Toggle = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:532
ResetDurabilityFrame = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:288
ResetLocation = defined @Interface/AddOns/Questie/Modules/Tracker/QuestieTracker.lua:271
}
trackerHeaderFrameHeight = 52.000025
trackerHeightByRatio = 426.666687
trackerHeightByManual = 0
trackerHeight
Screenshots
No screenshot but error is fully pasted above.
Questie & WoW version
Questie version 8.10.10, showing in WowUp as up to date.
WoW Wotlk latest version
Can you also post the output of the following commands:
/dump QuestieLoader:ImportModule("TrackerLinePool").GetFirstLine():GetTop()
/dump QuestieLoader:ImportModule("TrackerLinePool").GetCurrentLine():GetBottom()
This is also related/a duplicate of #5058