Code Monkey home page Code Monkey logo

Comments (7)

Tigge avatar Tigge commented on June 15, 2024

Hi. I think python-fitparse was recently updated to a 2.0 version. FIT-to-TCX relies on the 1.0 version. Try installing it from the v1-archive branch at https://github.com/dtcooper/python-fitparse/releases/tag/v1-archive instead and see if that will work.

from fit-to-tcx.

r-shawgo avatar r-shawgo commented on June 15, 2024

Thanks, that solved the problem!
Sadly, it did not solve my initial problem. I think Wahoo has recently changed something about they way they export .fit files because nothing processes them any longer. The output fails with "Unexpected exception while parsing (KeyError: 1)" and I think that has nothing to do with your code. Greatly appreciate the help!

from fit-to-tcx.

Tigge avatar Tigge commented on June 15, 2024

Nice to hear that it solved at least the initial problem. You could try to see if the 2.0 version of fitparse works better for you. There is an FIT to CVS converter there that you could try, and if that works it should be easy enough to update FIT-to-TCX to use the newer version (I should do that anyway). If not it might be a problem with Wahoo. I could take a look at one of the FIT files as well if you'd like (when I got time) to see if I can spot something weird in them.

from fit-to-tcx.

r-shawgo avatar r-shawgo commented on June 15, 2024

from fit-to-tcx.

r-shawgo avatar r-shawgo commented on June 15, 2024

looks like I did not attach the file. Trying again.
Sample Files from Wahoo.zip

from fit-to-tcx.

Tigge avatar Tigge commented on June 15, 2024

It seems to parse almost fine with the new fitparse version. I've created an issue in the that project -
see dtcooper/python-fitparse#35 for more information. Once that is fixed I can release a new version of FIT-to-TCX which should work with the Wahoo files.

from fit-to-tcx.

Tigge avatar Tigge commented on June 15, 2024

@r-shawgo this should be solved now and FIT-to-TCX should work on the Wahoo files from now on. Thanks.

from fit-to-tcx.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.