Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uploading gpx converted from fit fails #22

Open
chri2 opened this issue Nov 20, 2024 · 1 comment
Open

uploading gpx converted from fit fails #22

chri2 opened this issue Nov 20, 2024 · 1 comment

Comments

@chri2
Copy link

chri2 commented Nov 20, 2024

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
Copy link
Author

chri2 commented Nov 20, 2024

same issue for Garmin Edge 830

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant