David-Wobrock / tomtom2garmin

Converting TomTom Sports activity files to FIT files for Garmin Connect.
2 stars 0 forks source link

JSON2 Conversion #1

Open CuriousHal opened 5 months ago

CuriousHal commented 5 months ago

David,

Hi, thank you for creating this. Could you please assist me? I'm trying to convert my JSON2 files from my TomTom Spark 3, but the script chokes when I try to run it. Here are some screenshots.

Cheers. unnamed unnamed (1) unnamed (2) unnamed (3)

David-Wobrock commented 5 months ago

Hey @CuriousHal

Cool that you find value in this project :)

It seems you are running Python 3.8. You require a more up-to-date version, at least Python 3.10 I think :)

CuriousHal commented 5 months ago

Hallo,

So I upgraded to Python 3.11 and now it says it can't find a gpxpy module when I try to run the tomtom2garmin.py script. I installed the latest gpxpy module.

Here's another screenshot.

I've also added two tomtom files if you want to see if there is something wrong with my watch type. I changed the extension to json since github won't take json_2

Danke! unnamed

gym_2020-07-10_16-16-41.json treadmill_2021-06-01_19-27-02.json

David-Wobrock commented 5 months ago

The pip you are using is probably not the one from your local python3.11. Perhaps it's the pip that's linked to your local python2 or python3.8 installation.