This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

50-step workout limit

Hey, guys.

Did you want to make a no-repeat full body workout like I wanted? Forget it. Thanks to 50-step limit it's impossible or... Is it? Do you know a workaround? Have you tried manually editing fit files?

Garmin, last year I bought a mobile app for 3 bucks and guess what. It allows for more customisation than your software which comes with pricey wearables.

  • Thank you for the quick reply.  Here are your answers:

    1)  M365 offline version as well.  The macro runs and it does create the CSV.  The workflow breaks at the running of the .jar file from my observations because no .fit file is generated from the CSV.

    2)   java -version shows me:  java version "1.8.0_371"
    Java(TM) SE Runtime Environment (build 1.8.0_371-b11)

    3) I downloaded the test file.  I had to make one modification, and that was to "unblock" the .xlsm file in properties or else Excel will not allow the macro to be executed.  The test file gives me the same behavior as the files in the git repo, which is outlined in number 1).

    I will reboot my PC (which I didn't do after installing java and report back what happens.

    Edit:  Rebooted the PC and have the same issue. 

    Edit2:  I went ahead and installed the JDK 17 (https://www.oracle.com/java/technologies/downloads/#jdk17-windows).  I get a different error when I run java -jar FitGenerator.jar

         Error: LinkageError occurred while loading main class com.garmin.fit.csv.CSVTool
         java.lang.UnsupportedClassVersionError: com/garmin/fit/csv/CSVTool has been compiled by a more recent version of the Java       Runtime (class file version 64.0), this version of the Java Runtime only recognizes class file versions up to 61.0

    java -version
    java version "17.0.7" 2023-04-18 LTS
    Java(TM) SE Runtime Environment (build 17.0.7+8-LTS-224)
    Java HotSpot(TM) 64-Bit Server VM (build 17.0.7+8-LTS-224, mixed mode, sharing)

    Edit3:  I went ahead and installed the JDK 20 and the .fit file generated without issue.

    Resolution summary:  Having JDK 20 installed on the system is necessary. The JRE download from the Oracle/Java website doesn't matter.

  • Thx for the info ! At least, I am happy that it works for you now. But I will check why it doesn't run with the JRE only. Because it should ^^