jonasoreland / runnerup

A open source run tracker
GNU General Public License v3.0
753 stars 275 forks source link

unable to upload missing workouts from file #1195

Closed sjacobsson closed 2 months ago

sjacobsson commented 2 months ago

I copied some workouts as .gpx and .tcx files from a backup to the RunnerUp directory that my RunnerUp app is connected to, but when I select Upload, it cannot see those workouts. It can however see other workouts that I create in the app.

I checked with ls -l in termux that the files have the exact same owner and permissions. I also tried uninstalling and reinstalling the app but the problem persists. I also tried importing the workouts from strava but had the same problem.

The app is installed via FDroid.

These are my specs: RunnerUp version 2.7.0.1 Samsung model SM-G960F Android 13, LineageOS version 20-20240902-microG-starlte

sjacobsson commented 2 months ago

For me, the problem is reproduced by

gerhardol commented 2 months ago

The activities must be in the database to be known to the app, stored in a .sqlite database. There is no way to import activities

It is possible to import workouts, by opening the .json files in the app.

sjacobsson commented 2 months ago

Oh, I see. Thanks for explaining!