dawarich icon indicating copy to clipboard operation
dawarich copied to clipboard

Month stats map fails to load

Open Kiriyashiki opened this issue 3 months ago • 4 comments

OS & Hardware Ubuntu 24.04

Version 0.32.0

Describe the bug The map in the monthly stats pages never loads anything and stays at the default location of Berlin. This does not affect pages created with the 'Share' option, and occurs for any selected month.

To Reproduce Steps to reproduce the behavior:

  1. Open stats page, select a year
  2. Open the page for any month
  3. The map fails to load

Expected behavior The map should be showing data

Screenshots

Image

Logs 「Browser Console」

Fetching points from 2025-08-01T00:00:00 to 2025-08-31T23:59:59 stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:86:15
Received 1000 points from API stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:103:15
Processing 1000 points for 8/2025 stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:122:13
Error loading month data: Error: Invalid LatLng object: (NaN, NaN)
    LatLng https://<redacted domain>/assets/leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5
    toLatLng https://<redacted domain>/assets/leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5
    initialize https://<redacted domain>/assets/leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5
    NewClass https://<redacted domain>/assets/leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5
    circleMarker https://<redacted domain>/assets/leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5
    markers https://<redacted domain>/assets/controllers/stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:132
    processPointsData https://<redacted domain>/assets/controllers/stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:128
    loadMonthData https://<redacted domain>/assets/controllers/stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:106
stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:113:15
Failed to load location data stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:238:13

Uncaught DOMException: Index or size is negative or greater than the allowed amount
    draw https://<redacted domain>/assets/leaflet.heat-298823a427f8e33c665a42b09c85e6c08e1bf5496882c48e24a1a7bec587b045.js:1
    _redraw https://<redacted domain>/assets/leaflet.heat-298823a427f8e33c665a42b09c85e6c08e1bf5496882c48e24a1a7bec587b045.js:1
    _reset https://<redacted domain>/assets/leaflet.heat-298823a427f8e33c665a42b09c85e6c08e1bf5496882c48e24a1a7bec587b045.js:1
    fire https://<redacted domain>/assets/leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5
    setTimeout handler*invalidateSize https://<redacted domain>/assets/leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5
    <anonymous> https://<redacted domain>/assets/leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5
    requestAnimFrame https://<redacted domain>/assets/leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5
    _onResize https://<redacted domain>/assets/leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5
    handler https://<redacted domain>/assets/leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5
leaflet.heat-298823a427f8e33c665a42b09c85e6c08e1bf5496882c48e24a1a7bec587b045.js:1

wrong event specified: touchleave leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5:21306
StatPage controller disconnected stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:31:13
StatPage controller connected stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:11:13
Loading data for 6/2025 with API key: present stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:19:13
Sharing modal controller connected sharing_modal_controller-26b7e949c9b7734d865d7e857035bc7f093a6fbbdf18998cb8f448b44a000d71.js:8:13
wrong event specified: touchleave leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5:21102
Fetching points from 2025-06-01T00:00:00 to 2025-06-30T23:59:59 stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:86:15
Received 1000 points from API stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:103:15
Processing 1000 points for 6/2025 stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:122:13
Error loading month data: Error: Invalid LatLng object: (NaN, NaN)
    LatLng leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5
    toLatLng leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5
    initialize leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5
    NewClass leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5
    circleMarker leaflet-df8cad8209f4c881748f4a80602b1db6b35fd939bdeba37ddbd0402f3782648b.js:5
    markers stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:132
    processPointsData stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:128
    loadMonthData stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:106
    initializeMap stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:68
    connect stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:23
    setTimeout handler*connect stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:22
    connect stimulus.min-dd364f16ec9504dfb72672295637a1c8838773b01c0b441bd41008124c407894.js:4
    connectContextForScope stimulus.min-dd364f16ec9504dfb72672295637a1c8838773b01c0b441bd41008124c407894.js:4
    scopeConnected stimulus.min-dd364f16ec9504dfb72672295637a1c8838773b01c0b441bd41008124c407894.js:4
    elementMatchedValue stimulus.min-dd364f16ec9504dfb72672295637a1c8838773b01c0b441bd41008124c407894.js:4
    tokenMatched stimulus.min-dd364f16ec9504dfb72672295637a1c8838773b01c0b441bd41008124c407894.js:4
    tokenMatched stimulus.min-dd364f16ec9504dfb72672295637a1c8838773b01c0b441bd41008124c407894.js:4
    tokensMatched stimulus.min-dd364f16ec9504dfb72672295637a1c8838773b01c0b441bd41008124c407894.js:4
    tokensMatched stimulus.min-dd364f16ec9504dfb72672295637a1c8838773b01c0b441bd41008124c407894.js:4
    elementMatchedAttribute stimulus.min-dd364f16ec9504dfb72672295637a1c8838773b01c0b441bd41008124c407894.js:4
    elementMatched stimulus.min-dd364f16ec9504dfb72672295637a1c8838773b01c0b441bd41008124c407894.js:4
    addElement stimulus.min-dd364f16ec9504dfb72672295637a1c8838773b01c0b441bd41008124c407894.js:4
    processTree stimulus.min-dd364f16ec9504dfb72672295637a1c8838773b01c0b441bd41008124c407894.js:4
    processAddedNodes stimulus.min-dd364f16ec9504dfb72672295637a1c8838773b01c0b441bd41008124c407894.js:4
    processMutation stimulus.min-dd364f16ec9504dfb72672295637a1c8838773b01c0b441bd41008124c407894.js:4
    processMutations stimulus.min-dd364f16ec9504dfb72672295637a1c8838773b01c0b441bd41008124c407894.js:4
    mutationObserver stimulus.min-dd364f16ec9504dfb72672295637a1c8838773b01c0b441bd41008124c407894.js:4
    render turbo.es2017-esm.js:4161
    render turbo.es2017-esm.js:4159
    loadResponse turbo.es2017-esm.js:3955
    visitRequestCompleted turbo.es2017-esm.js:4218
    recordResponse turbo.es2017-esm.js:3940
    requestSucceededWithResponse turbo.es2017-esm.js:4063
    receive turbo.es2017-esm.js:924
    perform turbo.es2017-esm.js:901
    issueRequest turbo.es2017-esm.js:3918
    visitStarted turbo.es2017-esm.js:4204
    start turbo.es2017-esm.js:3868
    startVisit turbo.es2017-esm.js:4749
    visitProposedToLocation turbo.es2017-esm.js:4195
    visitProposedToLocation turbo.es2017-esm.js:5917
    proposeVisit turbo.es2017-esm.js:4739
    visit turbo.es2017-esm.js:5756
    followedLinkToLocation turbo.es2017-esm.js:5906
    clickBubbled turbo.es2017-esm.js:1703
    clickCaptured turbo.es2017-esm.js:1692
stat_page_controller-dd917908bd6f2f88a6c7fcf7b9a28a3691f98bbba34f4b62bb5bda5653a7f26e.js:113:15
Failed to load location data

Kiriyashiki avatar Sep 13 '25 19:09 Kiriyashiki

I'm having the same issue.

D3r3k23 avatar Sep 13 '25 21:09 D3r3k23

I am having the same issue +1

Th3K1ngP1n avatar Sep 14 '25 08:09 Th3K1ngP1n

Same for me.

jacobbehrnes avatar Sep 18 '25 19:09 jacobbehrnes

I'm having the same issue.

douxiaoni avatar Sep 25 '25 01:09 douxiaoni