ben-29 / workouts_page

Make your own workouts page
https://w.ben29.xyz
MIT License
144 stars 100 forks source link

Strava 部署后只能获取1年的数据 (部署后strava产生新数据后 Run Data Sync 好像不能同步到新的数据) #4

Closed Jeremy-Merle closed 2 years ago

Jeremy-Merle commented 2 years ago

当我成功部署获取到2022年的strava的数据后,手动上传了从keep导出的gpx数据到strava,之后手动运行 Run Data Sync 后 All tracks 没有增加,但是当我在本地使用docker测试的时候能获取到数据。

All tracks: 34
After filter tracks: 34
Creating poster of type github with 31 tracks and storing it in file assets/github.svg...
All tracks: 34
After filter tracks: 34
Creating poster of type grid with 14 tracks and storing it in file assets/grid.svg...
All tracks: 34
After filter tracks: 34
All tracks: 34
After filter tracks: 34
Creating poster of type github with 31 tracks and storing it in file assets/...
Cannot set locale to "zh_CN": unsupported locale setting
ben-29 commented 2 years ago

strava同步,默认会筛选在最新活动之后的时间 https://github.com/ben-29/workouts_page/blob/ca86bfa38cd797305b684a055f7819ba601820bc/scripts/strava_sync.py#L12 把以上参数改为True则会同步所有时间,你在本地运行试试

Jeremy-Merle commented 2 years ago

非常感谢,问题已经解决,这个项目给了我完成运动的成就感,再次感谢开发者!