dawarich icon indicating copy to clipboard operation
dawarich copied to clipboard

Deleted imports do not delete from stats

Open dunc1ca opened this issue 1 year ago • 3 comments

Raspberry Pi 5 Version 0.25.4

When installing from scratch, a demo import shows tracks from October 2024. After deleting this demo file, the points are gone from the points screen and the map screen as expected. However, the stats screen shows 8 km travelled in October 2024. Also, another import that was deleted also shows the distance covered for that period after deleting it.

dunc1ca avatar Apr 16 '25 07:04 dunc1ca

Same problem

TheDev42 avatar Apr 18 '25 00:04 TheDev42

Same

delta0815 avatar Apr 24 '25 12:04 delta0815

Same.

davistdaniel avatar May 04 '25 09:05 davistdaniel

Hi @Freika , I noticed this is still happening on 0.26.0. I deleted all my imports from 2024, but the 2024 stats are still present, even after clicking "Update stats".

Let me know if you need any logs

nareddyt avatar May 09 '25 11:05 nareddyt

No points in 2024 after deleting the imports Image

Yet some stats like "miles travelled" are still preserved

Image

nareddyt avatar May 09 '25 12:05 nareddyt

same

giannisj5 avatar May 17 '25 11:05 giannisj5

Done in 0.26.1. If no points found upon stats recalculation for a month, this stat will be deleted

Freika avatar May 18 '25 18:05 Freika