Deathlog

Deathlog

2M Downloads

Issue with Titanpanel

mootkins opened this issue ยท 3 comments

commented

Bug captured with the addon Bugsack:

2x ...s/Deathlog/Widgets/HeatmapWorldMapOverlay/widget.lua:55: attempt to index field 'heatmap' (a nil value)
[string "@Deathlog/Widgets/HeatmapWorldMapOverlay/widget.lua"]:55: in function <...s/Deathlog/Widgets/HeatmapWorldMapOverlay/widget.lua:46>
[string "@Deathlog/Widgets/HeatmapWorldMapOverlay/widget.lua"]:261: in function <...s/Deathlog/Widgets/HeatmapWorldMapOverlay/widget.lua:260>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `OnMapChanged'
[string "@Blizzard_MapCanvas/Blizzard_MapCanvas.lua"]:39: in function `SetMapID'
[string "@TitanClassicLocation/TitanClassicLocation.lua"]:76: in function `TitanPanelLocationButton_OnShow'
[string "*TitanClassicLocation.xml:12_OnShow"]:1: in function <[string "*TitanClassicLocation.xml:12_OnShow"]:1>
[string "=[C]"]: in function `Show'
[string "@TitanClassic/TitanPanelClassic.lua"]:1475: in function `TitanPanel_InitPanelButtons'
[string "@TitanClassic/TitanClassicVariables.lua"]:1047: in function `TitanVariables_UseSettings'
[string "@TitanClassic/TitanPanelClassic.lua"]:400: in function <TitanClassic/TitanPanelClassic.lua:327>
[string "=[C]"]: in function `pcall'
[string "@TitanClassic/TitanPanelClassic.lua"]:467: in function `?'
[string "@TitanClassic/TitanPanelClassic.lua"]:309: in function <TitanClassic/TitanPanelClassic.lua:308>

Locals:
map_id = 1455
(for index) = 1
(for limit) = 100
(for step) = 1
i = 1
(for index) = 1
(for limit) = 100
(for step) = 1
j = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'heatmap' (a nil value)"
last_calculated_map_id = 1455
granularity = 100
heatmap_wm_overlay_frame = Frame {
 0 = <userdata>
}
WorldMapButton = Frame {
 0 = <userdata>
 TiledBackground = Texture {
 }
}
commented

Im not able to reproduce with titanpanelclassic 1.5.10.30402 and deathlog 0.1.4

commented

Did a clean install of Titan panel, a long with deathlog.

This is the new error:

1x ...s/Deathlog/Widgets/HeatmapWorldMapOverlay/widget.lua:55: attempt to index field 'heatmap' (a nil value)
[string "@Deathlog/Widgets/HeatmapWorldMapOverlay/widget.lua"]:55: in function <...s/Deathlog/Widgets/HeatmapWorldMapOverlay/widget.lua:46>
[string "@Deathlog/Widgets/HeatmapWorldMapOverlay/widget.lua"]:261: in function <...s/Deathlog/Widgets/HeatmapWorldMapOverlay/widget.lua:260>
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `OnMapChanged'
[string "@Blizzard_MapCanvas/Blizzard_MapCanvas.lua"]:39: in function `SetMapID'
[string "@TitanClassicLocation/TitanClassicLocation.lua"]:76: in function `TitanPanelLocationButton_OnShow'
[string "*TitanClassicLocation.xml:12_OnShow"]:1: in function <[string "*TitanClassicLocation.xml:12_OnShow"]:1>
[string "=[C]"]: in function `Show'
[string "@TitanClassic/TitanPanelClassic.lua"]:1475: in function `TitanPanel_InitPanelButtons'
[string "@TitanClassic/TitanClassicVariables.lua"]:1047: in function `TitanVariables_UseSettings'
[string "@TitanClassic/TitanPanelClassic.lua"]:400: in function <TitanClassic/TitanPanelClassic.lua:327>
[string "=[C]"]: in function `pcall'
[string "@TitanClassic/TitanPanelClassic.lua"]:467: in function `?'
[string "@TitanClassic/TitanPanelClassic.lua"]:309: in function <TitanClassic/TitanPanelClassic.lua:308>

