Giter VIP home page Giter VIP logo

Comments (8)

j33433 avatar j33433 commented on August 22, 2024

Can you attach the CSV file?

from mpowertcx.

tmurk42 avatar tmurk42 commented on August 22, 2024

After posting this, I got it to work by saving the tcx file to the same USB stick that the csv file was on. I deleted the files after importing into Strava. Thanks for responding so fast. If I run into the same issue again, I will upload the csv file.

from mpowertcx.

greybirds2 avatar greybirds2 commented on August 22, 2024

I have this issue intermittently. Using version 2.02, the error was the same as reported by tmurk42:

_MPowerTCX

There was an error: Lengths of the first three arguments (x,y,w) must be equal

File "C:\Users{username}\AppData\Local\MPowerTCX\exe.win-amd64-2.7\scipy\interpolate_fitpack_impl.py", line 457, in splrep
raise TypeError('Lengths of the first three arguments (x,y,w) must '
TypeError: Lengths of the first three arguments (x,y,w) must be equal_

This error always occurred on line #457. Deleting the offending line (sometimes the next line as well) would allow the converted file to be saved.

I got the same error on line 457 again on the attached file this morning. I noticed a newer version was available so I installed version 2.04. Now I get this error:

_MPowerTCX

  • There was an error: Lengths of the first three arguments (x,y,w) must be equal

File "C:\Users\User\Anaconda2\lib\site-packages\scipy\interpolate\fitpack.py", line 289, in splrep
File "C:\Users\User\Anaconda2\lib\site-packages\scipy\interpolate_fitpack_impl.py", line 458, in splrep
TypeError: Lengths of the first three arguments (x,y,w) must be equal_

I tried saving to the same USB like mturk42 did with no change. Deleting lines 289 and 458 from the attached allowed the conversion to complete, but that is not the greatest solution. I tried converting several other files and they work without problems. I can try to locate some of the files that failed previously if that helps.

Thanks for publishing this utility, it has really helped my fitness program!!!!
MPower33.zip

from mpowertcx.

j33433 avatar j33433 commented on August 22, 2024

Try this version https://github.com/j33433/MPowerTCX/releases/tag/v2.0.5

from mpowertcx.

j33433 avatar j33433 commented on August 22, 2024

By the way, what is your use case? What tools do you use Strava, Golden Cheetah, etc?

from mpowertcx.

tmurk42 avatar tmurk42 commented on August 22, 2024

from mpowertcx.

greybirds2 avatar greybirds2 commented on August 22, 2024

So far, so good with 2.05 - I tested with several files that had previously thrown errors and all converted successfully

I use Golden Cheetah primarily, but also light use of Strava for certain club rides. I have also imported .tcx files generated with Mpower TCX to the imPower Platform with no trouble. imPower and GC don't pull in the calories - Strava does - but that is not a concern.

Thanks so much for your fast response and for this utility!

from mpowertcx.

j33433 avatar j33433 commented on August 22, 2024

Glad to hear it works well.

from mpowertcx.

Related Issues (11)

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.