Tigge / antfs-cli

Extracts FIT files from ANT-FS based sport watches such as Garmin Forerunner 60, 405CX, 310XT, 610 and 910XT.
MIT License
311 stars 76 forks source link

Convert to TCX exited with error code 1 (40-convert_to_tcx.py) #56

Closed christofferholmstedt closed 10 years ago

christofferholmstedt commented 11 years ago

I'm not sure if I've used this script before or not but it doesn't work today =)

python 40-convert_to_tcx.py DOWNLOAD <path_to_fit_file>

Is it meant to work like this directly from command line on already downloaded files? I get the following error message and no tcx files.

Convert to TCX exited with error code 1
Tigge commented 11 years ago

It should work from the command line on already downloaded files. It seems like the converter program failed for some reason. What happens if you run the fit to tcx program directly?

christofferholmstedt commented 11 years ago

Right, that gave an error I understand. I must have done something wrong when I installed fitparse package. I cloned dtcoopers python-fitparse project and copied it to the "site-packages" folder. Do I need to do anything else to reload the package or perhaps add it to some library variable in Ubuntu?

Traceback (most recent call last):
  File "fittotcx.py", line 31, in <module>
    from fitparse import Activity, FitParseError
ImportError: No module named fitparse
Tigge commented 11 years ago

You probably want to just copy in the fitparse folder an not the whole repo structure into the site-packages folder. I'm told the next version of python-fitparse will finally have setup.py and be available on pypi, so this should be a bit more easy in the future.

christofferholmstedt commented 11 years ago

Right, meant to say that =) it was only the fitparse directory I moved. No success with that. I will get back home in a couple of days and will give it another try to figure this one out.

Tigge commented 10 years ago

I'll close this. Feel free to reopen if it still is a problem.