Locals:
map_id = 1415
(for index) = 1
(for limit) = 100
(for step) = 1
i = 1
(for index) = 1
(for limit) = 100
(for step) = 1
j = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'heatmap' (a nil value)"
last_calculated_map_id = 1415
granularity = 100
heatmap_wm_overlay_frame = Frame {
 0 = <userdata>
}
WorldMapButton = Frame {
 0 = <userdata>
 TiledBackground = Texture {
 }
}

If unable to reproduce, what should my next steps be? I could try using deathlog without Titan panel and disable it altogether

commented

I also get the following on login when using Deathlog and Titan Panel. The Heatmap function on the world map does not work.

Message: ...s/Deathlog/Widgets/HeatmapWorldMapOverlay/widget.lua:54: attempt to index field 'heatmap' (a nil value)
Time: Mon Nov  6 20:06:50 2023
Count: 1
Stack: ...s/Deathlog/Widgets/HeatmapWorldMapOverlay/widget.lua:54: attempt to index field 'heatmap' (a nil value)
[string "=[C]"]: in function `OnMapChanged'
[string "@Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua"]:39: in function `SetMapID'
[string "@Interface/AddOns/TitanClassicLocation/TitanClassicLocation.lua"]:76: in function `TitanPanelLocationButton_OnShow'
[string "*TitanClassicLocation.xml:12_OnShow"]:1: in function <[string "*TitanClassicLocation.xml:12_OnShow"]:1>
[string "=[C]"]: in function `Show'
[string "@Interface/AddOns/TitanClassic/TitanPanelClassic.lua"]:1475: in function `TitanPanel_InitPanelButtons'
[string "@Interface/AddOns/TitanClassic/TitanClassicVariables.lua"]:1047: in function `TitanVariables_UseSettings'
[string "@Interface/AddOns/TitanClassic/TitanPanelClassic.lua"]:400: in function <Interface/AddOns/TitanClassic/TitanPanelClassic.lua:327>
[string "=[C]"]: in function `pcall'
[string "@Interface/AddOns/TitanClassic/TitanPanelClassic.lua"]:467: in function `?'
[string "@Interface/AddOns/TitanClassic/TitanPanelClassic.lua"]:309: in function <Interface/AddOns/TitanClassic/TitanPanelClassic.lua:308>

Locals: (*temporary) = WorldMapFrame {
 isUndefinedEventAllowed = true
 ShouldPanOnClick = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:624
 GetGlobalPosition = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:491
 PanTo = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:591
 AreDetailLayersLoaded = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:405
 RemovePin = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:184
 OnCanvasScaleChanged = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:535
 CalculatePinNudging = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:303
 OnCanvasSizeChanged = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:551
 HandleUserActionToggleSelf = <function> defined @Interface_Vanilla/AddOns/Blizzard_WorldMap/Blizzard_WorldMap.lua:4
 SetAreaTriggerIntersectsCallback = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:249
 ShouldZoomInstantly = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:632
 expandedMapInsetsByMapID = <table> {
 }
 pinNudgingDirty = true
 SetGlobalPinScale = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:773
 RefreshDebugAreaTriggers = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:358
 SetShouldNavigateOnClick = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:612
 NavigateToParentMap = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:722
 SetDebugAreaTriggersEnabled = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:382
 UnregisterEvents = <function> defined @Interface/SharedXML/CallbackRegistry.lua:200
 EvaluateLockReasons = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:694
 GetGlobalPinScale = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:769
 OnLoad = <function> defined @Interface_Vanilla/AddOns/Blizzard_WorldMap/Blizzard_WorldMap.lua:13
 RemoveDataProviderEvent = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:97
 GetNumActivePinsByTemplate = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:200
 SetPinTemplateType = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:173
 SetAreaTriggerEnclosedCallback = <function> defined @Interface/AddOns/Blizzard_MapCanvas/Blizzard_MapCanvas.lua:244
 Is```
 
 Deathlog release dated 10/17/2023
 Titan Panel Classic Era - 1.3.4.11404