ebrithiljonas / fittrackee-uploader

A companion application for FitTrackee to upload your workout files
GNU Affero General Public License v3.0
14 stars 4 forks source link

uploading gpx converted from fit fails #22

Open chri2 opened 2 days ago

chri2 commented 2 days ago

After having the problem of not being able to upload a .fit (#21) taken from a Garmin Forerunner 165 I converted that fit to a .gpx using gpsbabel: gpsbabel -i garmin_fit -f 2024-11-20-09-55-53.fit -o gpx -F 2024-11-20-09-55-53.fit.gpx

fittrackee-uploader shows a map with the track as expected. Pressing the upload button I get the following error:

[21261:21302:1120/145503.812877:ERROR:nss_util.cc(357)] After loading Root Certs, loaded==false: NSS error code: -8018
Traceback (most recent call last):
  File "/home/cvogel/sport/fittrackee-upload/venv/lib/python3.11/site-packages/fittrackee_uploader/uploader.py", line 265, in upload
    sport_id = self.getSportID(self.ui.cbSportType.currentText())
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/cvogel/sport/fittrackee-upload/venv/lib/python3.11/site-packages/fittrackee_uploader/uploader.py", line 234, in getSportID
    if len(self.sports) > 0:
       ^^^^^^^^^^^^^^^^
TypeError: object of type 'NoneType' has no len()
Abgebrochen (Speicherabzug geschrieben)
chri2 commented 2 days ago

same issue for Garmin Edge 830

for both devices the upload of the gpx works when using the fittrackee website in a browser